mirror of
https://github.com/grafana/tempo.git
synced 2025-03-14 03:06:42 +00:00
[rhythm] Add baggage propagator to ingest pkg (#4831)
This commit is contained in:
@ -153,7 +153,10 @@ func commonKafkaClientOptions(cfg KafkaConfig, metrics *kprom.Metrics, logger lo
|
||||
}
|
||||
|
||||
tracer := kotel.NewTracer(
|
||||
kotel.TracerPropagator(propagation.NewCompositeTextMapPropagator(onlySampledTraces{propagation.TraceContext{}})),
|
||||
kotel.TracerPropagator(propagation.NewCompositeTextMapPropagator(
|
||||
onlySampledTraces{propagation.Baggage{}},
|
||||
onlySampledTraces{propagation.TraceContext{}},
|
||||
)),
|
||||
)
|
||||
opts = append(opts, kgo.WithHooks(kotel.NewKotel(kotel.WithTracer(tracer)).Hooks()...))
|
||||
|
||||
|
Reference in New Issue
Block a user