You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using grafana label_values() which looks to call the Loki series API has caused some people to realize that results are missing and the behavior changes inconsistently, sometimes changing the timerange returns results, sometimes it doesn't.
To Reproduce
I don't have great info here but based on reports and my attempts to verify the issue I can confirm I saw the issue.
I was able to make logcli requests against old data from the reported timerange and confirmed that labels where not returned which should have been via the Series API
A little bit more playing I did seemed like any completely in the past time range struggled to return results, however the traces and execution time of the query often made it seem like the work was done to get the result yet logcli got an empty result set.
When the timerange included now() as the through time, I was getting results.
It's often seen in a dashboard which uses a variable that reloads when the timerange changes, and then zoom in on a graph and see dropdown values change or disappear.
The text was updated successfully, but these errors were encountered:
Before they would try to match the injected label but this label is only used by the store
and not returned in the chunks causing all chunks to be filtered out.
Fixesgrafana#4547
Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>
Before they would try to match the injected label but this label is only used by the store
and not returned in the chunks causing all chunks to be filtered out.
Fixes#4547
Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>
Describe the bug
Using grafana
label_values()
which looks to call the Lokiseries
API has caused some people to realize that results are missing and the behavior changes inconsistently, sometimes changing the timerange returns results, sometimes it doesn't.To Reproduce
I don't have great info here but based on reports and my attempts to verify the issue I can confirm I saw the issue.
I was able to make logcli requests against old data from the reported timerange and confirmed that labels where not returned which should have been via the Series API
A little bit more playing I did seemed like any completely in the past time range struggled to return results, however the traces and execution time of the query often made it seem like the work was done to get the result yet logcli got an empty result set.
When the timerange included now() as the
through
time, I was getting results.It's often seen in a dashboard which uses a variable that reloads when the timerange changes, and then zoom in on a graph and see dropdown values change or disappear.
The text was updated successfully, but these errors were encountered: