diff --git a/specification/resource/semantic_conventions/README.md b/specification/resource/semantic_conventions/README.md index 0d23cd0cbd5..a8f0ef7dc33 100644 --- a/specification/resource/semantic_conventions/README.md +++ b/specification/resource/semantic_conventions/README.md @@ -8,6 +8,7 @@ This document defines standard attributes for resources. These attributes are ty - [Compute Unit](#compute-unit) * [Container](#container) * [Function as a Service](#function-as-a-service) + * [Process](#process) - [Deployment Service](#deployment-service) * [Kubernetes](#kubernetes) - [Compute Instance](#compute-instance) @@ -19,7 +20,7 @@ This document defines standard attributes for resources. These attributes are ty ## TODOs -* Add more compute units: Process, AppEngine unit, etc. +* Add more compute units: AppEngine unit, etc. * Add Device (mobile) and Web Browser. * Decide if lower case strings only. * Consider to add optional/required for each attribute and combination of attributes @@ -113,6 +114,19 @@ Note: The resource attribute `faas.instance` differs from the span attribute `fa [ARN]:https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html [FunctionDirectory]: https://github.com/Azure/azure-functions-host/wiki/Retrieving-information-about-the-currently-running-function +### Process + +**type:** `process` + +**Description:** An operating system process. + +| Attribute | Description | Example | Required | +|---|---|---|--| +| process.pid | Process identifier (PID). | `1234` | Yes | +| process.name | Last component of the path to the executable. | `otelcol` | Yes | +| process.commandline | The full command used to launch the process. | `cmd/otecol --config=config.yaml` | No | +| process.owner | The username of the user that owns the process. | `root` | No | + ## Deployment Service Attributes defining a deployment service (e.g. Kubernetes).