mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-23 09:14:27 +01: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:
@@ -340,6 +340,8 @@ func setupTracing(context *cli.Context, rootSpanName string) error {
|
||||
return err
|
||||
}
|
||||
|
||||
span.SetTag("subsystem", "runtime")
|
||||
|
||||
// Associate the root span with the context
|
||||
ctx = opentracing.ContextWithSpan(ctx, span)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user