File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 external sources to be sent through OpenTelemetry.
1212 [ #2105 ] ( https://github.com/open-telemetry/opentelemetry-rust/pull/2105 )
1313- Feature: ` SimpleSpanProcessor::new ` is now public [ #2119 ] ( https://github.com/open-telemetry/opentelemetry-rust/pull/2119 )
14+ - For Delta Temporality, exporters are not invoked unless there were new
15+ measurements since the last collect/export.
16+ [ #2153 ] ( https://github.com/open-telemetry/opentelemetry-rust/pull/2153 )
1417
1518## v0.25.0
1619
Original file line number Diff line number Diff line change @@ -973,7 +973,6 @@ mod tests {
973973 }
974974
975975 #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
976- #[ ignore = "Known bug: https://github.com/open-telemetry/opentelemetry-rust/issues/1598" ]
977976 async fn delta_memory_efficiency_test ( ) {
978977 // Run this test with stdout enabled to see output.
979978 // cargo test delta_memory_efficiency_test --features=testing -- --nocapture
Original file line number Diff line number Diff line change @@ -235,6 +235,10 @@ struct PeriodicReaderWorker<RT: Runtime> {
235235impl < RT : Runtime > PeriodicReaderWorker < RT > {
236236 async fn collect_and_export ( & mut self ) -> Result < ( ) > {
237237 self . reader . collect ( & mut self . rm ) ?;
238+ if self . rm . scope_metrics . is_empty ( ) {
239+ // No metrics to export.
240+ return Ok ( ( ) ) ;
241+ }
238242
239243 let export = self . reader . exporter . export ( & mut self . rm ) ;
240244 let timeout = self . runtime . delay ( self . timeout ) ;
You can’t perform that action at this time.
0 commit comments