Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
prometheus: Ignore unknown instrument units (open-telemetry#1348)
## Motivation The [metric unit semantic conventions] suggest that integer counts should use annotations (e.g. `{packet}`), which breaks the current unit appending logic as they are not properly escaped. [metric unit semantic conventions]: https:/open-telemetry/semantic-conventions/blob/v1.23.0/docs/general/metrics.md#instrument-units ## Solution Ignore unknown units (including annotations) as other language implementations currently do. This change also removes the `$` mapping as it is not UCUM.
- Loading branch information