Class ProcessIncubatingAttributes
java.lang.Object
io.opentelemetry.semconv.incubating.ProcessIncubatingAttributes
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classValues forPROCESS_CONTEXT_SWITCH_TYPE.static final classValues forPROCESS_CPU_STATE.static final classValues forPROCESS_PAGING_FAULT_TYPE. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final io.opentelemetry.api.common.AttributeKey<String>The command used to launch the process (i.e. the command name).All the command arguments (including the command/executable itself) as received by the process.static final io.opentelemetry.api.common.AttributeKey<String>The full command used to launch the process as a single string representing the full command.static final io.opentelemetry.api.common.AttributeKey<String>Specifies whether the context switches for this data point were voluntary or involuntary.static final io.opentelemetry.api.common.AttributeKey<String>The CPU state for this data point.static final io.opentelemetry.api.common.AttributeKey<String>The name of the process executable.static final io.opentelemetry.api.common.AttributeKey<String>The full path to the process executable.static final io.opentelemetry.api.common.AttributeKey<String>The username of the user that owns the process.static final io.opentelemetry.api.common.AttributeKey<String>The type of page fault for this data point.static final io.opentelemetry.api.common.AttributeKey<Long>Parent Process identifier (PPID).static final io.opentelemetry.api.common.AttributeKey<Long>Process identifier (PID).static final io.opentelemetry.api.common.AttributeKey<String>An additional description about the runtime of the process, for example a specific vendor customization of the runtime environment.static final io.opentelemetry.api.common.AttributeKey<String>The name of the runtime of this process.static final io.opentelemetry.api.common.AttributeKey<String>The version of the runtime of this process, as returned by the runtime without modification. -
Method Summary
-
Field Details
-
PROCESS_COMMAND
The command used to launch the process (i.e. the command name). On Linux based systems, can be set to the zeroth string inproc/[pid]/cmdline. On Windows, can be set to the first parameter extracted fromGetCommandLineW. -
PROCESS_COMMAND_ARGS
All the command arguments (including the command/executable itself) as received by the process. On Linux-based systems (and some other Unixoid systems supporting procfs), can be set according to the list of null-delimited strings extracted fromproc/[pid]/cmdline. For libc-based executables, this would be the full argv vector passed tomain. -
PROCESS_COMMAND_LINE
The full command used to launch the process as a single string representing the full command. On Windows, can be set to the result ofGetCommandLineW. Do not set this if you have to assemble it just for monitoring; useprocess.command_argsinstead. -
PROCESS_CONTEXT_SWITCH_TYPE
Specifies whether the context switches for this data point were voluntary or involuntary. -
PROCESS_CPU_STATE
The CPU state for this data point. A process SHOULD be characterized either by data points with nostatelabels, or only data points withstatelabels. -
PROCESS_EXECUTABLE_NAME
The name of the process executable. On Linux based systems, can be set to theNameinproc/[pid]/status. On Windows, can be set to the base name ofGetProcessImageFileNameW. -
PROCESS_EXECUTABLE_PATH
The full path to the process executable. On Linux based systems, can be set to the target ofproc/[pid]/exe. On Windows, can be set to the result ofGetProcessImageFileNameW. -
PROCESS_OWNER
The username of the user that owns the process. -
PROCESS_PAGING_FAULT_TYPE
The type of page fault for this data point. Typemajoris for major/hard page faults, andminoris for minor/soft page faults. -
PROCESS_PARENT_PID
Parent Process identifier (PPID). -
PROCESS_PID
Process identifier (PID). -
PROCESS_RUNTIME_DESCRIPTION
An additional description about the runtime of the process, for example a specific vendor customization of the runtime environment. -
PROCESS_RUNTIME_NAME
The name of the runtime of this process. For compiled native binaries, this SHOULD be the name of the compiler. -
PROCESS_RUNTIME_VERSION
The version of the runtime of this process, as returned by the runtime without modification.
-