This template contains performance & statistics counters for monitoring Azure Even Hub Namespace.
Prerequisites:
- PowerShell module (Azure, AzureRM) has to be installed prior to run this template on target machine.
- To connect with Azure account following parameter are required: subcriptionID, ApplicationID, TenantID, Secret Key, Application Name
Note: Any Azure App (with its name & ID) having minimum role as 'Read Only'.
3. Namespace for which metrics has to be calculated.
4. Time interval for which data has to be fetched (in hours).
5. Powershell version 5.0 or later.
Credentials:
- Login credential to access Azure Portal. This has to be passed as script arguments per prerequisites 2 above. e.g. < subcriptionID>, < TenantID>, < ApplicationID>, value=<Secret Key>, <Namespace Name>, value=<Time Interval>
- Windows Administrator on the machine where template would be running against.
Portions of this document were originally created by and are excerpted from the following sources:
https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-quickstart-powershell
https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/monitoring-supported-metrics
https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-metrics-azure-monitor
Notes:
- To install Azure module, execute below PowerShell commands on the machine where template would be running against.
Install-Module -Name Azure
Install-Module -Name AzureRM
- The ApplicationID with which you are making a connection to Azure portal (as mentioned in Credential/Prerequisites) must be registered in Azure Active Directory as read only/contributor role for the monitored application.
MONITORED COMPONENTS
Archive backlog messages
This monitor provides the total Archive messages in backlog for the given namespace via PowerShell cmd-let.
Unit: Count
Archive message throughput
This monitor provides total Event Hub archived message throughput for the given namespace via PowerShell cmd-let.
Unit: Bytes
Archive messages
This monitor provides total Event Hub archived messages for the given namespace via PowerShell cmd-let.
Unit: Count
Incoming Bytes
This monitor provides the total Event Hub incoming message throughput for the given namespace via PowerShell cmd-let.
Unit: Bytes
Outgoing bytes
This monitor provides the total Event Hub outgoing message throughput for the given namespace via PowerShell cmd-let.
Unit: Bytes
Incoming Messages
This monitor provides the total incoming messages for the given namespace via PowerShell cmd-let.
Unit: Count
Incoming Requests
This monitor provides the Total incoming send requests for the given namespace via PowerShell cmd-let.
Unit: Count
Internal Server Errors
This monitor provides the Total internal server errors for the given namespace via PowerShell cmd-let.
Unit: Count
Other Errors
This monitor provides the total failed requests for the given namespace via PowerShell cmd-let.
Unit: Count
Outgoing Messages
This monitor provides the total outgoing messages for the given namespace via PowerShell cmd-let.
Unit: Count
Successful Requests
This monitor provides the total successful requests for the given namespace via PowerShell cmd-let.
Unit: Count
Server Busy Errors
This monitor provides the Total server busy errors for the given namespace via PowerShell cmd-let.
Unit: Count