Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EventHubs metrics #31024

Merged
merged 5 commits into from
Sep 28, 2022
Merged

EventHubs metrics #31024

merged 5 commits into from
Sep 28, 2022

Conversation

lmolkova
Copy link
Member

@lmolkova lmolkova commented Sep 19, 2022

Implements EventHub part of #25605

Adds following metrics to eventhubs (and blob checkpoint store)

Name Description Units Instrument Type (*) Value Type Attribute Key(s) Attribute Values
messaging.eventhubs.events.sent Number of events sent {events} Counter Long net.peer.name Broker FQDN
messaging.destination (will change) Entity name
messaging.eventhubs.partition_id Partition id (if known at send time)
otel.status_code ok or error
messaging.eventhubs.consumer.lag Approximate lag between the time message was received and the time it was enqueued on broker. seconds Histogram Double net.peer.name Broker FQDN
messaging.destination Entity name
messaging.eventhubs.partition_id Partition id
messaging.eventhubs.consumer_group Consumer group
messaging.eventhubs.checkpoints Number of checkpoint update calls {calls} Counter Long net.peer.name Broker FQDN
messaging.destination (will change) Entity name
messaging.eventhubs.consumer_group Consumer group name
messaging.eventhubs.partition_id Partition id
otel.status_code ok or error
messaging.eventhubs.checkpoint.sequence_number Last checkpointed sequence number {seqNo} Gauge Long net.peer.name Broker FQDN
messaging.destination (will change) Entity name
messaging.eventhubs.partition_id Partition id
messaging.eventhubs.consumer_group Consumer group name
otel.status_code ok or error

@azure-sdk
Copy link
Collaborator

azure-sdk commented Sep 19, 2022

API change check

APIView has identified API level changes in this PR and created following API reviews.

azure-messaging-eventhubs
azure-messaging-eventhubs-checkpointstore-blob

Copy link
Member

@conniey conniey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

Copy link
Member

@anuchandy anuchandy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @lmolkova, LGTM.

@lmolkova lmolkova enabled auto-merge (squash) September 28, 2022 17:30
@lmolkova lmolkova merged commit 3d6b56a into Azure:main Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants