-
Notifications
You must be signed in to change notification settings - Fork 801
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
Support exemplars for single process mode #669
Conversation
c47b2c8
to
e6e5c2d
Compare
26dcc3b
to
1bd82fb
Compare
Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
Hi @csmarchbanks @brian-brazil 👋🏽 Thx |
Hi @yacir, I am testing this out with some teammates soon internally. Unless some concerns come up I plan to merge and release this soon afterward. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, I've given this a good test, works fine, output as expected. Code clean too. I'm happy to approve
@csmarchbanks @gerboland |
OpenMetrics does not allow gauges to have exemplars so they are not supported. It looks like custom collectors only have partial support right now, exemplars can only be specified for histograms. It would be good to add support for Counters and GaugeHistograms for custom collectors as well. Would you be willing to open an issue (or PR if you want) for support in custom collectors? |
This PR adds support for exemplars for counters and histograms when instrumenting your code.