-
Notifications
You must be signed in to change notification settings - Fork 30
✨ Add exemplars to prometheus metrics #7644
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
Merged
bisgaard-itis
merged 37 commits into
ITISFoundation:master
from
bisgaard-itis:7635-add-exemplars-to-prometheus-metrics
May 19, 2025
Merged
Changes from 16 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
2f441e3
factor out metrics creation
bisgaard-itis 4b3dc93
factor out metrics into a separate dataclass
bisgaard-itis efb6559
factor out recording of metrics
bisgaard-itis a2a50d9
move comment to metrics file
bisgaard-itis 29dbf31
add one histogram with lots of buckets and one with lots of labels
bisgaard-itis 9751d8f
add tracing exemplars to metrics
bisgaard-itis 8d675ca
dont add labels to histogram with lots of buckets
bisgaard-itis 38ea330
add appname as label
bisgaard-itis c79a878
use new prometheus middleware in fastapi
bisgaard-itis 7d435f1
prometheus_instrumentation.py -> monitoring.py
bisgaard-itis bd785d9
update imports prometheus_instrumentation -> monitoring
bisgaard-itis 91ad16e
avoid calls to labels when no labels available
bisgaard-itis a743225
dont include /metrics in OAS
bisgaard-itis a883e6d
handle exceptions in fastapi prometheus middleware
bisgaard-itis d1b9e18
remove comment
bisgaard-itis 0d9584f
@GitHK pr feedback
bisgaard-itis 6481c9a
properly expose metrics so exemplars are available
bisgaard-itis 89ae9e8
@sanderegg clean up monitoring middlewares
bisgaard-itis 46f1ace
add test for fastapi prometheus middleware
bisgaard-itis de87f25
Merge branch '7635-add-exemplars-to-prometheus-metrics' of github.com…
bisgaard-itis 7e100e4
ensure prometheus metrics are exposed in correct format
bisgaard-itis 43092e2
fix comment
bisgaard-itis 5344eb0
fix order of middlewares
bisgaard-itis 1202325
append aiohttp prometheus middleware
bisgaard-itis 6b9b592
add tests for aiohttp
bisgaard-itis 3ad843a
remove fastapi instrumentor from .in file
bisgaard-itis 65b8ecc
@sanderegg remove fastapi prometheus tool
bisgaard-itis 97d0844
Merge branch 'master' into 7635-add-exemplars-to-prometheus-metrics
bisgaard-itis a13c9ae
fix pylint tests
bisgaard-itis 04b947b
constrain on base requirements in servicelib
bisgaard-itis 98244c4
fix tests
bisgaard-itis 7ed533a
Merge branch 'master' into 7635-add-exemplars-to-prometheus-metrics
bisgaard-itis ce7fc72
@pcrespov remove comment
bisgaard-itis f346ab2
make pylint happy
bisgaard-itis 5030332
fix tests
bisgaard-itis 2df6b54
Merge branch 'master' into 7635-add-exemplars-to-prometheus-metrics
bisgaard-itis ef82189
raise from to make pylint happy
bisgaard-itis 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
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.