This repository was archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Add experimental configuration option to allow disabling legacy Prometheus metric names. #13540
Merged
reivilibre
merged 16 commits into
develop
from
rei/experimental_disable_legacy_metric_names
Aug 24, 2022
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
eb61598
Allow disabling legacy metrics should you wish
reivilibre cd51959
Newsfile
reivilibre 9a1815f
Disable _created metrics in prometheus-client
reivilibre e0e5b0c
Extract all references to metric.name (clean-up)
reivilibre 3abf3b6
Migrate away from colon-divided names, but translate them for the leg…
reivilibre a0b7a08
Add a pragmatic but sad way of disabling _created metrics
reivilibre 47d4b9e
Merge branch 'develop' into rei/experimental_disable_legacy_metric_names
reivilibre c8434ce
Don't enforce the test for the hack on old prometheus-client versions…
reivilibre df0326b
Add some config documentation, making it clear that the config option…
reivilibre 08af224
Update docs/usage/configuration/config_documentation.md
reivilibre 490a5eb
Rename _exposition to _legacy_exposition for clarity
reivilibre 97b10d7
Add remark explaining why the name changes are unconditionally applied
reivilibre 938b34f
Add remark to `generate_latest` noting that it is obsolete.
reivilibre a317a43
Clean up test
reivilibre 429de00
Move documentation for the new option to the code
reivilibre 0c8b914
Antilint
reivilibre 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Add experimental configuration option to allow disabling legacy Prometheus metric names. | ||
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
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
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.