Skip to content

Commit

Permalink
Added semantic conventions for the "process" resource
Browse files Browse the repository at this point in the history
  • Loading branch information
james-bebbington committed Jun 8, 2020
1 parent 1729bc4 commit 1de8bf1
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion specification/resource/semantic_conventions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
Expand Down Expand Up @@ -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).
Expand Down

0 comments on commit 1de8bf1

Please sign in to comment.