Add `messaging.destination.partition.id` to metric attributes (#814)
This commit is contained in:
parent
f1be1511d9
commit
eb7495599e
|
@ -0,0 +1,4 @@
|
|||
change_type: enhancement
|
||||
component: messaging
|
||||
note: Adds `messaging.destination.partition.id`` to the messaging attributes
|
||||
issues: [ 814 ]
|
|
@ -37,6 +37,7 @@ All messaging metrics share the same set of attributes:
|
|||
| [`messaging.destination.name`](../attributes-registry/messaging.md) | string | The message destination name [3] | `MyQueue`; `MyTopic` | `Conditionally Required` [4] |  |
|
||||
| [`messaging.destination.template`](../attributes-registry/messaging.md) | string | Low cardinality representation of the messaging destination name [5] | `/customers/{customerId}` | `Conditionally Required` if available. |  |
|
||||
| [`server.address`](../attributes-registry/server.md) | string | Server domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. [6] | `example.com`; `10.1.2.80`; `/tmp/my.sock` | `Conditionally Required` If available. |  |
|
||||
| [`messaging.destination.partition.id`](../attributes-registry/messaging.md) | string | The identifier of the partition messages are sent to or received from, unique within the `messaging.destination.name`. | `1` | `Recommended` |  |
|
||||
| [`server.port`](../attributes-registry/server.md) | int | Server port number. [7] | `80`; `8080`; `443` | `Recommended` |  |
|
||||
|
||||
**[1]:** The `error.type` SHOULD be predictable and SHOULD have low cardinality.
|
||||
|
|
|
@ -6,6 +6,7 @@ groups:
|
|||
attributes:
|
||||
- ref: messaging.system
|
||||
requirement_level: required
|
||||
- ref: messaging.destination.partition.id
|
||||
- ref: error.type
|
||||
examples: ['amqp:decode-error', 'KAFKA_STORAGE_ERROR', 'channel-error']
|
||||
requirement_level:
|
||||
|
|
Loading…
Reference in New Issue