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
61.15k stars 11.68k forks source link

Datasources: Enable native histograms for datasource response size metric #87962

Closed marefr closed 1 month ago

marefr commented 1 month ago

What is this feature?

Enables native histogram for the grafana_datasource_response_size_bytes metric.

If Prometheus feature flag native-histograms

Why do we need this feature?

To be able to gather more valuable information about maximum/average response sizes. The current buckets only tracks up to 1MB and is to limited to understand what distribution goes between 1MB and infinity.

Who is this feature for?

Operators of Grafana.

Which issue(s) does this PR fix?: Ref #35796

Special notes for your reviewer:

Please check that:

marefr commented 1 month ago

/deploy-to-hg

ephemeral-instances-bot[bot] commented 1 month ago
ephemeral-instances-bot[bot] commented 1 month ago
marefr commented 1 month ago

Seems to work as expected in ephemeral instance scraping both native and classic histogram 🎉