We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e3e1f7 commit 793c6f1Copy full SHA for 793c6f1
cmd/cmdtrace/cmd_span.go
@@ -56,6 +56,7 @@ func Setup(cmd *cobra.Command, dockerCli command.Cli, args []string) error {
56
"cli/"+strings.Join(commandName(cmd), "-"),
57
)
58
cmdSpan.SetAttributes(attribute.StringSlice("cli.flags", getFlags(cmd.Flags())))
59
+ cmdSpan.SetAttributes(attribute.Bool("cli.isatty", dockerCli.In().IsTerminal()))
60
61
cmd.SetContext(ctx)
62
wrapRunE(cmd, cmdSpan, tracingShutdown)
0 commit comments