Fix process registry (#515)
Co-authored-by: Armin Ruech <7052238+arminru@users.noreply.github.com>
This commit is contained in:
parent
4f89cd7848
commit
d30d7fc021
|
|
@ -16,4 +16,7 @@
|
||||||
| `process.owner` | string | The username of the user that owns the process. | `root` |
|
| `process.owner` | string | The username of the user that owns the process. | `root` |
|
||||||
| `process.parent_pid` | int | Parent Process identifier (PID). | `111` |
|
| `process.parent_pid` | int | Parent Process identifier (PID). | `111` |
|
||||||
| `process.pid` | int | Process identifier (PID). | `1234` |
|
| `process.pid` | int | Process identifier (PID). | `1234` |
|
||||||
|
| `process.runtime.description` | string | An additional description about the runtime of the process, for example a specific vendor customization of the runtime environment. | `Eclipse OpenJ9 Eclipse OpenJ9 VM openj9-0.21.0` |
|
||||||
|
| `process.runtime.name` | string | The name of the runtime of this process. For compiled native binaries, this SHOULD be the name of the compiler. | `OpenJDK Runtime Environment` |
|
||||||
|
| `process.runtime.version` | string | The version of the runtime of this process, as returned by the runtime without modification. | `14.0.2` |
|
||||||
<!-- endsemconv -->
|
<!-- endsemconv -->
|
||||||
|
|
|
||||||
|
|
@ -62,9 +62,9 @@ In that case it MUST be interpreted as if it was `process.command_args`.
|
||||||
<!-- semconv process.runtime -->
|
<!-- semconv process.runtime -->
|
||||||
| Attribute | Type | Description | Examples | Requirement Level |
|
| Attribute | Type | Description | Examples | Requirement Level |
|
||||||
|---|---|---|---|---|
|
|---|---|---|---|---|
|
||||||
| `process.runtime.description` | string | An additional description about the runtime of the process, for example a specific vendor customization of the runtime environment. | `Eclipse OpenJ9 Eclipse OpenJ9 VM openj9-0.21.0` | Recommended |
|
| [`process.runtime.description`](../attributes-registry/process.md) | string | An additional description about the runtime of the process, for example a specific vendor customization of the runtime environment. | `Eclipse OpenJ9 Eclipse OpenJ9 VM openj9-0.21.0` | Recommended |
|
||||||
| `process.runtime.name` | string | The name of the runtime of this process. For compiled native binaries, this SHOULD be the name of the compiler. | `OpenJDK Runtime Environment` | Recommended |
|
| [`process.runtime.name`](../attributes-registry/process.md) | string | The name of the runtime of this process. For compiled native binaries, this SHOULD be the name of the compiler. | `OpenJDK Runtime Environment` | Recommended |
|
||||||
| `process.runtime.version` | string | The version of the runtime of this process, as returned by the runtime without modification. | `14.0.2` | Recommended |
|
| [`process.runtime.version`](../attributes-registry/process.md) | string | The version of the runtime of this process, as returned by the runtime without modification. | `14.0.2` | Recommended |
|
||||||
<!-- endsemconv -->
|
<!-- endsemconv -->
|
||||||
|
|
||||||
How to set these attributes for particular runtime kinds is described in the following subsections.
|
How to set these attributes for particular runtime kinds is described in the following subsections.
|
||||||
|
|
|
||||||
|
|
@ -58,3 +58,21 @@ groups:
|
||||||
brief: >
|
brief: >
|
||||||
The username of the user that owns the process.
|
The username of the user that owns the process.
|
||||||
examples: 'root'
|
examples: 'root'
|
||||||
|
- id: runtime.name
|
||||||
|
type: string
|
||||||
|
brief: >
|
||||||
|
The name of the runtime of this process. For compiled native binaries,
|
||||||
|
this SHOULD be the name of the compiler.
|
||||||
|
examples: ['OpenJDK Runtime Environment']
|
||||||
|
- id: runtime.version
|
||||||
|
type: string
|
||||||
|
brief: >
|
||||||
|
The version of the runtime of this process, as returned by the runtime
|
||||||
|
without modification.
|
||||||
|
examples: '14.0.2'
|
||||||
|
- id: runtime.description
|
||||||
|
type: string
|
||||||
|
brief: >
|
||||||
|
An additional description about the runtime of the process, for example
|
||||||
|
a specific vendor customization of the runtime environment.
|
||||||
|
examples: 'Eclipse OpenJ9 Eclipse OpenJ9 VM openj9-0.21.0'
|
||||||
|
|
|
||||||
|
|
@ -37,21 +37,6 @@ groups:
|
||||||
brief: >
|
brief: >
|
||||||
The single (language) runtime instance which is monitored.
|
The single (language) runtime instance which is monitored.
|
||||||
attributes:
|
attributes:
|
||||||
- id: name
|
- ref: process.runtime.name
|
||||||
type: string
|
- ref: process.runtime.version
|
||||||
brief: >
|
- ref: process.runtime.description
|
||||||
The name of the runtime of this process. For compiled native binaries,
|
|
||||||
this SHOULD be the name of the compiler.
|
|
||||||
examples: ['OpenJDK Runtime Environment']
|
|
||||||
- id: version
|
|
||||||
type: string
|
|
||||||
brief: >
|
|
||||||
The version of the runtime of this process, as returned by the runtime
|
|
||||||
without modification.
|
|
||||||
examples: '14.0.2'
|
|
||||||
- id: description
|
|
||||||
type: string
|
|
||||||
brief: >
|
|
||||||
An additional description about the runtime of the process, for example
|
|
||||||
a specific vendor customization of the runtime environment.
|
|
||||||
examples: 'Eclipse OpenJ9 Eclipse OpenJ9 VM openj9-0.21.0'
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue