Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
tracing: Add subsystem tag to runtime
Browse files Browse the repository at this point in the history
Set a tag on the root span to denote the subsystem refers to the
runtime.

Signed-off-by: James O. D. Hunt <[email protected]>
  • Loading branch information
jodh-intel committed Aug 22, 2018
1 parent d6a773c commit a193366
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit a193366

Please sign in to comment.