We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95d9b19 commit 72e34cdCopy full SHA for 72e34cd
opendut-util/src/telemetry/traces.rs
@@ -21,16 +21,16 @@ pub(crate) fn init_tracer(
21
22
let provider = TracerProvider::builder()
23
.with_batch_exporter(exporter, runtime::Tokio)
24
- .with_config(
25
- opentelemetry_sdk::trace::Config::default().with_resource(Resource::new(vec![
+ .with_resource(
+ Resource::new(vec![
26
KeyValue::new(
27
opentelemetry_semantic_conventions::resource::SERVICE_NAME,
28
service_name.into()),
29
30
opentelemetry_semantic_conventions::resource::SERVICE_INSTANCE_ID,
31
service_instance_id.into()
32
)
33
- ])),
+ ])
34
35
.build();
36
0 commit comments