File tree 3 files changed +6
-7
lines changed
opentelemetry-jaeger/src/exporter/config 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 1
1
use crate :: exporter:: agent:: { AgentAsyncClientUdp , AgentSyncClientUdp } ;
2
2
use crate :: exporter:: config:: {
3
3
build_config_and_process,
4
- common:: { TransformationConfig , HasRequiredConfig } ,
4
+ common:: { HasRequiredConfig , TransformationConfig } ,
5
5
install_tracer_provider_and_get_tracer,
6
6
} ;
7
7
use crate :: exporter:: uploader:: { AsyncUploader , SyncUploader , Uploader } ;
@@ -75,8 +75,8 @@ impl Default for AgentPipeline {
75
75
// implement the seal trait
76
76
impl HasRequiredConfig for AgentPipeline {
77
77
fn set_transformation_config < T > ( & mut self , f : T )
78
- where
79
- T : FnOnce ( & mut TransformationConfig ) ,
78
+ where
79
+ T : FnOnce ( & mut TransformationConfig ) ,
80
80
{
81
81
f ( self . common_config . borrow_mut ( ) )
82
82
}
Original file line number Diff line number Diff line change 1
1
use crate :: exporter:: config:: {
2
2
build_config_and_process,
3
- common:: { TransformationConfig , HasRequiredConfig } ,
3
+ common:: { HasRequiredConfig , TransformationConfig } ,
4
4
install_tracer_provider_and_get_tracer,
5
5
} ;
6
6
use crate :: exporter:: uploader:: { AsyncUploader , Uploader } ;
@@ -143,8 +143,8 @@ impl Default for CollectorPipeline {
143
143
// implement the seal trait
144
144
impl HasRequiredConfig for CollectorPipeline {
145
145
fn set_transformation_config < T > ( & mut self , f : T )
146
- where
147
- T : FnOnce ( & mut TransformationConfig ) ,
146
+ where
147
+ T : FnOnce ( & mut TransformationConfig ) ,
148
148
{
149
149
f ( self . common_config . borrow_mut ( ) )
150
150
}
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ pub mod collector;
26
26
mod common {
27
27
use opentelemetry:: sdk;
28
28
29
-
30
29
// configurations and overrides on how to transform OTLP spans to Jaeger spans.
31
30
#[ derive( Debug ) ]
32
31
pub struct TransformationConfig {
You can’t perform that action at this time.
0 commit comments