mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-23 18:21:27 +00:00
Merge pull request #4484 from cmaf/tracing-update-rootspan-name
tracing: Remove whitespace from root span
This commit is contained in:
commit
6fd40085ef
@ -97,7 +97,7 @@ func create(ctx context.Context, s *service, r *taskAPI.CreateTaskRequest) (*con
|
|||||||
}
|
}
|
||||||
|
|
||||||
// create root span
|
// 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
|
s.rootCtx = newCtx
|
||||||
defer rootSpan.End()
|
defer rootSpan.End()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user