Closed
Description
Is your feature request related to a problem?
- We are offering in our library a meter previously configured so the users can create the metrics they wish, but we face the problem that the user is not going to be able to set boundaries for their histogram metrics as the only way to define boundaries is in the moment of the meter provider creation as we can see in this example
Describe the solution you'd like
- An option to set boundaries when creating an histogram metrics as it is supported in the go sdk
Describe alternatives you've considered
- The only workaround we see right now is pre defining a bunch of views
Metadata
Metadata
Assignees
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
aabmass commentedon Dec 14, 2023
Thanks for opening this. This has recently been added to the spec as the "Advisory API": https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/api.md#instrument-advisory-parameter-explicitbucketboundaries
So we just need someone to implement this :)
lsfischer commentedon Aug 21, 2024
@aabmass
I've opened a feature request about this topic here as well, if there's consensus around it I can try proposing an implementation 😁
emdneto commentedon Dec 2, 2024
open-telemetry/opentelemetry-python-contrib#3011 will benefit from this
emdneto commentedon Jan 29, 2025
Closing by #4361