2
2
3
3
## vNext
4
4
5
- [ #2868 ] ( https://github.com/open-telemetry/opentelemetry-rust/pull/2868 )
6
- ` SdkLogger ` , ` SdkTracer ` modified to respect telemetry suppression based on
5
+ - ** Feature ** : Added context based telemetry suppression. [ #2868 ] ( https://github.com/open-telemetry/opentelemetry-rust/pull/2868 )
6
+ - ` SdkLogger ` , ` SdkTracer ` modified to respect telemetry suppression based on
7
7
` Context ` . In other words, if the current context has telemetry suppression
8
- enabled, then logs/spans will be ignored. The flag is typically set by OTel
8
+ enabled, then logs/spans will be ignored.
9
+ - The flag is typically set by OTel
9
10
components to prevent telemetry from itself being fed back into OTel.
10
- ` BatchLogProcessor ` , ` BatchSpanProcessor ` , and ` PeriodicReader ` modified to set
11
+ - ` BatchLogProcessor ` , ` BatchSpanProcessor ` , and ` PeriodicReader ` modified to set
11
12
the suppression flag in their dedicated thread, so that telemetry generated from
12
- those threads will not be fed back into OTel. Similarly, ` SimpleLogProcessor `
13
+ those threads will not be fed back into OTel.
14
+ - Similarly, ` SimpleLogProcessor `
13
15
also modified to suppress telemetry before invoking exporters.
14
16
15
17
- ** Feature** : Implemented and enabled cardinality capping for Metrics by
@@ -25,20 +27,21 @@ also modified to suppress telemetry before invoking exporters.
25
27
[ #2878 ] ( https://github.com/open-telemetry/opentelemetry-rust/issues/2878 )
26
28
- * Breaking* ` MetricError ` , ` MetricResult ` no longer public (except when
27
29
` spec_unstable_metrics_views ` feature flag is enabled). ` OTelSdkResult ` should
28
- be used instead, wherever applicable.
29
- - * Breaking* change, affecting custom MetricReader authors: The
30
- ` shutdown_with_timeout ` method is added to ` MetricReader ` trait. ` collect `
30
+ be used instead, wherever applicable. [ #2906 ] ( https://github.com/open-telemetry/opentelemetry-rust/pull/2906 )
31
+ - * Breaking* change, affecting custom ` MetricReader ` authors:
32
+ - The
33
+ ` shutdown_with_timeout ` method is added to ` MetricReader ` trait.
34
+ - ` collect `
31
35
method on ` MetricReader ` modified to return ` OTelSdkResult ` .
32
36
[ #2905 ] ( https://github.com/open-telemetry/opentelemetry-rust/pull/2905 )
33
- [ #2905 ] ( https://github.com/open-telemetry/opentelemetry-rust/pull/2905 )
34
- - * Breaking* change, affecting custom MetricReader authors: ` MetricReader `
37
+ - ` MetricReader `
35
38
trait, ` ManualReader ` struct, ` Pipeline ` struct, ` InstrumentKind ` enum moved
36
- behind feature flag "experimental_metrics_custom_reader". These were only
37
- required for writing custom readers.
38
- [ 2928 ] ( https://github.com/open-telemetry/opentelemetry-rust/pull/2928 )
39
+ behind feature flag "experimental_metrics_custom_reader".
40
+ [ # 2928 ] ( https://github.com/open-telemetry/opentelemetry-rust/pull/2928 )
41
+
39
42
- * Breaking* ` Aggregation ` enum moved behind feature flag
40
43
"spec_unstable_metrics_views". This was only required when using Views.
41
- [ 2928] ( https://github.com/open-telemetry/opentelemetry-rust/pull/2928 )
44
+ [ # 2928 ] ( https://github.com/open-telemetry/opentelemetry-rust/pull/2928 )
42
45
43
46
## 0.29.0
44
47
0 commit comments