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

Need example of how to build a histogram with exponential bucket boundaries #319

Closed
breedx-splk opened this issue Jan 29, 2024 · 1 comment · Fixed by #396
Closed

Need example of how to build a histogram with exponential bucket boundaries #319

breedx-splk opened this issue Jan 29, 2024 · 1 comment · Fixed by #396
Labels
help wanted Extra attention is needed

Comments

@breedx-splk
Copy link
Contributor

This came up in slack. There are currently no examples here of how to create a histogram with exponential bucket boundaries. A user reading the example for Histogram today might believe that it's simply missing from the implementation.

As a result, I think it probably makes sense to add an example for exponential buckets to the existing example. That way, it's pretty easily findable (just like the custom bucket example is findable).

@breedx-splk breedx-splk added the help wanted Extra attention is needed label Jan 29, 2024
@jaydeluca
Copy link
Member

I took a stab at this (#396 )

I assume the approach I took will be a more useful example than just demonstrating the use of the system property/env var otel.exporter.otlp.metrics.default.histogram.aggregation and OTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATION, to enable it, but let me know if you had something else in mind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants