mirror of https://github.com/prometheus/prometheus
chore: only create span events
Signed-off-by: Juraj Michalek <juraj.michalek132@gmail.com>pull/15222/head
parent
7ecdb55b02
commit
76ff12b32a
|
@ -218,7 +218,7 @@ func NewWriteClient(name string, conf *ClientConfig) (WriteClient, error) {
|
|||
httpClient.Transport = otelhttp.NewTransport(
|
||||
t,
|
||||
otelhttp.WithClientTrace(func(ctx context.Context) *httptrace.ClientTrace {
|
||||
return otelhttptrace.NewClientTrace(ctx)
|
||||
return otelhttptrace.NewClientTrace(ctx, otelhttptrace.WithoutSubSpans())
|
||||
}))
|
||||
return &Client{
|
||||
remoteName: name,
|
||||
|
|
Loading…
Reference in New Issue