diff --git a/internal/telemetry/helpers.go b/internal/telemetry/helpers.go index 92d825d..ad39a67 100644 --- a/internal/telemetry/helpers.go +++ b/internal/telemetry/helpers.go @@ -99,7 +99,7 @@ func StartSpan(ctx context.Context, operationName string, opts ...SpanOptions) ( } else { otelCtx, otelSpan = tracer.Start(ctx, operationName) } - otelSpan.SetAttributes(attribute.String("name", operationName)) + otelSpan.SetAttributes(attribute.String("operation.name", operationName)) otelSpan.SetAttributes( attribute.String("service.name", "mailstack"),