File tree Expand file tree Collapse file tree 3 files changed +9
-11
lines changed
crates/stackable-telemetry/src/tracing Expand file tree Collapse file tree 3 files changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -154,8 +154,7 @@ impl Tracing {
154
154
155
155
if self . console_log_settings . enabled ( ) {
156
156
let env_filter_layer = env_filter_builder (
157
- & self
158
- . console_log_settings
157
+ self . console_log_settings
159
158
. common_settings
160
159
. environment_variable ,
161
160
self . console_log_settings . default_level ( ) ,
@@ -167,7 +166,7 @@ impl Tracing {
167
166
168
167
if self . otlp_log_settings . enabled ( ) {
169
168
let env_filter_layer = env_filter_builder (
170
- & self . otlp_log_settings . environment_variable ( ) ,
169
+ self . otlp_log_settings . environment_variable ( ) ,
171
170
self . otlp_log_settings . default_level ( ) ,
172
171
)
173
172
// TODO (@NickLarsenNZ): Remove this directive once https://github.com/open-telemetry/opentelemetry-rust/issues/761 is resolved
@@ -195,8 +194,7 @@ impl Tracing {
195
194
196
195
if self . otlp_trace_settings . enabled ( ) {
197
196
let env_filter_layer = env_filter_builder (
198
- & self
199
- . otlp_trace_settings
197
+ self . otlp_trace_settings
200
198
. common_settings
201
199
. environment_variable ,
202
200
self . otlp_trace_settings . default_level ( ) ,
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ impl Build<OtlpLogSettings> for SettingsBuilder {
37
37
fn build ( self ) -> OtlpLogSettings {
38
38
OtlpLogSettings {
39
39
common_settings : self . into ( ) ,
40
- ..Default :: default ( )
40
+ // ..Default::default()
41
41
}
42
42
}
43
43
}
@@ -60,7 +60,7 @@ impl From<SettingsDouble> for OtlpLogSettings {
60
60
fn from ( value : SettingsDouble ) -> Self {
61
61
Self {
62
62
common_settings : value. into ( ) ,
63
- ..Default :: default ( )
63
+ // ..Default::default()
64
64
}
65
65
}
66
66
}
@@ -69,7 +69,7 @@ impl From<SettingsTriple> for OtlpLogSettings {
69
69
fn from ( value : SettingsTriple ) -> Self {
70
70
Self {
71
71
common_settings : value. into ( ) ,
72
- ..Default :: default ( )
72
+ // ..Default::default()
73
73
}
74
74
}
75
75
}
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ impl Build<OtlpTraceSettings> for SettingsBuilder {
37
37
fn build ( self ) -> OtlpTraceSettings {
38
38
OtlpTraceSettings {
39
39
common_settings : self . into ( ) ,
40
- ..Default :: default ( )
40
+ // ..Default::default()
41
41
}
42
42
}
43
43
}
@@ -60,7 +60,7 @@ impl From<SettingsDouble> for OtlpTraceSettings {
60
60
fn from ( value : SettingsDouble ) -> Self {
61
61
Self {
62
62
common_settings : value. into ( ) ,
63
- ..Default :: default ( )
63
+ // ..Default::default()
64
64
}
65
65
}
66
66
}
@@ -69,7 +69,7 @@ impl From<SettingsTriple> for OtlpTraceSettings {
69
69
fn from ( value : SettingsTriple ) -> Self {
70
70
Self {
71
71
common_settings : value. into ( ) ,
72
- ..Default :: default ( )
72
+ // ..Default::default()
73
73
}
74
74
}
75
75
}
You can’t perform that action at this time.
0 commit comments