Learn more about     BizTalk360  |  ServiceBus360

Monitoring Azure Event Hubs at Partition Level using ServiceBus360

ServiceBus360 is an Infrastructure Management tool to manage, monitor and analyze Azure Service Bus resources. In this article let us take a look at an advanced feature available in ServiceBus360 to monitor Event Hubs.

Enterprises using Azure Event Hubs usually have a major challenge to identify the source of a failure. If you would get alerts for every failure with failure details – it will be very easy to understand where exactly the problem resides and it can be fixed as quickly as possible. This is exactly where ServiceBus360 comes in very handy.

Let’s discuss how the Event Hubs monitoring works in ServiceBus360. As we know Event Hub namespaces can be created in Azure, we can associate these Event Hub namespaces in ServiceBus360 using its connection string. When we Associate Event Hub namespaces, the default consumer group is retrieved with the available partitions. Partitions have the following properties:

  • Begin sequence number
  • End Sequence Number
  • Last Enqueued Offset
  • Incoming Bytes Per Second
  • Outgoing Bytes Per Second
  • Size in Bytes
  • Data Retrieved At
  • Partition Id
  • Consumer Group Name

The monitoring is available for above-highlighted properties only. Let’s see how this works. I will walk you through the steps for better understanding: 

Step 1 – Associate the Service Bus namespace

  • Get a connection string for Event Hub namespace from Azure Portal.
  • Associate the namespace in ServiceBus360

associate_namespace

As soon the association is done you shall be able to see all your Event Hubs under associated namespace at the Event Hubs Home Page in ServiceBus360.

service bus event hubs

Step 2 – Creating an alarm

  • Create an alarm mapped with the targeted Event Hub, that you want to monitor.

For those who are new to creating alarms, please refer to the following article: 

http://assist.servicebus360.com/support/solutions/articles/1000241055

  • Add Event Hub Partition(s) that you want to monitor (refer to the below screenshot).

event hubs partitions

After you select and save the configuration the Event Hub partitions will be ready to be monitored. You can see them available in active monitors list as follows:

event hub status monitoring

Once you enable monitoring in Event Hub, you will get an email notification to your email box based on the alarm configuration.

email alerts

You can find all the monitored resources under ServiceBus360 Monitoring Dashboard. The list auto-refreshes in 60 seconds.

servicebus360 dashboard

You can also see the errors and warnings for a respective Event Hub by clicking issue icon:

event hubs partitons

Summary

In this article, we discussed how to use ServiceBus360’s – Event Hub Monitoring Capabilities. We also discussed how easy it is to create an alarm on Event Hub at Partition Level and get notified whenever unexpectedly happens in the infrastructure.

Watch our video on Event Hub Monitoring.

Thanks for reading! Cheers!!

Author: Uma Maheswari

Uma works @ BizTalk360 as a Software Test Engineer. She has over 3 years of experience in manual and automation testing in different domains. She lives with the passion - "wherever you go, leave your mark".

One Platform Operations, Monitoring and Analytics Software
BizTalk360

microsoft biztalk

Learn more

Over 500 customers across 30+ countries depend on BizTalk360

ServiceBus360

Azure service bus

Learn more

Start managing your Azure Service Bus namespaces in minutes

One Platform - Operations, Monitoring and Analytics Software
BizTalk360

microsoft biztalk

Learn more

Over 500 customers across 30+ countries depend on BizTalk360

One Platform - Operations, Monitoring and Analytics Software
ServiceBus360

Azure service bus

Learn more

Start managing your Azure Service Bus namespaces in minutes

Back to Top