Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/loki/api/v1/series API not respecting time range #558

Open
qqu0127 opened this issue Aug 30, 2024 · 0 comments
Open

/loki/api/v1/series API not respecting time range #558

qqu0127 opened this issue Aug 30, 2024 · 0 comments

Comments

@qqu0127
Copy link

qqu0127 commented Aug 30, 2024

Should be the cause for #554

My indirect observation:
From Grafana UI, adding native loki and qryn loki. On the explore page, specify the first label key and value, create one more label tab, click the second label drop down. Notice there is a

GET http://HOST_IP/api/datasources/uid/SOURCE_ID/resources/series?match[]={namespace="MY_NAMESPACE"}&start=1724995631446000000&end=1724997431447000000

Record the response values and length.
Modify the time range, make another query, compare it side by side with native Grafana loki. From native loki, the 2 series API call returns different results from different time range, while qryn loki returns the same.

Correct me if I'm wrong, it seems qryn doesn't fully respect the API protocol and shows different behavior from native loki. It seems to be loading all label / fingerprints from all time. Please let me know if this is intended. Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant