mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-03 02:26:37 +00:00
tracing: Add subsystem tag to runtime
Set a tag on the root span to denote the subsystem refers to the runtime. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
This commit is contained in:
parent
d6a773c90c
commit
a193366b3d
@ -340,6 +340,8 @@ func setupTracing(context *cli.Context, rootSpanName string) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
span.SetTag("subsystem", "runtime")
|
||||||
|
|
||||||
// Associate the root span with the context
|
// Associate the root span with the context
|
||||||
ctx = opentracing.ContextWithSpan(ctx, span)
|
ctx = opentracing.ContextWithSpan(ctx, span)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user