You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/attributes-registry/process.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ An operating system process.
22
22
| <aid="process-executable-build-id-gnu"href="#process-executable-build-id-gnu">`process.executable.build_id.gnu`</a> | string | The GNU build ID as found in the `.note.gnu.build-id` ELF section (hex string). |`c89b11207f6479603b0d49bf291c092c2b719293`||
23
23
| <aid="process-executable-build-id-go"href="#process-executable-build-id-go">`process.executable.build_id.go`</a> | string | The Go build ID as retrieved by `go tool buildid <go executable>`. |`foh3mEXu7BLZjsN9pOwG/kATcXlYVCDEFouRMQed_/WwRFB1hPo9LBkekthSPG/x8hMC8emW2cCjXD0_1aY`||
24
24
| <aid="process-executable-build-id-htlhash"href="#process-executable-build-id-htlhash">`process.executable.build_id.htlhash`</a> | string | Profiling specific build ID for executables. See the OTel specification for Profiles for more information. |`600DCAFE4A110000F2BF38C493F5FB92`||
25
-
| <aid="process-executable-name"href="#process-executable-name">`process.executable.name`</a> | 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`||
25
+
| <aid="process-executable-name"href="#process-executable-name">`process.executable.name`</a> | string | The name of the process executable. On Linux based systems, this SHOULD be set to the base name of the target of `/proc/[pid]/exe`. On Windows, this SHOULD be set to the base name of `GetProcessImageFileNameW`. |`otelcol`||
26
26
| <aid="process-executable-path"href="#process-executable-path">`process.executable.path`</a> | 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`||
27
27
| <aid="process-exit-code"href="#process-exit-code">`process.exit.code`</a> | int | The exit code of the process. |`127`||
28
28
| <aid="process-exit-time"href="#process-exit-time">`process.exit.time`</a> | string | The date and time the process exited, in ISO 8601 format. |`2023-11-21T09:26:12.315Z`||
| <aid="rpc-connect-rpc-error-code"href="#rpc-connect-rpc-error-code">`rpc.connect_rpc.error_code`</a> | string | The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. |`cancelled`; `unknown`; `invalid_argument`||
15
+
| <aid="rpc-connect-rpc-error-code"href="#rpc-connect-rpc-error-code">`rpc.connect_rpc.error_code`</a> | string | The [error codes](https://connectrpc.com//docs/protocol/#error-codes) of the Connect request. Error codes are always string values. |`cancelled`; `unknown`; `invalid_argument`||
16
16
| <aid="rpc-connect-rpc-request-metadata"href="#rpc-connect-rpc-request-metadata">`rpc.connect_rpc.request.metadata.<key>`</a> | string[]| Connect request metadata, `<key>` being the normalized Connect Metadata key (lowercase), the value being the metadata values. [1]|`rpc.request.metadata.my-custom-metadata-attribute=["1.2.3.4", "1.2.3.5"]`||
17
17
| <aid="rpc-connect-rpc-response-metadata"href="#rpc-connect-rpc-response-metadata">`rpc.connect_rpc.response.metadata.<key>`</a> | string[]| Connect response metadata, `<key>` being the normalized Connect Metadata key (lowercase), the value being the metadata values. [2]|`rpc.response.metadata.my-custom-metadata-attribute=["attribute_value"]`||
18
18
| <aid="rpc-grpc-request-metadata"href="#rpc-grpc-request-metadata">`rpc.grpc.request.metadata.<key>`</a> | string[]| gRPC request metadata, `<key>` being the normalized gRPC Metadata key (lowercase), the value being the metadata values. [3]|`rpc.grpc.request.metadata.my-custom-metadata-attribute=["1.2.3.4", "1.2.3.5"]`||
Copy file name to clipboardexpand all lines: docs/attributes-registry/url.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -71,8 +71,8 @@ This list is subject to change over time.
71
71
When a query string value is redacted, the query string key SHOULD still be preserved, e.g.
72
72
`q=OpenTelemetry&sig=REDACTED`.
73
73
74
-
**[7]`url.registered_domain`:** This value can be determined precisely with the [public suffix list](http://publicsuffix.org). For example, the registered domain for `foo.example.com` is `example.com`. Trying to approximate this by simply taking the last two labels will not work well for TLDs such as `co.uk`.
74
+
**[7]`url.registered_domain`:** This value can be determined precisely with the [public suffix list](https://publicsuffix.org/). For example, the registered domain for `foo.example.com` is `example.com`. Trying to approximate this by simply taking the last two labels will not work well for TLDs such as `co.uk`.
75
75
76
76
**[8]`url.subdomain`:** The subdomain portion of `www.east.mydomain.co.uk` is `east`. If the domain has multiple levels of subdomain, such as `sub2.sub1.example.com`, the subdomain field should contain `sub2.sub1`, with no trailing period.
77
77
78
-
**[9]`url.top_level_domain`:** This value can be determined precisely with the [public suffix list](http://publicsuffix.org).
78
+
**[9]`url.top_level_domain`:** This value can be determined precisely with the [public suffix list](https://publicsuffix.org/).
|[`process.executable.name`](/docs/attributes-registry/process.md)| 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`|`Required`||
32
+
|[`process.executable.name`](/docs/attributes-registry/process.md)| string | The name of the process executable. On Linux based systems, this SHOULD be set to the base name of the target of `/proc/[pid]/exe`. On Windows, this SHOULD be set to the base name of `GetProcessImageFileNameW`. |`otelcol`|`Required`||
33
33
|[`process.exit.code`](/docs/attributes-registry/process.md)| int | The exit code of the process. |`127`|`Required`||
34
34
|[`process.pid`](/docs/attributes-registry/process.md)| int | Process identifier (PID). |`1234`|`Required`||
35
35
|[`error.type`](/docs/attributes-registry/error.md)| string | Describes a class of error the operation ended with. [1]|`timeout`; `java.net.UnknownHostException`; `server_certificate_invalid`; `500`|`Conditionally Required` if and only if process.exit.code is not 0 ||
|[`process.executable.name`](/docs/attributes-registry/process.md)| 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`|`Required`||
83
+
|[`process.executable.name`](/docs/attributes-registry/process.md)| string | The name of the process executable. On Linux based systems, this SHOULD be set to the base name of the target of `/proc/[pid]/exe`. On Windows, this SHOULD be set to the base name of `GetProcessImageFileNameW`. |`otelcol`|`Required`||
84
84
|[`process.exit.code`](/docs/attributes-registry/process.md)| int | The exit code of the process. |`127`|`Required`||
85
85
|[`process.pid`](/docs/attributes-registry/process.md)| int | Process identifier (PID). |`1234`|`Required`||
86
86
|[`error.type`](/docs/attributes-registry/error.md)| string | Describes a class of error the operation ended with. [1]|`timeout`; `java.net.UnknownHostException`; `server_certificate_invalid`; `500`|`Conditionally Required` if and only if process.exit.code is not 0 ||
0 commit comments