[9.1](backport #45667) Bump prometheus/prometheus to 0.305.0#45955
Merged
khushijain21 merged 2 commits into9.1from Aug 13, 2025
Merged
[9.1](backport #45667) Bump prometheus/prometheus to 0.305.0#45955khushijain21 merged 2 commits into9.1from
khushijain21 merged 2 commits into9.1from
Conversation
* Bump prometheus/prometheus to 0.305.0 This resolves a breaking change to the textparser constructor and some deprecations. Because the internal represenation of labels changed, we also needed to update some loops. * Update documentation * make update (cherry picked from commit d243194) # Conflicts: # go.mod
Contributor
Author
|
Cherry-pick of d243194 has failed: To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally |
Contributor
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
Contributor
|
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
Contributor
🔍 Preview links for changed docs |
khushijain21
approved these changes
Aug 13, 2025
Contributor
|
/test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed commit message
Bump prometheus/prometheus to 0.305.0
This resolves a breaking change to the textparser constructor and some deprecations. Because the internal representation of labels changed, we also needed to update some loops. The changes were caused by the following upstream change: prometheus/prometheus#16228.
This is update blocks the update to Otel 0.130.0 in agent. This is the version of the prometheus library used by the prometheus receiver. When importing both beats and that receiver, we get a conflict. CC @andrzej-stencel
Checklist
[ ] I have made corresponding changes to the documentation[ ] I have made corresponding change to the default configuration files[ ] I have added tests that prove my fix is effective or that my feature works[ ] I have added an entry inCHANGELOG.next.asciidocorCHANGELOG-developer.next.asciidoc.Related issues
This is an automatic backport of pull request #45667 done by [Mergify](https://mergify.com).