File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ change_type: deprecation
7
7
component : configtelemetry
8
8
9
9
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
10
- note : " Deprecating `TelemetrySettings.MetricsLevel` and `TelemetrySettings. MeterProvider` in favour of `TelemetrySettings.LeveledMeterProvider`"
10
+ note : " Deprecating `TelemetrySettings.MeterProvider` in favour of `TelemetrySettings.LeveledMeterProvider`"
11
11
12
12
# One or more tracking issues or pull requests related to the change
13
13
issues : [10912]
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ change_type: enhancement
7
7
component : component
8
8
9
9
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
10
- note : " Add `TelemetrySettings.LeveledMeterProvider` func to replace MetricsLevel in the near future"
10
+ note : " Add `TelemetrySettings.LeveledMeterProvider` func to replace MeterProvider in the near future"
11
11
12
12
# One or more tracking issues or pull requests related to the change
13
13
issues : [10931]
Original file line number Diff line number Diff line change @@ -30,10 +30,9 @@ type TelemetrySettings struct {
30
30
// pass to other instrumented third-party libraries.
31
31
LeveledMeterProvider func (level configtelemetry.Level ) metric.MeterProvider
32
32
33
- // MetricsLevel controls the level of detail for metrics emitted by the collector.
34
- // Experimental: *NOTE* this field is experimental and may be changed or removed.
35
- //
36
- // Deprecated [v0.108.0]: use LeveledMeterProvider instead.
33
+ // MetricsLevel represents the configuration value set when the collector
34
+ // is configured. Components may use this level to decide whether it is
35
+ // appropriate to avoid computationally expensive calculations.
37
36
MetricsLevel configtelemetry.Level
38
37
39
38
// Resource contains the resource attributes for the collector's telemetry.
You can’t perform that action at this time.
0 commit comments