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/messaging/azure-messaging.md
+18-4Lines changed: 18 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,8 +63,11 @@ The following additional attributes are defined:
63
63
|[`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. [9]|`example.com`; `10.1.2.80`; `/tmp/my.sock`|`Conditionally Required` If available. ||
|[`messaging.message.id`](/docs/registry/attributes/messaging.md)| string | A value used by the messaging system as an identifier for the message, represented as a string. |`452a7c7c7c7048c2f887f61572b18fc2`|`Recommended` If span describes operation on a single message. ||
66
+
|[`messaging.message.payload_compressed_size_bytes`](/docs/registry/attributes/messaging.md)| int | The compressed size of the message payload in bytes. [10]|`2048`|`Remove`|<br>Obsoleted. |
67
+
|[`messaging.message.payload_size_bytes`](/docs/registry/attributes/messaging.md)| int | The (uncompressed) size of the message payload in bytes. Also use this attribute if it is unknown whether the compressed or uncompressed payload size is reported. [11]|`2738`|`Migrate`|<br>Replaced by `messaging.message.envelope.size`. |
68
+
|[`messaging.operation`](/docs/registry/attributes/messaging.md)| string | Deprecated, use `messaging.operation.type` instead. |`publish`; `create`; `process`|`Migrate`|<br>Replaced by `messaging.operation.type`. |
66
69
|[`messaging.servicebus.message.enqueued_time`](/docs/registry/attributes/messaging.md)| int | The UTC epoch seconds at which the message has been accepted and stored in the entity. |`1701393730`|`Recommended`||
67
-
|[`server.port`](/docs/registry/attributes/server.md)| int | Server port number. [10]|`80`; `8080`; `443`|`Recommended`||
70
+
|[`server.port`](/docs/registry/attributes/server.md)| int | Server port number. [12]|`80`; `8080`; `443`|`Recommended`||
68
71
69
72
**[1]`messaging.operation.name`:** The operation name SHOULD match one of the following values:
70
73
@@ -112,7 +115,11 @@ the broker doesn't have such notion, the destination name SHOULD uniquely identi
112
115
113
116
**[9]`server.address`:** Server domain name of the broker if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name.
114
117
115
-
**[10]`server.port`:** When observed from the client side, and when communicating through an intermediary, `server.port` SHOULD represent the server port behind any intermediaries, for example proxies, if it's available.
118
+
**[10]`messaging.message.payload_compressed_size_bytes`:** Only if span represents operation on a single message.
119
+
120
+
**[11]`messaging.message.payload_size_bytes`:** Only if span represents operation on a single message.
121
+
122
+
**[12]`server.port`:** When observed from the client side, and when communicating through an intermediary, `server.port` SHOULD represent the server port behind any intermediaries, for example proxies, if it's available.
116
123
117
124
The following attributes can be important for making sampling decisions
118
125
and SHOULD be provided **at span creation time** (if provided at all):
@@ -186,7 +193,10 @@ The following additional attributes are defined:
186
193
|[`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. [8]|`example.com`; `10.1.2.80`; `/tmp/my.sock`|`Conditionally Required` If available. ||
187
194
|[`messaging.eventhubs.message.enqueued_time`](/docs/registry/attributes/messaging.md)| int | The UTC epoch seconds at which the message has been accepted and stored in the entity. |`1701393730`|`Recommended`||
188
195
|[`messaging.message.id`](/docs/registry/attributes/messaging.md)| string | A value used by the messaging system as an identifier for the message, represented as a string. |`452a7c7c7c7048c2f887f61572b18fc2`|`Recommended` If span describes operation on a single message. ||
189
-
|[`server.port`](/docs/registry/attributes/server.md)| int | Server port number. [9]|`80`; `8080`; `443`|`Recommended`||
196
+
|[`messaging.message.payload_compressed_size_bytes`](/docs/registry/attributes/messaging.md)| int | The compressed size of the message payload in bytes. [9]|`2048`|`Remove`|<br>Obsoleted. |
197
+
|[`messaging.message.payload_size_bytes`](/docs/registry/attributes/messaging.md)| int | The (uncompressed) size of the message payload in bytes. Also use this attribute if it is unknown whether the compressed or uncompressed payload size is reported. [10]|`2738`|`Migrate`|<br>Replaced by `messaging.message.envelope.size`. |
198
+
|[`messaging.operation`](/docs/registry/attributes/messaging.md)| string | Deprecated, use `messaging.operation.type` instead. |`publish`; `create`; `process`|`Migrate`|<br>Replaced by `messaging.operation.type`. |
199
+
|[`server.port`](/docs/registry/attributes/server.md)| int | Server port number. [11]|`80`; `8080`; `443`|`Recommended`||
190
200
191
201
**[1]`messaging.operation.name`:** The operation name SHOULD match one of the following values:
192
202
@@ -233,7 +243,11 @@ the broker doesn't have such notion, the destination name SHOULD uniquely identi
233
243
234
244
**[8]`server.address`:** Server domain name of the broker if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name.
235
245
236
-
**[9]`server.port`:** When observed from the client side, and when communicating through an intermediary, `server.port` SHOULD represent the server port behind any intermediaries, for example proxies, if it's available.
246
+
**[9]`messaging.message.payload_compressed_size_bytes`:** Only if span represents operation on a single message.
247
+
248
+
**[10]`messaging.message.payload_size_bytes`:** Only if span represents operation on a single message.
249
+
250
+
**[11]`server.port`:** When observed from the client side, and when communicating through an intermediary, `server.port` SHOULD represent the server port behind any intermediaries, for example proxies, if it's available.
237
251
238
252
The following attributes can be important for making sampling decisions
239
253
and SHOULD be provided **at span creation time** (if provided at all):
Copy file name to clipboardExpand all lines: docs/messaging/gcp-pubsub.md
+9-2Lines changed: 9 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,10 @@ For Google Cloud Pub/Sub, the following additional attributes are defined:
63
63
|[`messaging.gcp_pubsub.message.ack_id`](/docs/registry/attributes/messaging.md)| string | The ack id for a given message. |`ack_id`|`Recommended`||
64
64
|[`messaging.gcp_pubsub.message.delivery_attempt`](/docs/registry/attributes/messaging.md)| int | The delivery attempt for a given message. |`2`|`Recommended`||
65
65
|[`messaging.message.id`](/docs/registry/attributes/messaging.md)| string | A value used by the messaging system as an identifier for the message, represented as a string. |`452a7c7c7c7048c2f887f61572b18fc2`|`Recommended` If span describes operation on a single message. ||
66
-
|[`server.port`](/docs/registry/attributes/server.md)| int | Server port number. [9]|`80`; `8080`; `443`|`Recommended`||
66
+
|[`messaging.message.payload_compressed_size_bytes`](/docs/registry/attributes/messaging.md)| int | The compressed size of the message payload in bytes. [9]|`2048`|`Remove`|<br>Obsoleted. |
67
+
|[`messaging.message.payload_size_bytes`](/docs/registry/attributes/messaging.md)| int | The (uncompressed) size of the message payload in bytes. Also use this attribute if it is unknown whether the compressed or uncompressed payload size is reported. [10]|`2738`|`Migrate`|<br>Replaced by `messaging.message.envelope.size`. |
68
+
|[`messaging.operation`](/docs/registry/attributes/messaging.md)| string | Deprecated, use `messaging.operation.type` instead. |`publish`; `create`; `process`|`Migrate`|<br>Replaced by `messaging.operation.type`. |
69
+
|[`server.port`](/docs/registry/attributes/server.md)| int | Server port number. [11]|`80`; `8080`; `443`|`Recommended`||
67
70
68
71
**[1]`messaging.operation.name`:** The `messaging.operation.name` has the following list of well-known values in the context of Google Pub/Sub.
69
72
If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
@@ -107,7 +110,11 @@ the broker doesn't have such notion, the destination name SHOULD uniquely identi
107
110
108
111
**[8]`server.address`:** Server domain name of the broker if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name.
109
112
110
-
**[9]`server.port`:** When observed from the client side, and when communicating through an intermediary, `server.port` SHOULD represent the server port behind any intermediaries, for example proxies, if it's available.
113
+
**[9]`messaging.message.payload_compressed_size_bytes`:** Only if span represents operation on a single message.
114
+
115
+
**[10]`messaging.message.payload_size_bytes`:** Only if span represents operation on a single message.
116
+
117
+
**[11]`server.port`:** When observed from the client side, and when communicating through an intermediary, `server.port` SHOULD represent the server port behind any intermediaries, for example proxies, if it's available.
111
118
112
119
The following attributes can be important for making sampling decisions
113
120
and SHOULD be provided **at span creation time** (if provided at all):
Copy file name to clipboardExpand all lines: docs/messaging/kafka.md
+11-4Lines changed: 11 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,8 +72,11 @@ For Apache Kafka, the following additional attributes are defined:
72
72
|[`messaging.kafka.message.key`](/docs/registry/attributes/messaging.md)| string | Message keys in Kafka are used for grouping alike messages to ensure they're processed on the same partition. They differ from `messaging.message.id` in that they're not unique. If the key is `null`, the attribute MUST NOT be set. [9]|`myKey`|`Recommended` If span describes operation on a single message. ||
73
73
|[`messaging.kafka.offset`](/docs/registry/attributes/messaging.md)| int | The offset of a record in the corresponding Kafka partition. |`42`|`Recommended` If span describes operation on a single message. ||
74
74
|[`messaging.message.id`](/docs/registry/attributes/messaging.md)| string | A value used by the messaging system as an identifier for the message, represented as a string. |`452a7c7c7c7048c2f887f61572b18fc2`|`Recommended` If span describes operation on a single message. ||
75
-
|[`server.port`](/docs/registry/attributes/server.md)| int | Server port number. [10]|`80`; `8080`; `443`|`Recommended`||
76
-
|[`messaging.message.body.size`](/docs/registry/attributes/messaging.md)| int | The size of the message body in bytes. Only applicable for spans describing single message operations. [11]|`1439`|`Opt-In`||
75
+
|[`messaging.message.payload_compressed_size_bytes`](/docs/registry/attributes/messaging.md)| int | The compressed size of the message payload in bytes. [10]|`2048`|`Remove`|<br>Obsoleted. |
76
+
|[`messaging.message.payload_size_bytes`](/docs/registry/attributes/messaging.md)| int | The (uncompressed) size of the message payload in bytes. Also use this attribute if it is unknown whether the compressed or uncompressed payload size is reported. [11]|`2738`|`Migrate`|<br>Replaced by `messaging.message.envelope.size`. |
77
+
|[`messaging.operation`](/docs/registry/attributes/messaging.md)| string | Deprecated, use `messaging.operation.type` instead. |`publish`; `create`; `process`|`Migrate`|<br>Replaced by `messaging.operation.type`. |
78
+
|[`server.port`](/docs/registry/attributes/server.md)| int | Server port number. [12]|`80`; `8080`; `443`|`Recommended`||
79
+
|[`messaging.message.body.size`](/docs/registry/attributes/messaging.md)| int | The size of the message body in bytes. Only applicable for spans describing single message operations. [13]|`1439`|`Opt-In`||
77
80
78
81
**[1]`error.type`:** The `error.type` SHOULD be predictable, and SHOULD have low cardinality.
79
82
@@ -112,9 +115,13 @@ the broker doesn't have such notion, the destination name SHOULD uniquely identi
112
115
113
116
**[9]`messaging.kafka.message.key`:** If the key type is not string, it's string representation has to be supplied for the attribute. If the key has no unambiguous, canonical string form, don't include its value.
114
117
115
-
**[10]`server.port`:**When observed from the client side, and when communicating through an intermediary, `server.port` SHOULD represent the server port behind any intermediaries, for example proxies, if it's available.
118
+
**[10]`messaging.message.payload_compressed_size_bytes`:**Only if span represents operation on a single message.
116
119
117
-
**[11]`messaging.message.body.size`:** This can refer to both the compressed or uncompressed body size. If both sizes are known, the uncompressed
120
+
**[11]`messaging.message.payload_size_bytes`:** Only if span represents operation on a single message.
121
+
122
+
**[12]`server.port`:** When observed from the client side, and when communicating through an intermediary, `server.port` SHOULD represent the server port behind any intermediaries, for example proxies, if it's available.
123
+
124
+
**[13]`messaging.message.body.size`:** This can refer to both the compressed or uncompressed body size. If both sizes are known, the uncompressed
118
125
body size should be used.
119
126
120
127
The following attributes can be important for making sampling decisions
0 commit comments