瀏覽代碼

remove cli.args opentelemetry attribute

Signed-off-by: Nicolas De Loof <[email protected]>
Nicolas De Loof 11 月之前
父節點
當前提交
a6a39422e4
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      cmd/cmdtrace/cmd_span.go

+ 0 - 1
cmd/cmdtrace/cmd_span.go

@@ -55,7 +55,6 @@ func Setup(cmd *cobra.Command, dockerCli command.Cli, args []string) error {
 		ctx,
 		ctx,
 		"cli/"+strings.Join(commandName(cmd), "-"),
 		"cli/"+strings.Join(commandName(cmd), "-"),
 	)
 	)
-	cmdSpan.SetAttributes(attribute.StringSlice("cli.args", args))
 	cmdSpan.SetAttributes(attribute.StringSlice("cli.flags", getFlags(cmd.Flags())))
 	cmdSpan.SetAttributes(attribute.StringSlice("cli.flags", getFlags(cmd.Flags())))
 
 
 	cmd.SetContext(ctx)
 	cmd.SetContext(ctx)