File tree 2 files changed +5
-0
lines changed
2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 4
4
5
5
- ` opentelemetry_sdk::logs::record::LogRecord ` and ` opentelemetry_sdk::logs::record::TraceContext ` derive from ` PartialEq ` to facilitate Unit Testing.
6
6
- Fixed an issue causing a panic during shutdown when using the ` TokioCurrentThread ` tracing batch processor.
7
+ [ #1964 ] ( https://github.com/open-telemetry/opentelemetry-rust/pull/1964 )
8
+ - Fix BatchSpanProcessor to trigger first export at the first interval
9
+ instead of doing it right away.
10
+ [ #1970 ] ( https://github.com/open-telemetry/opentelemetry-rust/pull/1970 )
7
11
8
12
## v0.24.1
9
13
Original file line number Diff line number Diff line change @@ -457,6 +457,7 @@ impl<R: RuntimeChannel> BatchSpanProcessor<R> {
457
457
// runtime.spawn()
458
458
let ticker = inner_runtime
459
459
. interval ( config. scheduled_delay )
460
+ . skip ( 1 ) // The ticker is fired immediately, so we should skip the first one to align with the interval.
460
461
. map ( |_| BatchMessage :: Flush ( None ) ) ;
461
462
let timeout_runtime = inner_runtime. clone ( ) ;
462
463
You can’t perform that action at this time.
0 commit comments