-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
allow empty metric units in mdatagen #27089
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
AIUI UCUM defines |
According to this comment #10553 (comment) The Enum type metric should have empty units
cc @bertysentry The discussion below it also has more context. |
Let's continue the discussion on #10553 first, I am not convinced that we can't (or shouldn't) use |
Agree, converted PR to draft. Thanks for looking into it |
From conversation on #10553, it looks like we'll go ahead with the no unit approach in this scenario. Removing the |
PR is open if anyone wants to help review #27090 :) |
**Description:** <Describe what has changed.> Allows setting empty metric units in mdatagen. Example of using it https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/27091/files **Tracking Issues:** #27089 #10553
**Description:** <Describe what has changed.> Allows setting empty metric units in mdatagen. Example of using it https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/27091/files **Tracking Issues:** open-telemetry#27089 open-telemetry#10553
Component(s)
cmd/mdatagen
Is your feature request related to a problem? Please describe.
Some metrics don't need units. See #10553 (comment)
At the moment we don't allow empty metric units:
Describe the solution you'd like
Passing flag, or disabling validation. Both seem vialble options.
See discussion here: #10553 (comment)
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: