fix(prometheus): use time independent API to list metrics and labels names
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.
Showing
Please
register
or
sign in
to comment