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

[service] deprecate TelemetrySettings.MeterProvider

Open codeboten opened this issue 1 year ago • 8 comments

This is replaced by a LeveledMeterProvider method on the struct instead. This reduces the complexity from the view of component authors, in that there's no need to check the level before invoking the meter to record a metric.

Closes https://github.com/open-telemetry/opentelemetry-collector/issues/9510

codeboten avatar Aug 19 '24 21:08 codeboten