Class MessagingIncubatingAttributes
java.lang.Object
io.opentelemetry.semconv.incubating.MessagingIncubatingAttributes
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classValues forMESSAGING_OPERATION.static final classValues forMESSAGING_ROCKETMQ_CONSUMPTION_MODEL.static final classValues forMESSAGING_ROCKETMQ_MESSAGE_TYPE.static final classValues forMESSAGING_SERVICEBUS_DISPOSITION_STATUS.static final classValues forMESSAGING_SYSTEM. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final io.opentelemetry.api.common.AttributeKey<Long>The number of messages sent, received, or processed in the scope of the batching operation.static final io.opentelemetry.api.common.AttributeKey<String>A unique identifier for the client that consumes or produces a message.static final io.opentelemetry.api.common.AttributeKey<Boolean>A boolean that is true if the message destination is anonymous (could be unnamed or have auto-generated name).static final io.opentelemetry.api.common.AttributeKey<String>The message destination namestatic final io.opentelemetry.api.common.AttributeKey<String>The identifier of the partition messages are sent to or received from, unique within themessaging.destination.name.static final io.opentelemetry.api.common.AttributeKey<Boolean>A boolean that is true if the publish message destination is anonymous (could be unnamed or have auto-generated name).static final io.opentelemetry.api.common.AttributeKey<String>The name of the original destination the message was published tostatic final io.opentelemetry.api.common.AttributeKey<String>Low cardinality representation of the messaging destination namestatic final io.opentelemetry.api.common.AttributeKey<Boolean>A boolean that is true if the message destination is temporary and might not exist anymore after messages are processed.static final io.opentelemetry.api.common.AttributeKey<String>The name of the consumer group the event consumer is associated with.static final io.opentelemetry.api.common.AttributeKey<Long>The UTC epoch seconds at which the message has been accepted and stored in the entity.static final io.opentelemetry.api.common.AttributeKey<String>The ordering key for a given message.static final io.opentelemetry.api.common.AttributeKey<String>Name of the Kafka Consumer Group that is handling the message.static final io.opentelemetry.api.common.AttributeKey<Long>Deprecated."Deprecated, use `messaging.destination.partition.id` instead.".static final io.opentelemetry.api.common.AttributeKey<String>Message keys in Kafka are used for grouping alike messages to ensure they're processed on the same partition.static final io.opentelemetry.api.common.AttributeKey<Long>The offset of a record in the corresponding Kafka partition.static final io.opentelemetry.api.common.AttributeKey<Boolean>A boolean that is true if the message is a tombstone.static final io.opentelemetry.api.common.AttributeKey<Long>The size of the message body in bytes.static final io.opentelemetry.api.common.AttributeKey<String>The conversation ID identifying the conversation to which the message belongs, represented as a string.static final io.opentelemetry.api.common.AttributeKey<Long>The size of the message body and metadata in bytes.static final io.opentelemetry.api.common.AttributeKey<String>A value used by the messaging system as an identifier for the message, represented as a string.static final io.opentelemetry.api.common.AttributeKey<String>A string identifying the kind of messaging operation.static final io.opentelemetry.api.common.AttributeKey<String>RabbitMQ message routing key.static final io.opentelemetry.api.common.AttributeKey<Long>RabbitMQ message delivery tagstatic final io.opentelemetry.api.common.AttributeKey<String>Name of the RocketMQ producer/consumer group that is handling the message.static final io.opentelemetry.api.common.AttributeKey<String>Model of message consumption.static final io.opentelemetry.api.common.AttributeKey<Long>The delay time level for delay message, which determines the message delay time.static final io.opentelemetry.api.common.AttributeKey<Long>The timestamp in milliseconds that the delay message is expected to be delivered to consumer.static final io.opentelemetry.api.common.AttributeKey<String>It is essential for FIFO message.Key(s) of message, another way to mark message besides message id.static final io.opentelemetry.api.common.AttributeKey<String>The secondary classifier of message besides topic.static final io.opentelemetry.api.common.AttributeKey<String>Type of message.static final io.opentelemetry.api.common.AttributeKey<String>Namespace of RocketMQ resources, resources in different namespaces are individual.static final io.opentelemetry.api.common.AttributeKey<String>The name of the subscription in the topic messages are received from.static final io.opentelemetry.api.common.AttributeKey<String>Describes the settlement type.static final io.opentelemetry.api.common.AttributeKey<Long>Number of deliveries that have been attempted for this message.static final io.opentelemetry.api.common.AttributeKey<Long>The UTC epoch seconds at which the message has been accepted and stored in the entity.static final io.opentelemetry.api.common.AttributeKey<String>An identifier for the messaging system being used. -
Method Summary
-
Field Details
-
MESSAGING_BATCH_MESSAGE_COUNT
The number of messages sent, received, or processed in the scope of the batching operation.Notes:
- Instrumentations SHOULD NOT set
messaging.batch.message_counton spans that operate with a single message. When a messaging client library supports both batch and single-message API for the same operation, instrumentations SHOULD usemessaging.batch.message_countfor batching APIs and SHOULD NOT use it for single-message APIs.
- Instrumentations SHOULD NOT set
-
MESSAGING_CLIENT_ID
A unique identifier for the client that consumes or produces a message. -
MESSAGING_DESTINATION_ANONYMOUS
public static final io.opentelemetry.api.common.AttributeKey<Boolean> MESSAGING_DESTINATION_ANONYMOUSA boolean that is true if the message destination is anonymous (could be unnamed or have auto-generated name). -
MESSAGING_DESTINATION_NAME
The message destination nameNotes:
- Destination name SHOULD uniquely identify a specific queue, topic or other entity within the broker. If the broker doesn't have such notion, the destination name SHOULD uniquely identify the broker.
-
MESSAGING_DESTINATION_PARTITION_ID
public static final io.opentelemetry.api.common.AttributeKey<String> MESSAGING_DESTINATION_PARTITION_IDThe identifier of the partition messages are sent to or received from, unique within themessaging.destination.name. -
MESSAGING_DESTINATION_TEMPLATE
Low cardinality representation of the messaging destination nameNotes:
- Destination names could be constructed from templates. An example would be a destination name involving a user name or product id. Although the destination name in this case is of high cardinality, the underlying template is of low cardinality and can be effectively used for grouping and aggregation.
-
MESSAGING_DESTINATION_TEMPORARY
public static final io.opentelemetry.api.common.AttributeKey<Boolean> MESSAGING_DESTINATION_TEMPORARYA boolean that is true if the message destination is temporary and might not exist anymore after messages are processed. -
MESSAGING_DESTINATION_PUBLISH_ANONYMOUS
public static final io.opentelemetry.api.common.AttributeKey<Boolean> MESSAGING_DESTINATION_PUBLISH_ANONYMOUSA boolean that is true if the publish message destination is anonymous (could be unnamed or have auto-generated name). -
MESSAGING_DESTINATION_PUBLISH_NAME
public static final io.opentelemetry.api.common.AttributeKey<String> MESSAGING_DESTINATION_PUBLISH_NAMEThe name of the original destination the message was published toNotes:
- The name SHOULD uniquely identify a specific queue, topic, or other entity within the broker. If the broker doesn't have such notion, the original destination name SHOULD uniquely identify the broker.
-
MESSAGING_EVENTHUBS_CONSUMER_GROUP
public static final io.opentelemetry.api.common.AttributeKey<String> MESSAGING_EVENTHUBS_CONSUMER_GROUPThe name of the consumer group the event consumer is associated with. -
MESSAGING_EVENTHUBS_MESSAGE_ENQUEUED_TIME
public static final io.opentelemetry.api.common.AttributeKey<Long> MESSAGING_EVENTHUBS_MESSAGE_ENQUEUED_TIMEThe UTC epoch seconds at which the message has been accepted and stored in the entity. -
MESSAGING_GCP_PUBSUB_MESSAGE_ORDERING_KEY
public static final io.opentelemetry.api.common.AttributeKey<String> MESSAGING_GCP_PUBSUB_MESSAGE_ORDERING_KEYThe ordering key for a given message. If the attribute is not present, the message does not have an ordering key. -
MESSAGING_KAFKA_CONSUMER_GROUP
Name of the Kafka Consumer Group that is handling the message. Only applies to consumers, not producers. -
MESSAGING_KAFKA_DESTINATION_PARTITION
@Deprecated public static final io.opentelemetry.api.common.AttributeKey<Long> MESSAGING_KAFKA_DESTINATION_PARTITIONDeprecated."Deprecated, use `messaging.destination.partition.id` instead."."Deprecated, usemessaging.destination.partition.idinstead." -
MESSAGING_KAFKA_MESSAGE_KEY
Message keys in Kafka are used for grouping alike messages to ensure they're processed on the same partition. They differ frommessaging.message.idin that they're not unique. If the key isnull, the attribute MUST NOT be set.Notes:
- 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.
-
MESSAGING_KAFKA_MESSAGE_OFFSET
The offset of a record in the corresponding Kafka partition. -
MESSAGING_KAFKA_MESSAGE_TOMBSTONE
public static final io.opentelemetry.api.common.AttributeKey<Boolean> MESSAGING_KAFKA_MESSAGE_TOMBSTONEA boolean that is true if the message is a tombstone. -
MESSAGING_MESSAGE_BODY_SIZE
The size of the message body in bytes.Notes:
- This can refer to both the compressed or uncompressed body size. If both sizes are known, the uncompressed body size should be used.
-
MESSAGING_MESSAGE_CONVERSATION_ID
public static final io.opentelemetry.api.common.AttributeKey<String> MESSAGING_MESSAGE_CONVERSATION_IDThe conversation ID identifying the conversation to which the message belongs, represented as a string. Sometimes called "Correlation ID". -
MESSAGING_MESSAGE_ENVELOPE_SIZE
The size of the message body and metadata in bytes.Notes:
- This can refer to both the compressed or uncompressed size. If both sizes are known, the uncompressed size should be used.
-
MESSAGING_MESSAGE_ID
A value used by the messaging system as an identifier for the message, represented as a string. -
MESSAGING_OPERATION
A string identifying the kind of messaging operation.Notes:
- If a custom value is used, it MUST be of low cardinality.
-
MESSAGING_RABBITMQ_DESTINATION_ROUTING_KEY
public static final io.opentelemetry.api.common.AttributeKey<String> MESSAGING_RABBITMQ_DESTINATION_ROUTING_KEYRabbitMQ message routing key. -
MESSAGING_RABBITMQ_MESSAGE_DELIVERY_TAG
public static final io.opentelemetry.api.common.AttributeKey<Long> MESSAGING_RABBITMQ_MESSAGE_DELIVERY_TAGRabbitMQ message delivery tag -
MESSAGING_ROCKETMQ_CLIENT_GROUP
public static final io.opentelemetry.api.common.AttributeKey<String> MESSAGING_ROCKETMQ_CLIENT_GROUPName of the RocketMQ producer/consumer group that is handling the message. The client type is identified by the SpanKind. -
MESSAGING_ROCKETMQ_CONSUMPTION_MODEL
public static final io.opentelemetry.api.common.AttributeKey<String> MESSAGING_ROCKETMQ_CONSUMPTION_MODELModel of message consumption. This only applies to consumer spans. -
MESSAGING_ROCKETMQ_MESSAGE_DELAY_TIME_LEVEL
public static final io.opentelemetry.api.common.AttributeKey<Long> MESSAGING_ROCKETMQ_MESSAGE_DELAY_TIME_LEVELThe delay time level for delay message, which determines the message delay time. -
MESSAGING_ROCKETMQ_MESSAGE_DELIVERY_TIMESTAMP
public static final io.opentelemetry.api.common.AttributeKey<Long> MESSAGING_ROCKETMQ_MESSAGE_DELIVERY_TIMESTAMPThe timestamp in milliseconds that the delay message is expected to be delivered to consumer. -
MESSAGING_ROCKETMQ_MESSAGE_GROUP
public static final io.opentelemetry.api.common.AttributeKey<String> MESSAGING_ROCKETMQ_MESSAGE_GROUPIt is essential for FIFO message. Messages that belong to the same message group are always processed one by one within the same consumer group. -
MESSAGING_ROCKETMQ_MESSAGE_KEYS
public static final io.opentelemetry.api.common.AttributeKey<List<String>> MESSAGING_ROCKETMQ_MESSAGE_KEYSKey(s) of message, another way to mark message besides message id. -
MESSAGING_ROCKETMQ_MESSAGE_TAG
The secondary classifier of message besides topic. -
MESSAGING_ROCKETMQ_MESSAGE_TYPE
public static final io.opentelemetry.api.common.AttributeKey<String> MESSAGING_ROCKETMQ_MESSAGE_TYPEType of message. -
MESSAGING_ROCKETMQ_NAMESPACE
Namespace of RocketMQ resources, resources in different namespaces are individual. -
MESSAGING_SERVICEBUS_DESTINATION_SUBSCRIPTION_NAME
public static final io.opentelemetry.api.common.AttributeKey<String> MESSAGING_SERVICEBUS_DESTINATION_SUBSCRIPTION_NAMEThe name of the subscription in the topic messages are received from. -
MESSAGING_SERVICEBUS_DISPOSITION_STATUS
public static final io.opentelemetry.api.common.AttributeKey<String> MESSAGING_SERVICEBUS_DISPOSITION_STATUSDescribes the settlement type. -
MESSAGING_SERVICEBUS_MESSAGE_DELIVERY_COUNT
public static final io.opentelemetry.api.common.AttributeKey<Long> MESSAGING_SERVICEBUS_MESSAGE_DELIVERY_COUNTNumber of deliveries that have been attempted for this message. -
MESSAGING_SERVICEBUS_MESSAGE_ENQUEUED_TIME
public static final io.opentelemetry.api.common.AttributeKey<Long> MESSAGING_SERVICEBUS_MESSAGE_ENQUEUED_TIMEThe UTC epoch seconds at which the message has been accepted and stored in the entity. -
MESSAGING_SYSTEM
An identifier for the messaging system being used. See below for a list of well-known identifiers.
-