Skip to content

Add support for adding exemplars? #26

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

Closed
emschwartz opened this issue Feb 2, 2023 · 1 comment · Fixed by #100
Closed

Add support for adding exemplars? #26

emschwartz opened this issue Feb 2, 2023 · 1 comment · Fixed by #100
Labels
enhancement New feature or request question Further information is requested

Comments

@emschwartz
Copy link
Contributor

Some metrics libraries, such as prometheus-client, support adding OpenMetrics exemplars to counters and histograms. If people are interested in such a feature, we could investigate adding support to the autometrics API for attaching dynamic function parameters as exemplars.

Please 👍 if you would be interested in this.

Suggested by SpudnikV on Reddit.

@emschwartz emschwartz added enhancement New feature or request question Further information is requested labels Feb 2, 2023
@emschwartz
Copy link
Contributor Author

If we add support for prometheus-client (#25), we might want to have another optional feature to use the tracing crate to automatically grab fields like a trace_id or user_id and attach those fields as properties of the exemplars.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant