beam-telemetry / telemetry_metrics

Collect and aggregate Telemetry events over time
https://hexdocs.pm/telemetry_metrics
Apache License 2.0
207 stars 33 forks source link

Drop the required `:buckets` option for distribution metric #72

Closed arkgil closed 4 years ago

arkgil commented 4 years ago

In principle the buckets for the distribution need to be defined, however, they do not always need to be known up front by the reporter. As such it doesn't make sense to require them for every instance of the distribution metric.

Reporters can require :buckets configuration via reporter options if necessary.

Note that this is a breaking change and needs updates on the reporters side.

Closes #60