File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -109,8 +109,8 @@ use opentelemetry_sdk::metrics::{PeriodicReader, SdkMeterProvider};
109
109
use opentelemetry_sdk:: trace:: { BatchConfigBuilder , BatchSpanProcessor , SpanProcessor } ;
110
110
use opentelemetry_sdk:: trace:: { SdkTracerProvider , Tracer } ;
111
111
use thiserror:: Error ;
112
- use tracing:: level_filters:: LevelFilter ;
113
112
use tracing:: Subscriber ;
113
+ use tracing:: level_filters:: LevelFilter ;
114
114
use tracing_subscriber:: layer:: SubscriberExt ;
115
115
116
116
use crate :: bridges:: tracing:: LogfireTracingLayer ;
@@ -529,12 +529,12 @@ impl LogfireConfigBuilder {
529
529
logfire_base_url,
530
530
http_headers. clone ( ) ,
531
531
) ?)
532
- . with_batch_config (
533
- BatchConfigBuilder :: default ( )
534
- . with_scheduled_delay ( Duration :: from_millis ( 500 ) ) // 500 matches Python
535
- . build ( ) ,
536
- )
537
- . build ( ) ,
532
+ . with_batch_config (
533
+ BatchConfigBuilder :: default ( )
534
+ . with_scheduled_delay ( Duration :: from_millis ( 500 ) ) // 500 matches Python
535
+ . build ( ) ,
536
+ )
537
+ . build ( ) ,
538
538
) ;
539
539
}
540
540
@@ -597,7 +597,7 @@ impl LogfireConfigBuilder {
597
597
logfire_base_url,
598
598
http_headers,
599
599
) ?)
600
- . build ( ) ;
600
+ . build ( ) ;
601
601
602
602
meter_provider_builder = meter_provider_builder. with_reader ( metric_reader) ;
603
603
}
@@ -820,7 +820,7 @@ mod test_utils;
820
820
821
821
#[ cfg( test) ]
822
822
mod tests {
823
- use crate :: { config:: SendToLogfire , ConfigureError } ;
823
+ use crate :: { ConfigureError , config:: SendToLogfire } ;
824
824
825
825
#[ test]
826
826
fn test_send_to_logfire ( ) {
You can’t perform that action at this time.
0 commit comments