opentelemetry_semantic_conventions::attribute

Constant PROCESS_COMMAND_LINE

source
pub const PROCESS_COMMAND_LINE: &str = "process.command_line";
Expand description

The full command used to launch the process as a single string representing the full command. On Windows, can be set to the result of GetCommandLineW. Do not set this if you have to assemble it just for monitoring; use process.command_args instead.

ยงExamples

  • "C:\\cmd\\otecol --config=\"my directory\\config.yaml\""