opentelemetry-rust
opentelemetry-rust copied to clipboard
[Bug] Metric Views allow bypassing validations.
Views can be used to alter name, unit, aggregation etc. However, the validations are currently applied to the values provided at instrument creation time, and not after the view has been applied.
Partially addressed via https://github.com/open-telemetry/opentelemetry-rust/pull/2984
Fully fixing requires remove the validation done at instrument creation time (before applying views), and doing everything after applying view(s)