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

Histogram Metrics: Add some default boundaries or algorithms to Histogram #280

Closed
gavindoudou opened this issue Mar 18, 2021 · 1 comment

Comments

@gavindoudou
Copy link

PR #272 creates a oneof for histogram buckets, I wonder:

  1. Do we have a plan to implement some default boundaries for receivers? It would be convenient for exporters if we have some standards instead of letting developers to set themselves. Maybe we could add one option to make it compatibility with Prometheus:
    DefBuckets = []float64{.005, .01, .025, .05, .1, .25, .5, 1, 2.5, 5, 10}
  2. Do we have a plan to add sketch options to the histogram? As discussed here: Metrics Histogram instrument default: any histogram sketch opentelemetry-specification#982, fixed boundary is the solution now. I think we still need the sketch options to have precise histogram.
@yzhuge
Copy link
Contributor

yzhuge commented Mar 19, 2021

See open-telemetry/oteps#149

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

2 participants