[chore] Cleanup minor issues in messaging semconv (#859)
This commit is contained in:
parent
8df2100849
commit
d8b6c93ff6
|
|
@ -54,7 +54,7 @@ The following additional attributes are defined:
|
|||
<!-- semconv messaging.eventhubs -->
|
||||
| Attribute | Type | Description | Examples | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Stability |
|
||||
|---|---|---|---|---|---|
|
||||
| [`messaging.destination.partition.id`](../attributes-registry/messaging.md) | string | "String representation of the partition id messages are sent to or received from, unique within the Event Hub." | `1` | `Conditionally Required` If available. |  |
|
||||
| [`messaging.destination.partition.id`](../attributes-registry/messaging.md) | string | String representation of the partition id messages are sent to or received from, unique within the Event Hub. | `1` | `Conditionally Required` If available. |  |
|
||||
| [`messaging.eventhubs.consumer.group`](../attributes-registry/messaging.md) | string | The name of the consumer group the event consumer is associated with. | `indexer` | `Conditionally Required` If not default ("$Default"). |  |
|
||||
| [`messaging.eventhubs.message.enqueued_time`](../attributes-registry/messaging.md) | int | The UTC epoch seconds at which the message has been accepted and stored in the entity. | `1701393730` | `Recommended` |  |
|
||||
<!-- endsemconv -->
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ The Semantic Conventions for [Google Cloud Pub/Sub](https://cloud.google.com/pub
|
|||
## Span attributes
|
||||
|
||||
For Google Cloud Pub/Sub, the following additional attributes are defined:
|
||||
<<<<<<< HEAD
|
||||
|
||||
<!-- semconv messaging.gcp_pubsub(full,tag=tech-specific) -->
|
||||
| Attribute | Type | Description | Examples | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Stability |
|
||||
|---|---|---|---|---|---|
|
||||
|
|
|
|||
|
|
@ -24,12 +24,11 @@ described on this page.
|
|||
|
||||
For Apache Kafka, the following additional attributes are defined:
|
||||
|
||||
<<<<<<< HEAD
|
||||
<!-- semconv messaging.kafka(full,tag=tech-specific) -->
|
||||
| Attribute | Type | Description | Examples | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Stability |
|
||||
|---|---|---|---|---|---|
|
||||
| [`messaging.kafka.message.tombstone`](../attributes-registry/messaging.md) | boolean | A boolean that is true if the message is a tombstone. | | `Conditionally Required` [1] |  |
|
||||
| [`messaging.destination.partition.id`](../attributes-registry/messaging.md) | string | "String representation of the partition id the message (or batch) is sent to or received from."" | `1` | `Recommended` |  |
|
||||
| [`messaging.destination.partition.id`](../attributes-registry/messaging.md) | string | String representation of the partition id the message (or batch) is sent to or received from. | `1` | `Recommended` |  |
|
||||
| [`messaging.kafka.consumer.group`](../attributes-registry/messaging.md) | string | Name of the Kafka Consumer Group that is handling the message. Only applies to consumers, not producers. | `my-group` | `Recommended` |  |
|
||||
| [`messaging.kafka.message.key`](../attributes-registry/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. [2] | `myKey` | `Recommended` |  |
|
||||
| [`messaging.kafka.message.offset`](../attributes-registry/messaging.md) | int | The offset of a record in the corresponding Kafka partition. | `42` | `Recommended` |  |
|
||||
|
|
|
|||
|
|
@ -291,6 +291,7 @@ as described in [Attributes specific to certain messaging systems](#attributes-s
|
|||
| [`messaging.destination.temporary`](../attributes-registry/messaging.md) | boolean | A boolean that is true if the message destination is temporary and might not exist anymore after messages are processed. | | `Conditionally Required` [11] |  |
|
||||
| [`server.address`](../attributes-registry/server.md) | string | Server domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. [12] | `example.com`; `10.1.2.80`; `/tmp/my.sock` | `Conditionally Required` If available. |  |
|
||||
| [`messaging.client_id`](../attributes-registry/messaging.md) | string | A unique identifier for the client that consumes or produces a message. | `client-5`; `myhost@8742@s8083jm` | `Recommended` If a client id is 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` When applicable. |  |
|
||||
| [`messaging.message.body.size`](../attributes-registry/messaging.md) | int | The size of the message body in bytes. [13] | `1439` | `Recommended` |  |
|
||||
| [`messaging.message.conversation_id`](../attributes-registry/messaging.md) | string | The conversation ID identifying the conversation to which the message belongs, represented as a string. Sometimes called "Correlation ID". | `MyConversationId` | `Recommended` |  |
|
||||
| [`messaging.message.envelope.size`](../attributes-registry/messaging.md) | int | The size of the message body and metadata in bytes. [14] | `2738` | `Recommended` |  |
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@ described on this page.
|
|||
In RabbitMQ, the destination is defined by an *exchange* and a *routing key*.
|
||||
`messaging.destination.name` MUST be set to the name of the exchange. This will be an empty string if the default exchange is used.
|
||||
|
||||
<<<<<<< HEAD
|
||||
<!-- semconv messaging.rabbitmq(full,tag=tech-specific) -->
|
||||
| Attribute | Type | Description | Examples | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Stability |
|
||||
|---|---|---|---|---|---|
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ described on this page.
|
|||
|
||||
Specific attributes for Apache RocketMQ are defined below.
|
||||
|
||||
<<<<<<< HEAD
|
||||
<!-- semconv messaging.rocketmq(full,tag=tech-specific) -->
|
||||
| Attribute | Type | Description | Examples | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Stability |
|
||||
|---|---|---|---|---|---|
|
||||
|
|
|
|||
|
|
@ -65,6 +65,9 @@ groups:
|
|||
- ref: messaging.destination.name
|
||||
requirement_level:
|
||||
conditionally_required: If span describes operation on a single message or if the value applies to all messages in the batch.
|
||||
- ref: messaging.destination.partition.id
|
||||
requirement_level:
|
||||
recommended: When applicable.
|
||||
- ref: messaging.destination.template
|
||||
requirement_level:
|
||||
conditionally_required: >
|
||||
|
|
@ -134,7 +137,8 @@ groups:
|
|||
attributes:
|
||||
- ref: messaging.destination.partition.id
|
||||
brief: >
|
||||
"String representation of the partition id the message (or batch) is sent to or received from.""
|
||||
String representation of the partition id the message (or batch) is sent to or received from.
|
||||
requirement_level: recommended
|
||||
tag: tech-specific
|
||||
- ref: messaging.kafka.message.key
|
||||
tag: tech-specific
|
||||
|
|
@ -213,7 +217,7 @@ groups:
|
|||
attributes:
|
||||
- ref: messaging.destination.partition.id
|
||||
brief: >
|
||||
"String representation of the partition id messages are sent to or received from, unique within the Event Hub."
|
||||
String representation of the partition id messages are sent to or received from, unique within the Event Hub.
|
||||
requirement_level:
|
||||
conditionally_required: If available.
|
||||
- ref: messaging.eventhubs.message.enqueued_time
|
||||
|
|
|
|||
Loading…
Reference in New Issue