From 257aca53407bb2a97ec76e3fb07e98dc4a5d6d9a Mon Sep 17 00:00:00 2001 From: Diego Augusto Molina Date: Thu, 24 Oct 2024 12:12:20 -0300 Subject: [PATCH] Unistore Chore: Fix span name (#94965) fix span name --- pkg/storage/unified/sql/backend.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/storage/unified/sql/backend.go b/pkg/storage/unified/sql/backend.go index 499931fce80..0a310203dde 100644 --- a/pkg/storage/unified/sql/backend.go +++ b/pkg/storage/unified/sql/backend.go @@ -664,7 +664,7 @@ func (b *backend) poll(ctx context.Context, grp string, res string, since int64, // in a single roundtrip. This would reduce the latency of the operation, and also increase the // throughput of the system. This is a good candidate for a future optimization. func (b *backend) resourceVersionAtomicInc(ctx context.Context, x db.ContextExecer, key *resource.ResourceKey) (newVersion int64, err error) { - ctx, span := b.tracer.Start(ctx, "resourceVersionAtomicInc", trace.WithAttributes( + ctx, span := b.tracer.Start(ctx, tracePrefix+"version_atomic_inc", trace.WithAttributes( semconv.K8SNamespaceName(key.Namespace), // TODO: the following attributes could use some standardization. attribute.String("k8s.resource.group", key.Group),