From 64d1f60cf5a27a7892169995238297aee8fe6279 Mon Sep 17 00:00:00 2001 From: Jason Plumb Date: Tue, 9 Jul 2024 14:53:03 -0700 Subject: [PATCH 1/2] Remove the recommendation to include the compiler name in the `process.runtime.name` attribute. --- model/registry/process.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/model/registry/process.yaml b/model/registry/process.yaml index 7cb7451e66..d9c0575ae7 100644 --- a/model/registry/process.yaml +++ b/model/registry/process.yaml @@ -130,8 +130,7 @@ groups: type: string stability: experimental brief: > - The name of the runtime of this process. For compiled native binaries, - this SHOULD be the name of the compiler. + The name of the runtime of this process. examples: ['OpenJDK Runtime Environment'] - id: runtime.version type: string From 103b466cdfbaced9b95746a87c24a0df92f932aa Mon Sep 17 00:00:00 2001 From: Jason Plumb Date: Tue, 9 Jul 2024 15:13:23 -0700 Subject: [PATCH 2/2] regen markdown --- docs/attributes-registry/process.md | 2 +- docs/resource/process.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/attributes-registry/process.md b/docs/attributes-registry/process.md index 6522b0ace3..9b47e08949 100644 --- a/docs/attributes-registry/process.md +++ b/docs/attributes-registry/process.md @@ -33,7 +33,7 @@ An operating system process. | `process.real_user.id` | int | The real user ID (RUID) of the process. | `1000` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `process.real_user.name` | string | The username of the real user of the process. | `operator` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `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` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | -| `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` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `process.runtime.name` | string | The name of the runtime of this process. | `OpenJDK Runtime Environment` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `process.runtime.version` | string | The version of the runtime of this process, as returned by the runtime without modification. | `14.0.2` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `process.saved_user.id` | int | The saved user ID (SUID) of the process. | `1002` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `process.saved_user.name` | string | The username of the saved user. | `operator` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | diff --git a/docs/resource/process.md b/docs/resource/process.md index a081022d6f..ff17dfcfbf 100644 --- a/docs/resource/process.md +++ b/docs/resource/process.md @@ -91,7 +91,7 @@ On Windows and other systems where the native format of process commands is a si | Attribute | Type | Description | Examples | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Stability | |---|---|---|---|---|---| | [`process.runtime.description`](/docs/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` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | -| [`process.runtime.name`](/docs/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` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| [`process.runtime.name`](/docs/attributes-registry/process.md) | string | The name of the runtime of this process. | `OpenJDK Runtime Environment` | `Recommended` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | [`process.runtime.version`](/docs/attributes-registry/process.md) | string | The version of the runtime of this process, as returned by the runtime without modification. | `14.0.2` | `Recommended` | ![Experimental](https://img.shields.io/badge/-experimental-blue) |