From a193366b3d67d1735cfd5f6201f4e3134daaa78c Mon Sep 17 00:00:00 2001 From: "James O. D. Hunt" Date: Tue, 21 Aug 2018 09:02:06 +0100 Subject: [PATCH] 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 --- cli/main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cli/main.go b/cli/main.go index f3d6ba580..025196dcb 100644 --- a/cli/main.go +++ b/cli/main.go @@ -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)