ProcessAttribute : string
Process attribute keys following OpenTelemetry semantic conventions.
These attribute names correspond to the Process resource attributes as defined in the OpenTelemetry semantic conventions specification.
Tags
Cases
- COMMAND = 'process.command'
- The command used to launch the process.
- COMMAND_ARGS = 'process.command_args'
- All the command arguments (including the command/executable) as received.
- COMMAND_LINE = 'process.command_line'
- The full command line as a single string.
- EXECUTABLE_NAME = 'process.executable.name'
- The name of the process executable.
- EXECUTABLE_PATH = 'process.executable.path'
- The full path to the process executable.
- OWNER = 'process.owner'
- The username of the user that owns the process.
- PARENT_PID = 'process.parent_pid'
- Parent process ID (PID).
- PID = 'process.pid'
- Process ID (PID).
- RUNTIME_DESCRIPTION = 'process.runtime.description'
- An additional description about the runtime.
- RUNTIME_NAME = 'process.runtime.name'
- The name of the runtime of this process.
- RUNTIME_VERSION = 'process.runtime.version'
- The version of the runtime.
Cases
COMMAND
The command used to launch the process.
This is typically the script name or program name.
Example: "cmd/otelcol"
COMMAND_ARGS
All the command arguments (including the command/executable) as received.
Example: ["cmd/otelcol", "--config=config.yaml"]
COMMAND_LINE
The full command line as a single string.
Example: "php artisan serve"
EXECUTABLE_NAME
The name of the process executable.
Example: "otelcol"
EXECUTABLE_PATH
The full path to the process executable.
Example: "/usr/bin/php"
OWNER
The username of the user that owns the process.
Example: "root"
PARENT_PID
Parent process ID (PID).
Example: 111
PID
Process ID (PID).
Example: 1234
RUNTIME_DESCRIPTION
An additional description about the runtime.
Example: "Eclipse OpenJ9 Eclipse OpenJ9 VM openj9-0.21.0"
RUNTIME_NAME
The name of the runtime of this process.
Example: "PHP", "OpenJDK Runtime Environment"
RUNTIME_VERSION
The version of the runtime.
Example: "8.3.0", "14.0.2"