Serverless360 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 Serverless360 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 Serverless360 comes in very handy.
Let’s discuss how the Event Hubs monitoring works in Serverless360. As we know Event Hub namespaces can be created in Azure, we can associate these Event Hub namespaces in Serverless360 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 Serverless360
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 Serverless360.
Step 2 – Creating an alarm
- Create an alarm mapped with the targeted Event Hub, that you want to monitor. Note: You can find the Alarm Configuration option under the Monitor tab.
- 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 Serverless360 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 Serverless360’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.
Thanks for reading! Cheers!!
Serverless360 is one platform for Azure Serverless monitoring and management. It provides efficient tooling by complementing Azure Portal. Try Serverless360 free for 15 days!