opentelemetry_semantic_conventions::attribute

Constant PROCESS_COMMAND

source
pub const PROCESS_COMMAND: &str = "process.command";
Expand description

The command used to launch the process (i.e. the command name). On Linux based systems, can be set to the zeroth string in proc/[pid]/cmdline. On Windows, can be set to the first parameter extracted from GetCommandLineW.

ยงExamples

  • "cmd/otelcol"