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

Metrics: Document customization options #152

Open
pdudits opened this issue Dec 13, 2023 · 4 comments
Open

Metrics: Document customization options #152

pdudits opened this issue Dec 13, 2023 · 4 comments
Milestone

Comments

@pdudits
Copy link
Contributor

pdudits commented Dec 13, 2023

OpenTelemetry SDK offers very strong tool in form of Aggregation views and customizations as documented e. g. in https://opentelemetry.io/docs/instrumentation/java/manual/#views.

Current spec gives access to this configuration, however in quite roundabout way of registering an AutoConfigurationCustomizerProvider, and in it invoking configurationCustomizer.addMeterProviderCustomizer((builder, config) -> builder.registerView(...)).

An example of achieving that as well as some motivation (adding or removing dimensions of measurement) should be provided in the spec.

@Emily-Jiang Emily-Jiang added this to the 2.0 milestone Feb 20, 2024
@Emily-Jiang
Copy link
Member

Do this spec need to clarify this or a blog should be published to share how to customize metrics? @pdudits

@pdudits
Copy link
Contributor Author

pdudits commented Jun 4, 2024

A motivation / use case section would be fine, definetely not a normative part of spec.

@Emily-Jiang
Copy link
Member

A motivation / use case section would be fine, definetely not a normative part of spec.

@pdudits would you like to do a PR on this?

@pdudits
Copy link
Contributor Author

pdudits commented Jun 4, 2024

I'll try, I need to learn about a bit more first though 😁

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