From 28995301b3fa8bdf06c6c5f0506cdb4962da3c53 Mon Sep 17 00:00:00 2001 From: Chelsea Mafrica Date: Fri, 17 Jun 2022 12:07:37 -0700 Subject: [PATCH] tracing: Remove whitespace from root span Remove space from root span name to follow camel casing of other tracing span names in the runtime and to make parsing easier in testing. Fixes #4483 Signed-off-by: Chelsea Mafrica --- src/runtime/pkg/containerd-shim-v2/create.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/pkg/containerd-shim-v2/create.go b/src/runtime/pkg/containerd-shim-v2/create.go index 11609f2bcf..eba829e2dd 100644 --- a/src/runtime/pkg/containerd-shim-v2/create.go +++ b/src/runtime/pkg/containerd-shim-v2/create.go @@ -97,7 +97,7 @@ func create(ctx context.Context, s *service, r *taskAPI.CreateTaskRequest) (*con } // create root span - rootSpan, newCtx := katatrace.Trace(s.ctx, shimLog, "root span", shimTracingTags) + rootSpan, newCtx := katatrace.Trace(s.ctx, shimLog, "rootSpan", shimTracingTags) s.rootCtx = newCtx defer rootSpan.End()