Open RoadRunnr opened 1 year ago
HI @RoadRunnr, I think I have (involuntarily) fixed this on this PR: https://github.com/open-telemetry/opentelemetry-erlang/pull/628, could you try with that branch?
@RoadRunnr just added a specific test on that PR (https://github.com/open-telemetry/opentelemetry-erlang/pull/628/commits/34e827175723e693dfdec2788d367fe0ba070baa) and I confirm it will fix your bug
great! will get that merged in
@albertored confirmed, works as expected with that change :+1:
According to https://opentelemetry.io/docs/specs/otel/metrics/sdk/#aggregation is should be possible to add a View to an Instrument and define how that View translates that Instrument to an Histogram. In particular, the defined Boundaries in the View should be used instead of the default histogram boundaries.
That does not seem to work at all.
If I understand the code correctly, then instrument created with kind
histogram
will not honor the view settings at all.This has also been discussed to other languages, e.g.:
If I do this:
then the the created histogram should have the boundaries defined by the view, but instead it will have the ?DEFAULT_BOUNDARIES.