OpenAPI: Add support for stats#17975
Merged
roidelapluie merged 1 commit intoprometheus:mainfrom Feb 5, 2026
Merged
Conversation
An oversight on the OpenAPI specification; which did not include stats. Signed-off-by: Julien Pivotto <[email protected]>
krajorama
approved these changes
Feb 5, 2026
Member
krajorama
left a comment
There was a problem hiding this comment.
LGTM
Suggest follow-up to include as example so visible without looking at the schema.
songy23
pushed a commit
to open-telemetry/opentelemetry-collector-contrib
that referenced
this pull request
Mar 12, 2026
#### Description Updates Prometheus dependencies to `v0.310.0`. The main upstream changes were: - `scrape.NewManager` now requires the new constructor shape with `appendable` and `appendableV2`, and rejects calls where both are `nil` or both are set. - Upstream PR: [prometheus/prometheus#17872](prometheus/prometheus#17872) - `web/api/v1.NewAPI` gained an `AppendableV2` argument and new trailing OpenAPI-related options. - Upstream PRs: [prometheus/prometheus#17825](prometheus/prometheus#17825), [prometheus/prometheus#17975](prometheus/prometheus#17975) In this PR, I'm keeping the appenderv1 in place; the adoption of appenderv2 should be done in as a separate task --------- Signed-off-by: Arthur Silva Sens <[email protected]>
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.
An oversight on the OpenAPI specification; which did not include stats.
Which issue(s) does the PR fix:
Does this PR introduce a user-facing change?