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
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.
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:
- Add Event Hub Partition(s) that you want to monitor (refer to the below screenshot).
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:
Once you enable monitoring in Event Hub, you will get an email notification to your email box based on the alarm configuration.
You can find all the monitored resources under ServiceBus360 Monitoring Dashboard. The list auto-refreshes in 60 seconds.
You can also see the errors and warnings for a respective Event Hub by clicking issue icon:
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!!