Skip to content

Commit e40a778

Browse files
committed
remove cli.args opentelemetry attribute
Signed-off-by: Nicolas De Loof <[email protected]>
1 parent 5e2abb6 commit e40a778

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/cmdtrace/cmd_span.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import (
2020
"context"
2121
"errors"
2222
"fmt"
23+
"slices"
2324
"sort"
2425
"strings"
2526
"time"
@@ -55,7 +56,6 @@ func Setup(cmd *cobra.Command, dockerCli command.Cli, args []string) error {
5556
ctx,
5657
"cli/"+strings.Join(commandName(cmd), "-"),
5758
)
58-
cmdSpan.SetAttributes(attribute.StringSlice("cli.args", args))
5959
cmdSpan.SetAttributes(attribute.StringSlice("cli.flags", getFlags(cmd.Flags())))
6060

6161
cmd.SetContext(ctx)

0 commit comments

Comments
 (0)