When an Event Hub is associated with a Serverless360 Composite Application, it is possible to monitor Event Hub and its Partitions in various perspectives using the monitors in Serverless360.
Monitor Event Hub State
If the intention is to monitor the state, say the business demands the Event Hub to be always active, Serverless360 can monitor Event Hub state. By associating an Event Hub to Status Monitor or Threshold Monitor, it is possible to monitor the state, compare against the expected state and alert through configured notification channels). Please refer documentation on Status Monitor and Threshold Monitor.
Monitor Event Hub on its Metrics
If the intention is to understand the efficiency, reliability, capture utilization of the Event Hub then the choice should be a Serverless360 Data Monitor. Data Monitoring can be configured for an Event Hub on an extensive set of metrics. Event Hub data monitoring with appropriate warning and threshold values can be set as in figure below
Data Monitoring documentation can provide more information.
Monitor Event Hub Partitions
Serverless360 can also be used to monitor the Partitions of the Event Hub. By associating an Event Hub to Status Monitor or Threshold Monitor, it is possible to monitor the Partitions based on metrics like incoming bytes per second, outgoing bytes per second and size of the partition and get alerts through configured [notification channels)]
Bulk monitoring configuration for Event Hub Partitions
Considering Event Hubs with a good number of partitions, defining monitoring configuration on their properties for every partition would be a tedious process. Understanding the pain point, Serverless360 has brought in bulk monitoring for Event Hub Partitions. Below is the guide to bulk configure monitoring for multiple partitions of an Event Hub at a go: