22
33## vNext
44
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
77` 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
910components 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
1112the 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 `
1315also modified to suppress telemetry before invoking exporters.
1416
1517- ** Feature** : Implemented and enabled cardinality capping for Metrics by
@@ -25,20 +27,21 @@ also modified to suppress telemetry before invoking exporters.
2527 [ #2878 ] ( https://github.com/open-telemetry/opentelemetry-rust/issues/2878 )
2628- * Breaking* ` MetricError ` , ` MetricResult ` no longer public (except when
2729 ` 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 `
3135 method on ` MetricReader ` modified to return ` OTelSdkResult ` .
3236 [ #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 `
3538 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+
3942- * Breaking* ` Aggregation ` enum moved behind feature flag
4043 "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 )
4245
4346## 0.29.0
4447
0 commit comments