tweak spans
All checks were successful
Build and Publish / release (push) Successful in 2m58s

This commit is contained in:
Ryan McGuire 2025-03-05 13:32:39 -05:00
parent 3329c980a9
commit 64ca321c3a

View File

@ -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),
)) ))