Merge pull request #4484 from cmaf/tracing-update-rootspan-name

tracing: Remove whitespace from root span
This commit is contained in:
Fabiano Fidêncio 2022-06-20 08:37:45 +02:00 committed by GitHub
commit 6fd40085ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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