opentelemetry-rust icon indicating copy to clipboard operation
opentelemetry-rust copied to clipboard

[Bug] Metric Views allow bypassing validations.

Open cijothomas opened this issue 7 months ago • 2 comments

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.

cijothomas avatar May 21 '25 14:05 cijothomas

Partially addressed via https://github.com/open-telemetry/opentelemetry-rust/pull/2984

cijothomas avatar May 21 '25 14:05 cijothomas

Fully fixing requires remove the validation done at instrument creation time (before applying views), and doing everything after applying view(s)

cijothomas avatar May 21 '25 14:05 cijothomas