Exemplars: won't visualize unless timestamps are second-level precision #73586
Labels
datasource/Prometheus
needs investigation
for unconfirmed bugs. use type/bug for confirmed bugs, even if they "need" more investigating
prio/low
It's a good idea, but not scheduled for any release
triage/needs-confirmation
used for OSS triage rotation - reported issue needs to be reproduced
What happened?
When Grafana calls /query_exemplars API to retrieve exemplars and visualize in a panel, the data points will only be visualized if the timestamps are second-level precision (10 digits to the left of the decimal point). When timestamps are returned in millisecond-level precision or nanosecond-level precision (13 or 16 digits to the left of the decimal), Grafana doesn't visualize. Bug is that Grafana should be able plot / interpret exemplars with any unix timestamp regardless of precision-level as long as the timestamp is within the query range.
WORKS:
DOESN'T WORK:
What did you expect to happen?
Exemplars to be plotted even with nanosecond unix timestamps
Did this work before?
I don't think so, but I haven't tried with earlier versions.
How do we reproduce it?
Is the bug inside a dashboard panel?
No response
Environment (with versions)?
Grafana: Grafana v9.5.6
OS: Windows
Browser: Edge
Grafana platform?
A downloaded binary
Datasource(s)?
No response
The text was updated successfully, but these errors were encountered: