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

Make EnableProtobufNegotiation configurable to enable native histogram scraping in static mode #7057

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Reimirno
Copy link

@Reimirno Reimirno commented Oct 17, 2024

PR Description

Add EnableProtobufNegotiation to static config so as to enable native histogram scraping in static mode.

A similar issue for flow mode has been raised in #5136 and fixed in #5335. This PR fixes it for static mode. NOTE - For static mode, scrape_classic_histograms is already supported so no action needed in this PR.

Which issue(s) this PR fixes

Fixes #7056

Notes to the Reviewer

PR Checklist

  • CHANGELOG.md updated
  • Documentation added
  • Tests updated
  • Config converters updated

@CLAassistant
Copy link

CLAassistant commented Oct 17, 2024

CLA assistant check
All committers have signed the CLA.

Signed-off-by: Yu Long <[email protected]>
@Reimirno
Copy link
Author

Reimirno commented Nov 7, 2024

Can I get some eyes on this PR?

cc: @bcotton @rafaelroquetto since git blame shows your names :)

@bcotton
Copy link

bcotton commented Nov 8, 2024

Perhaps the wrong Bob?

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.

Prometheus native histograms are NOT scraped in static mode
4 participants