This commit is contained in:
parent
3329c980a9
commit
64ca321c3a
@ -179,7 +179,7 @@ func (aw *AmbientWeather) proxyUpdate(
|
|||||||
tracer := otel.GetTracer(aw.appCtx, p.Name()+".http.handler")
|
tracer := otel.GetTracer(aw.appCtx, p.Name()+".http.handler")
|
||||||
station := update.StationConfig
|
station := update.StationConfig
|
||||||
|
|
||||||
_, proxySpan := tracer.Start(ctx, p.Name()+".update.proxy", trace.WithAttributes(
|
ctx, proxySpan := tracer.Start(ctx, p.Name()+".update.proxy", trace.WithAttributes(
|
||||||
attribute.Bool("proxyToWunderground", station.ProxyToWunderground),
|
attribute.Bool("proxyToWunderground", station.ProxyToWunderground),
|
||||||
attribute.Bool("proxyToAWN", station.ProxyToAWN),
|
attribute.Bool("proxyToAWN", station.ProxyToAWN),
|
||||||
))
|
))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user