Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add scrape_protocols to prometheus.scrape Components for Native Histograms #932

Conversation

SeamusGrafana
Copy link
Contributor

@SeamusGrafana SeamusGrafana commented Nov 20, 2024

This is an initial attempt to add support for scraping Native Histograms with the PrometheusProto (Protobuf) Scrape Protocol.

See https://grafana.com/docs/mimir/latest/send/native-histograms/#scrape-and-send-native-histograms-with-grafana-alloy for more context and here for the Arguments in Alloy.

This will allow Native Histograms to be correctly scraped and then sent to the Metrics Backend when Enabled.

Closes #881

In a future update the ability to set the Scrape Protocols via a Value may be needed, but this should work for now.

@petewall petewall merged commit 676f935 into grafana:main Nov 22, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Set Scrape Protocols when Native Histograms Scraping is Enabled
3 participants