Constant telemetry_rust::semconv::PROCESS_COMMAND
source · pub const PROCESS_COMMAND: &'static str;
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