datasource_specs.ts
3.46 KB
-
fix(prometheus): use time independent API to list metrics and labels names · 0a6a3f9a
Using the "/api/v1/query" endpoint to extract information about metrics and labels are limited to the metrics available at the time parameter (that is set to current time), this can lead to labels not showing because they have no value in the current time even when the dashboard is displaying historic data. On the other hand "/api/v1/series" returns results including every metric and label known to Prometheus, independent of time and value.
Arthur D'Andréa Alemar committed