From a6a39422e4212eca5d2808d41930b94181db2d29 Mon Sep 17 00:00:00 2001 From: Nicolas De Loof Date: Wed, 5 Feb 2025 15:38:30 +0100 Subject: [PATCH] remove cli.args opentelemetry attribute Signed-off-by: Nicolas De Loof --- cmd/cmdtrace/cmd_span.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/cmdtrace/cmd_span.go b/cmd/cmdtrace/cmd_span.go index 77329e94e..bb85c15d3 100644 --- a/cmd/cmdtrace/cmd_span.go +++ b/cmd/cmdtrace/cmd_span.go @@ -55,7 +55,6 @@ func Setup(cmd *cobra.Command, dockerCli command.Cli, args []string) error { ctx, "cli/"+strings.Join(commandName(cmd), "-"), ) - cmdSpan.SetAttributes(attribute.StringSlice("cli.args", args)) cmdSpan.SetAttributes(attribute.StringSlice("cli.flags", getFlags(cmd.Flags()))) cmd.SetContext(ctx)