-
Notifications
You must be signed in to change notification settings - Fork 2k
Experimental metrics support in Azure Event Hubs for Java library
EventHubs SDK is instrumented with OpenTelemetry to emit several experimental metrics. Please refer to Azure SDK metrics plugin documentation to enable and configure metrics.
They are subject to change and will comply with OpenTelemetry Semantic Conventions.
Duration of a low-level AMQP send operation. Reported for every try. Instrument: histogram Unit: milliseconds Attributes:
-
server.address
- EventHubs endpoint -
messaging.destination.name
- namespace name -
amqp.delivery_state
- Delivery state
Duration of a AMQP request-response operation. Reported for every try. Instrument: histogram Unit: milliseconds Attributes:
-
server.address
- EventHubs endpoint -
messaging.destination.name
- namespace name -
amqp.status_code
- AMQP (HTTP) status code -
amqp.operation
- AMQP request/response operation name
Number of closed connections. Instrument: counter Attributes:
-
server.address
- EventHubs endpoint -
amqp.error_condition
- one of AMQP error conditions in case of an error.
Number of transport errors. Instrument: counter Attributes:
-
server.address
- EventHubs endpoint -
messaging.destination.name
- namespace name (when available) -
amqp.error_condition
- one of AMQP error conditions in case of an error.
Number of AMQP links closed with error. Instrument: counter Attributes:
-
server.address
- EventHubs endpoint -
messaging.destination.name
- namespace name (when available) -
messaging.az.entity_path
- Entity path containing partition Id information if it's available. -
amqp.error_condition
- one of AMQP error conditions in case of an error.
Number of AMQP sessions closed with error. Instrument: counter Attributes:
-
server.address
- EventHubs endpoint -
messaging.destination.name
- namespace name (when available) -
messaging.az.entity_path
- Entity path containing partition Id information if it's available. -
amqp.error_condition
- one of AMQP error conditions in case of an error.
Sequence number of the last message received from broker. Instrument: gauge Attributes:
-
server.address
- EventHubs endpoint -
messaging.destination.name
- namespace name (when available) -
messaging.az.entity_path
- Entity path containing partition Id information if it's available.
Number of requested credits. Instrument: counter Attributes:
-
server.address
- EventHubs endpoint -
messaging.destination.name
- namespace name (when available) -
messaging.az.entity_path
- Entity path containing partition Id information if it's available.
Number of events sent to the broker. Instrument: counter Attributes:
-
server.address
- EventHubs endpoint -
messaging.destination.name
- namespace name (when available) -
messaging.az.partition_id
- EvenHubs partition id (when available). -
otel.status_code
-error
in case of a error.
Approximate lag between the time message was received and the time it was enqueued on broker. Instrument: counter Attributes:
-
server.address
- EventHubs endpoint -
messaging.destination.name
- namespace name (when available) -
messaging.az.partition_id
- EvenHubs partition id (when available). -
messaging.eventhubs.consumer_group
- Consumer group name. -
otel.status_code
-error
in case of a error.
Duration of checkpoint call. Instrument: histogram Unit: milliseconds Attributes:
-
server.address
- EventHubs endpoint -
messaging.destination.name
- namespace name (when available) -
messaging.az.partition_id
- EvenHubs partition id (when available). -
messaging.eventhubs.consumer_group
- Consumer group name. -
otel.status_code
-error
in case of a error.
Last checkpointed sequence number. Instrument: gauge Attributes:
-
server.address
- EventHubs endpoint -
messaging.destination.name
- namespace name (when available) -
messaging.az.partition_id
- EvenHubs partition id (when available). -
messaging.eventhubs.consumer_group
- Consumer group name. -
otel.status_code
-error
in case of a error.
- Frequently Asked Questions
- Azure Identity Examples
- Configuration
- Performance Tuning
- Android Support
- Unit Testing
- Test Proxy Migration
- Azure Json Migration
- New Checkstyle and Spotbugs pattern migration
- Protocol Methods
- TypeSpec-Java Quickstart