grafana / grafana

The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
https://grafana.com
GNU Affero General Public License v3.0
60.72k stars 11.61k forks source link

[v11.0.x] datatrails: only fetch metrics metadata when using the language provider, avoid redundant fetch of metric names #87340

Closed grafana-delivery-bot[bot] closed 2 weeks ago

grafana-delivery-bot[bot] commented 2 weeks ago

Backport f93c330b66b0d3ab75c65680b745d7dd93efe51d from #87067


What is this feature?

Previously, we called start on the language provider which also fetched an additional list of metric names. This is redundant, since we already have a mechanism for that fetch. Here, we only load the metadata, by using loadMetricsMetadata instead.

Special notes for your reviewer:

Please check that: