Skip to content

remove MetricsLevel from TelemetrySettings #11061

@codeboten

Description

@codeboten

A discussion on 4-Sept-2024 lead to the agreement that the struct field MetricsLevel will be removed from TelemetrySettings. This field is there to allow component authors to check a level before deciding whether to incur the cost of calculating an expensive operation.

The alternative for component authors will be to check whether an instrument is enabled or not prior to calculating the metric. This is dependent on the PR in otel go to implement this and on the spec to stabilize this feature.

The decision was that if the change would take too long to implement upstream, then we would remove this field and move any component to configure their own metric level instead. This will allow the unblocking of the component module stabilization work.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions