-
Notifications
You must be signed in to change notification settings - Fork 361
feat: implement gauge and counter support for OpenMetrics 2.0 #894
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
Open
dashpole
wants to merge
16
commits into
prometheus:main
Choose a base branch
from
dashpole:om2_1
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
98c7068
feat: implement gauge and counter support for OpenMetrics 2.0
dashpole d2760c9
address code review comments
dashpole 45f57e0
Add NegotiateIncluding and refactor negotiation functions
dashpole a64d75c
Address review feedback for OpenMetrics 2.0 exemplars and counter sta…
dashpole 239fa96
Add strict validation to OpenMetrics 2.0 encoder to reject invalid input
dashpole 13d8da9
Add writeProtoTimestamp helper to avoid float64 precision loss
dashpole caf051d
Use writeProtoTimestamp for created timestamp to avoid float64 precis…
dashpole 0f5e052
Use writeProtoTimestamp for exemplar timestamp to avoid float64 preci…
dashpole 1aeabde
Update subsecond created timestamp test output to full nanosecond pre…
dashpole 7876752
Apply suggestions from code review
dashpole 2452eff
expfmt: add NegotiateAccept and deprecate older negotiate functions
dashpole d5e4d54
expfmt: unexport fmtOpenMetrics_2_0_0
dashpole f8cae9a
expfmt: assert written bytes count in OpenMetrics 2.0 tests
dashpole 2c74001
expfmt: add test for counter invalid created timestamp
dashpole d9f239f
expfmt: add test for exemplar invalid timestamp
dashpole 529cf5d
expfmt: assert expected error message in TestCreateOpenMetrics20_Errors
dashpole File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.