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
|`producerHook`|`KafkaProducerCustomAttributeFunction`| Function called before a producer message is sent. Allows for adding custom attributes to the span.|
48
-
|`consumerHook`|`KafkaConsumerCustomAttributeFunction`| Function called before a consumer message is processed. Allows for adding custom attributes to the span.|
|`producerHook`|`KafkaProducerCustomAttributeFunction`| Function called before a producer message is sent. Allows for adding custom attributes to the span. |
50
+
|`consumerHook`|`KafkaConsumerCustomAttributeFunction`| Function called before a consumer message is processed. Allows for adding custom attributes to the span. |
49
51
50
52
## Semantic Conventions
51
53
52
-
This package uses `@opentelemetry/semantic-conventions` version `1.24+`, which implements Semantic Convention [Version 1.7.0](https://github.com/open-telemetry/opentelemetry-specification/blob/v1.7.0/semantic_conventions/README.md)
54
+
This package uses `@opentelemetry/semantic-conventions` version `1.30+`, which implements Semantic Convention [Version 1.30.0](https://github.com/open-telemetry/semantic-conventions/blob/v1.30.0/docs/README.md)
|`messaging.system`| An identifier for the messaging system being used (i.e. `"kafka"`). |
61
+
|`messaging.destination.name`| The message destination name. |
62
+
|`messaging.operation.type`| A string identifying the type of messaging operation. |
63
+
|`messaging.operation.name`| The system-specific name of the messaging operation. |
64
+
|`messaging.operation.name`| The system-specific name of the messaging operation. |
65
+
|`messaging.kafka.message.key`| A stringified value representing the key of the Kafka message (if present). |
66
+
|`messaging.kafka.message.tombstone`| A boolean that is true if the message is a tombstone. |
67
+
|`messaging.kafka.offset`| The offset of a record in the corresponding Kafka partition. |
68
+
|`messaging.destination.partition.id`| The identifier of the partition messages are sent to or received from, unique within the `messaging.destination.name`. **Note:** only available on producer spans. |
0 commit comments