Skip to content
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

Add support for exemplars in Histograms and Counters #7

Open
atheriel opened this issue Sep 1, 2020 · 0 comments
Open

Add support for exemplars in Histograms and Counters #7

atheriel opened this issue Sep 1, 2020 · 0 comments

Comments

@atheriel
Copy link
Owner

atheriel commented Sep 1, 2020

Exemplars are an optional feature of the OpenMetrics standard that attaches metadata about an individual sample to a histogram bucket, including its value, optional labels, and an optional timestamp:

foo_bucket{le="0.1"} 8 # {} 0.054
foo_bucket{le="1"} 10 # {id="9856e"} 0.67
foo_bucket{le="10"} 17 # {id="12fa8"} 9.8 1520879607.789

Prometheus itself currently parses them but ignores their contents. Update: Prometheus now supports exemplars, as does Grafana.

Exemplar labels & their values should be capped at 128 characters, according to the Python client.

@atheriel atheriel changed the title Add support for exemplars in Histograms Add support for exemplars in Histograms and Counters Apr 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant