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/otel/sdk-metrics.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1269,7 +1269,7 @@ operations, `error.type` MUST NOT be set. For unsuccessful export operations, `e
1269
1269
|[`http.response.status_code`](/docs/registry/attributes/http.md)| int | The HTTP status code of the last HTTP request performed in scope of this export call. |`200`|`Recommended` when applicable ||
1270
1270
|[`otel.component.name`](/docs/registry/attributes/otel.md)| string | A name uniquely identifying the instance of the OpenTelemetry component within its containing SDK instance. [2]|`otlp_grpc_span_exporter/0`; `custom-name`|`Recommended`||
1271
1271
|[`otel.component.type`](/docs/registry/attributes/otel.md)| string | A name identifying the type of the OpenTelemetry component. [3]|`otlp_grpc_span_exporter`; `com.example.MySpanExporter`|`Recommended`||
1272
-
|[`rpc.status_code`](/docs/registry/attributes/rpc.md)| string | The gRPC status code of the last gRPC request performed in scope of this export call. [4]|`OK`; `DEADLINE_EXCEEDED`; `-32602`; `404`|`Recommended` when applicable ||
1272
+
|[`rpc.status_code`](/docs/registry/attributes/rpc.md)| string | The gRPC status code of the last gRPC request performed in scope of this export call. [4]|`OK`; `DEADLINE_EXCEEDED`; `-32602`|`Recommended` when applicable ||
1273
1273
|[`server.address`](/docs/registry/attributes/server.md)| string | Server domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. [5]|`example.com`; `10.1.2.80`; `/tmp/my.sock`|`Recommended` when applicable ||
1274
1274
|[`server.port`](/docs/registry/attributes/server.md)| int | Server port number. [6]|`80`; `8080`; `443`|`Recommended` when applicable ||
Copy file name to clipboardExpand all lines: docs/registry/attributes/rpc.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ This document defines attributes for remote procedure calls.
24
24
| <aid="rpc-message-uncompressed-size"href="#rpc-message-uncompressed-size">`rpc.message.uncompressed_size`</a> | int | Uncompressed size of the message in bytes. |||
25
25
| <aid="rpc-method"href="#rpc-method">`rpc.method`</a> | string | This is the logical name of the method from the RPC interface perspective. |`exampleMethod`||
26
26
| <aid="rpc-service"href="#rpc-service">`rpc.service`</a> | string | The full (logical) name of the service being called, including its package name, if applicable. |`myservice.EchoService`||
27
-
| <aid="rpc-status-code"href="#rpc-status-code">`rpc.status_code`</a> | string | Status code of the RPC call. [6]|`OK`; `DEADLINE_EXCEEDED`; `-32602`; `404`||
27
+
| <aid="rpc-status-code"href="#rpc-status-code">`rpc.status_code`</a> | string | Status code of the RPC call. [6]|`OK`; `DEADLINE_EXCEEDED`; `-32602`||
28
28
| <aid="rpc-system"href="#rpc-system">`rpc.system`</a> | string | A string identifying the remoting system. See below for a list of well-known identifiers. |`grpc`; `java_rmi`; `dotnet_wcf`||
29
29
30
30
**[1]`rpc.connect_rpc.request.metadata.<key>`:** Instrumentations SHOULD require an explicit configuration of which metadata values are to be captured.
| <aid="rpc-connect-rpc-error-code"href="#rpc-connect-rpc-error-code">`rpc.connect_rpc.error_code`</a> | string | Deprecated, use `rpc.status_code` attribute instead. |`cancelled`; `unknown`; `invalid_argument`|<br>Replaced by `rpc.status_code`. |
93
93
| <aid="rpc-grpc-status-code"href="#rpc-grpc-status-code">`rpc.grpc.status_code`</a> | int | Deprecated, use string representation on the `rpc.status_code` attribute instead. |`0`; `1`; `2`|<br>Use string representation of the gRPC status code on the `rpc.status_code` attribute. |
94
94
| <aid="rpc-jsonrpc-error-code"href="#rpc-jsonrpc-error-code">`rpc.jsonrpc.error_code`</a> | int | Deprecated, use string representation on the `rpc.status_code` attribute instead. |`-32700`; `100`|<br>Use string representation of the error code on the `rpc.status_code` attribute. |
95
-
| <aid="rpc-jsonrpc-error-message"href="#rpc-jsonrpc-error-message">`rpc.jsonrpc.error_message`</a> | string | Deprecated, use span status description or `error.message` attribute on other signals. |`Parse error`; `User already exists`|<br>Use the span status description to record error message or `error.message` attribute on other signals. |
95
+
| <aid="rpc-jsonrpc-error-message"href="#rpc-jsonrpc-error-message">`rpc.jsonrpc.error_message`</a> | string | Deprecated, use span status description or `error.message` attribute on other signals. |`Parse error`; `User already exists`|<br>Use the span status description or `error.message` attribute on other signals. |
Copy file name to clipboardExpand all lines: docs/rpc/connect-rpc.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ the raw error message SHOULD be recorded as the span status description.
38
38
|---|---|---|---|---|---|
39
39
|[`server.address`](/docs/registry/attributes/server.md)| string | RPC server [host name](https://grpc.github.io/grpc/core/md_doc_naming.html). [1]|`example.com`; `10.1.2.80`; `/tmp/my.sock`|`Required`||
40
40
|[`error.type`](/docs/registry/attributes/error.md)| string | Describes a class of error the operation ended with. [2]|`timeout`; `java.net.UnknownHostException`; `server_certificate_invalid`; `500`|`Conditionally Required` If and only if the operation failed. ||
41
-
|[`rpc.status_code`](/docs/registry/attributes/rpc.md)| string | The [error code](https://connectrpc.com//docs/protocol/#error-codes) of the Connect response. [3]|`OK`; `DEADLINE_EXCEEDED`; `-32602`; `404`|`Conditionally Required` if available. ||
41
+
|[`rpc.status_code`](/docs/registry/attributes/rpc.md)| string | The [error code](https://connectrpc.com//docs/protocol/#error-codes) of the Connect response. [3]|`OK`; `DEADLINE_EXCEEDED`; `-32602`|`Conditionally Required` if available. ||
42
42
|[`server.port`](/docs/registry/attributes/server.md)| int | Server port number. [4]|`80`; `8080`; `443`|`Conditionally Required`[5]||
43
43
|[`network.peer.address`](/docs/registry/attributes/network.md)| string | Peer address of the network connection - IP address or Unix domain socket name. |`10.1.2.80`; `/tmp/my.sock`|`Recommended`||
44
44
|[`network.peer.port`](/docs/registry/attributes/network.md)| int | Peer port number of the network connection. |`65123`|`Recommended` If `network.peer.address` is set. ||
@@ -169,7 +169,7 @@ the raw error message SHOULD be recorded as the span status description.
169
169
|---|---|---|---|---|---|
170
170
|[`server.address`](/docs/registry/attributes/server.md)| string | RPC server [host name](https://grpc.github.io/grpc/core/md_doc_naming.html). [1]|`example.com`; `10.1.2.80`; `/tmp/my.sock`|`Required`||
171
171
|[`error.type`](/docs/registry/attributes/error.md)| string | Describes a class of error the operation ended with. [2]|`timeout`; `java.net.UnknownHostException`; `server_certificate_invalid`; `500`|`Conditionally Required` If and only if the operation failed. ||
172
-
|[`rpc.status_code`](/docs/registry/attributes/rpc.md)| string | The [error code](https://connectrpc.com//docs/protocol/#error-codes) of the Connect response. [3]|`OK`; `DEADLINE_EXCEEDED`; `-32602`; `404`|`Conditionally Required` if available. ||
172
+
|[`rpc.status_code`](/docs/registry/attributes/rpc.md)| string | The [error code](https://connectrpc.com//docs/protocol/#error-codes) of the Connect response. [3]|`OK`; `DEADLINE_EXCEEDED`; `-32602`|`Conditionally Required` if available. ||
173
173
|[`server.port`](/docs/registry/attributes/server.md)| int | Server port number. [4]|`80`; `8080`; `443`|`Conditionally Required`[5]||
174
174
|[`client.address`](/docs/registry/attributes/client.md)| string | Client address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. [6]|`client.example.com`; `10.1.2.80`; `/tmp/my.sock`|`Recommended`||
175
175
|[`client.port`](/docs/registry/attributes/client.md)| int | Client port number. [7]|`65123`|`Recommended`||
Copy file name to clipboardExpand all lines: docs/rpc/grpc.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ for the details on which values classify as errors.
37
37
|---|---|---|---|---|---|
38
38
|[`rpc.method`](/docs/registry/attributes/rpc.md)| string | This is the logical name of the method from the RPC interface perspective. [1]|`exampleMethod`|`Required`||
39
39
|[`rpc.service`](/docs/registry/attributes/rpc.md)| string | The full (logical) name of the service being called, including its package name, if applicable. [2]|`myservice.EchoService`|`Required`||
40
-
|[`rpc.status_code`](/docs/registry/attributes/rpc.md)| string | The string representation of the [status code](https://github.com/grpc/grpc/blob/v1.75.0/doc/statuscodes.md) returned by the server or generated by the client. [3]|`OK`; `DEADLINE_EXCEEDED`; `-32602`; `404`|`Required`||
40
+
|[`rpc.status_code`](/docs/registry/attributes/rpc.md)| string | The string representation of the [status code](https://github.com/grpc/grpc/blob/v1.75.0/doc/statuscodes.md) returned by the server or generated by the client. [3]|`OK`; `DEADLINE_EXCEEDED`; `-32602`|`Required`||
41
41
|[`server.address`](/docs/registry/attributes/server.md)| string | RPC server [host name](https://grpc.github.io/grpc/core/md_doc_naming.html). [4]|`example.com`; `10.1.2.80`; `/tmp/my.sock`|`Required`||
42
42
|[`error.type`](/docs/registry/attributes/error.md)| string | Describes a class of error the operation ended with. [5]|`timeout`; `java.net.UnknownHostException`; `server_certificate_invalid`; `500`|`Conditionally Required` If and only if the operation failed. ||
43
43
|[`server.port`](/docs/registry/attributes/server.md)| int | Server port number. [6]|`80`; `8080`; `443`|`Conditionally Required`[7]||
@@ -165,7 +165,7 @@ for the details on which values classify as errors.
|[`rpc.status_code`](/docs/registry/attributes/rpc.md)| string | The string representation of the [status code](https://github.com/grpc/grpc/blob/v1.75.0/doc/statuscodes.md) returned by the server. [1]|`OK`; `DEADLINE_EXCEEDED`; `-32602`; `404`|`Required`||
168
+
|[`rpc.status_code`](/docs/registry/attributes/rpc.md)| string | The string representation of the [status code](https://github.com/grpc/grpc/blob/v1.75.0/doc/statuscodes.md) returned by the server. [1]|`OK`; `DEADLINE_EXCEEDED`; `-32602`|`Required`||
169
169
|[`server.address`](/docs/registry/attributes/server.md)| string | RPC server [host name](https://grpc.github.io/grpc/core/md_doc_naming.html). [2]|`example.com`; `10.1.2.80`; `/tmp/my.sock`|`Required`||
170
170
|[`error.type`](/docs/registry/attributes/error.md)| string | Describes a class of error the operation ended with. [3]|`timeout`; `java.net.UnknownHostException`; `server_certificate_invalid`; `500`|`Conditionally Required` If and only if the operation failed. ||
171
171
|[`server.port`](/docs/registry/attributes/server.md)| int | Server port number. [4]|`80`; `8080`; `443`|`Conditionally Required`[5]||
Copy file name to clipboardExpand all lines: docs/rpc/json-rpc.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ the error message SHOULD be recorded as the span status description.
42
42
|[`server.address`](/docs/registry/attributes/server.md)| string | RPC server [host name](https://grpc.github.io/grpc/core/md_doc_naming.html). [2]|`example.com`; `10.1.2.80`; `/tmp/my.sock`|`Required`||
43
43
|[`error.type`](/docs/registry/attributes/error.md)| string | Describes a class of error the operation ended with. [3]|`timeout`; `java.net.UnknownHostException`; `server_certificate_invalid`; `500`|`Conditionally Required` If and only if the operation failed. ||
44
44
|[`rpc.jsonrpc.version`](/docs/registry/attributes/rpc.md)| string | Protocol version as in `jsonrpc` property of request/response. Since JSON-RPC 1.0 doesn't specify this, the value can be omitted. |`2.0`; `1.0`|`Conditionally Required` If other than the default version (`1.0`) ||
45
-
|[`rpc.status_code`](/docs/registry/attributes/rpc.md)| string | The [`error.code`](https://www.jsonrpc.org/specification#error_object) property of response if it is an error response recorded as a string. [4]|`OK`; `DEADLINE_EXCEEDED`; `-32602`; `404`|`Conditionally Required` when available ||
45
+
|[`rpc.status_code`](/docs/registry/attributes/rpc.md)| string | The [`error.code`](https://www.jsonrpc.org/specification#error_object) property of response if it is an error response recorded as a string. [4]|`OK`; `DEADLINE_EXCEEDED`; `-32602`|`Conditionally Required` when available ||
46
46
|[`server.port`](/docs/registry/attributes/server.md)| int | Server port number. [5]|`80`; `8080`; `443`|`Conditionally Required`[6]||
47
47
|[`network.peer.address`](/docs/registry/attributes/network.md)| string | Peer address of the network connection - IP address or Unix domain socket name. |`10.1.2.80`; `/tmp/my.sock`|`Recommended`||
48
48
|[`network.peer.port`](/docs/registry/attributes/network.md)| int | Peer port number of the network connection. |`65123`|`Recommended` If `network.peer.address` is set. ||
@@ -160,7 +160,7 @@ the error message SHOULD be recorded as the span status description.
160
160
|[`server.address`](/docs/registry/attributes/server.md)| string | RPC server [host name](https://grpc.github.io/grpc/core/md_doc_naming.html). [2]|`example.com`; `10.1.2.80`; `/tmp/my.sock`|`Required`||
161
161
|[`error.type`](/docs/registry/attributes/error.md)| string | Describes a class of error the operation ended with. [3]|`timeout`; `java.net.UnknownHostException`; `server_certificate_invalid`; `500`|`Conditionally Required` If and only if the operation failed. ||
162
162
|[`rpc.jsonrpc.version`](/docs/registry/attributes/rpc.md)| string | Protocol version as in `jsonrpc` property of request/response. Since JSON-RPC 1.0 doesn't specify this, the value can be omitted. |`2.0`; `1.0`|`Conditionally Required` If other than the default version (`1.0`) ||
163
-
|[`rpc.status_code`](/docs/registry/attributes/rpc.md)| string | The [`error.code`](https://www.jsonrpc.org/specification#error_object) property of response recorded as a string. [4]|`OK`; `DEADLINE_EXCEEDED`; `-32602`; `404`|`Conditionally Required` when available ||
163
+
|[`rpc.status_code`](/docs/registry/attributes/rpc.md)| string | The [`error.code`](https://www.jsonrpc.org/specification#error_object) property of response recorded as a string. [4]|`OK`; `DEADLINE_EXCEEDED`; `-32602`|`Conditionally Required` when available ||
164
164
|[`server.port`](/docs/registry/attributes/server.md)| int | Server port number. [5]|`80`; `8080`; `443`|`Conditionally Required`[6]||
165
165
|[`client.address`](/docs/registry/attributes/client.md)| string | Client address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. [7]|`client.example.com`; `10.1.2.80`; `/tmp/my.sock`|`Recommended`||
166
166
|[`client.port`](/docs/registry/attributes/client.md)| int | Client port number. [8]|`65123`|`Recommended`||
0 commit comments