add process.parent_pid attribute (#2691)
Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
This commit is contained in:
parent
298c566cf9
commit
fca9616e41
|
|
@ -10,6 +10,11 @@ groups:
|
||||||
brief: >
|
brief: >
|
||||||
Process identifier (PID).
|
Process identifier (PID).
|
||||||
examples: [1234]
|
examples: [1234]
|
||||||
|
- id: parent_pid
|
||||||
|
type: int
|
||||||
|
brief: >
|
||||||
|
Parent Process identifier (PID).
|
||||||
|
examples: [111]
|
||||||
- id: executable.name
|
- id: executable.name
|
||||||
type: string
|
type: string
|
||||||
requirement_level:
|
requirement_level:
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,7 @@
|
||||||
| Attribute | Type | Description | Examples | Requirement Level |
|
| Attribute | Type | Description | Examples | Requirement Level |
|
||||||
|---|---|---|---|---|
|
|---|---|---|---|---|
|
||||||
| `process.pid` | int | Process identifier (PID). | `1234` | Recommended |
|
| `process.pid` | int | Process identifier (PID). | `1234` | Recommended |
|
||||||
|
| `process.parent_pid` | int | Parent Process identifier (PID). | `111` | Recommended |
|
||||||
| `process.executable.name` | string | The name of the process executable. On Linux based systems, can be set to the `Name` in `proc/[pid]/status`. On Windows, can be set to the base name of `GetProcessImageFileNameW`. | `otelcol` | Conditionally Required: See alternative attributes below. |
|
| `process.executable.name` | string | The name of the process executable. On Linux based systems, can be set to the `Name` in `proc/[pid]/status`. On Windows, can be set to the base name of `GetProcessImageFileNameW`. | `otelcol` | Conditionally Required: See alternative attributes below. |
|
||||||
| `process.executable.path` | string | The full path to the process executable. On Linux based systems, can be set to the target of `proc/[pid]/exe`. On Windows, can be set to the result of `GetProcessImageFileNameW`. | `/usr/bin/cmd/otelcol` | Conditionally Required: See alternative attributes below. |
|
| `process.executable.path` | string | The full path to the process executable. On Linux based systems, can be set to the target of `proc/[pid]/exe`. On Windows, can be set to the result of `GetProcessImageFileNameW`. | `/usr/bin/cmd/otelcol` | Conditionally Required: See alternative attributes below. |
|
||||||
| `process.command` | string | 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`. | `cmd/otelcol` | Conditionally Required: See alternative attributes below. |
|
| `process.command` | string | 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`. | `cmd/otelcol` | Conditionally Required: See alternative attributes below. |
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue