mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 02:54:20 +00:00
fix: remove duplicate otel span processors (#8104)
This commit is contained in:
parent
931a6c7cce
commit
1d13d41139
@ -23,11 +23,10 @@ func NewTracer(sampler sdk_trace.Sampler, exporter sdk_trace.SpanExporter) (*Tra
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
spanProcessor := sdk_trace.NewBatchSpanProcessor(exporter)
|
||||
|
||||
tp := sdk_trace.NewTracerProvider(
|
||||
sdk_trace.WithSampler(sampler),
|
||||
sdk_trace.WithBatcher(exporter),
|
||||
sdk_trace.WithSpanProcessor(spanProcessor),
|
||||
sdk_trace.WithResource(resource),
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user