You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(telemetry): a command span sets no process.command_line, which the conventions give to the full command line #2059
The tracer's _ATTRIBUTE_NORMALIZATION maps cli.command to process.command_line on command spans. So process.command_line holds only the command name. OpenTelemetry's semantic conventions give process.command_line to the full command line, so a backend or a dashboard that reads it gets the wrong meaning. No argument value goes there.
Remove the alias, and keep the command name in cli.command and the command path in cli.command_path. Check that no dashboard or query reads process.command_line for command spans.
Acceptance criteria
A test shows that a command span has no process.command_line attribute.
Activity
fix(telemetry): a subprocess span holds the executable and the argume…
fix(telemetry): a command span sets no process.command_line, which th…
fix(telemetry): the profile span holds the command path and the argum…