Azure Application Gateway is a web traffic load balancer that enables you to manage traffic to your web applications. Traditional load balancers operate at the transport layer (OSI layer 4 - TCP and UDP) and route traffic based on a source IP address and port, to a destination IP address and port.

With Application Gateway, you can make routing decisions based on more attributes of an HTTP request, such as URI path or host headers. For example, you can route traffic based on the incoming URL.
- If
/imagesare in the incoming URL, you can route traffic to a specific set of servers (known as a pool) configured for images. - If
/videois in the URL, that traffic is routed to another pool optimized for videos.

This type of routing is known as application layer (OSI layer 7) load balancing. Azure Application Gateway can do URL-based routing and more.
Setup
To set up the Azure integration and discover the Application Gateway resources, do the following:
Create an Azure Integration if not available in your installed integrations. For more information on how to install the Azure Integration, refer to Install Azure integration.
Create a discovery profile.
Select
Azure Application Gatewayunder the Filter Criteria on the Edit Discovery Profile page.Save the discovery profile to make it available in the list of Discovery Profiles.
Scan to discover the resources at any time independent of the predefined schedule.
Once the scan is completed, you can view the Azure Application Gateway resources under Infrastructure > Resources > Microsoft Azure category.

Create a template with collector type Azure and applicable for Application Gateway. See Create a Template for more information on how to create a template.
Refer to Assign a Template on how to assign a template to a resource.
Click the Metrics tab to view the monitoring data of Azure Application Gateway.
Event support
OpsRamp supports Azure events for Azure Application Gateway. Configure Azure Events in OpsRamp Azure integration discovery profile. See Process Azure Events for more information on how to configure Azure events.
Supported metrics
| OpsRamp Metric | Azure Metric | Metric Display Name | Unit | Aggregation Type | Description |
|---|---|---|---|---|---|
| azure_network_applicationgateways_ApplicationGatewayTotalTime | ApplicationGatewayTotalTime | Application Gateway Total Time | MilliSeconds | Average | Time that it takes for a request to be processed and its response to be sent. This is the interval from the time when Application Gateway receives the first byte of an HTTP request to the time when the response send operation finishes. It's important to note that this usually includes the Application Gateway processing time, time that the request and response packets are traveling over the network and the time the backend server took to respond |
| azure_network_applicationgateways_AvgRequestCountPerHealthyHost | AvgRequestCountPerHealthyHost | Requests per minute per Healthy Host | Count | Average | Average request count per minute per healthy backend host in a pool |
| azure_network_applicationgateways_AzwafBotProtection | AzwafBotProtection | WAF Bot Protection Matches | Count | Total | Matched Bot Rules |
| azure_network_applicationgateways_AzwafCustomRule | AzwafCustomRule | WAF Custom Rule Matches | Count | Total | Matched Custom Rules |
| azure_network_applicationgateways_AzWAFJSChallengeRequestCount | AzWAFJSChallengeRequestCount | WAF JS Challenge Request Count | Count | Total | Total number of JS challenge requests evaluated by WAF |
| azure_network_applicationgateways_AzwafPenaltyBoxHits | AzwafPenaltyBoxHits | WAF Penalty Box Hits | Count | Average | Denotes number of times IP was added or updated in the penalty box with time and context |
| azure_network_applicationgateways_AzwafPenaltyBoxSize | AzwafPenaltyBoxSize | WAF Penalty Box Size | Count | Average | Denotes number of IPs in the penalty box at a given time |
| azure_network_applicationgateways_AzwafSecRule | AzwafSecRule | WAF Managed Rule Matches | Count | Total | Matched Managed Rules |
| azure_network_applicationgateways_AzwafTotalRequests | AzwafTotalRequests | WAF Total Requests | Count | Total | Total number of requests evaluated by WAF |
| azure_network_applicationgateways_BackendConnectTime | BackendConnectTime | Backend Connect Time | MilliSeconds | Average | Time spent establishing a connection with a backend server |
| azure_network_applicationgateways_BackendFirstByteResponseTime | BackendFirstByteResponseTime | Backend First Byte Response Time | MilliSeconds | Average | Time interval between start of establishing a connection to backend server and receiving the first byte of the response header, approximating processing time of backend server |
| azure_network_applicationgateways_BackendLastByteResponseTime | BackendLastByteResponseTime | Backend Last Byte Response Time | MilliSeconds | Average | Time interval between start of establishing a connection to backend server and receiving the last byte of the response body |
| azure_network_applicationgateways_BackendResponseStatus | BackendResponseStatus | Backend Response Status | Count | Total | The number of HTTP response codes generated by the backend members. This does not include any response codes generated by the Application Gateway |
| azure_network_applicationgateways_BlockedCount | BlockedCount | Web Application Firewall Blocked Requests Rule Distribution | Count | Total | Web Application Firewall blocked requests rule distribution |
| azure_network_applicationgateways_BytesReceived | BytesReceived | Bytes Received | Bytes | Total | The total number of bytes received by the Application Gateway from the clients |
| azure_network_applicationgateways_BytesSent | BytesSent | Bytes Sent | Bytes | Total | The total number of bytes sent by the Application Gateway to the clients |
| azure_network_applicationgateways_CapacityUnits | CapacityUnits | Current Capacity Units | Count | Average | Capacity Units consumed |
| azure_network_applicationgateways_ClientRtt | ClientRtt | Client RTT | MilliSeconds | Average | Round trip time between clients and Application Gateway. This metric indicates how long it takes to establish connections and return acknowledgements |
| azure_network_applicationgateways_ComputeUnits | ComputeUnits | Current Compute Units | Count | Average | Compute Units consumed |
| azure_network_applicationgateways_CpuUtilization | CpuUtilization | CPU Utilization | Percent | Average | Current CPU utilization of the Application Gateway |
| azure_network_applicationgateways_CurrentConnections | CurrentConnections | Current Connections | Count | Total | Count of current connections established with Application Gateway |
| azure_network_applicationgateways_EstimatedBilledCapacityUnits | EstimatedBilledCapacityUnits | Estimated Billed Capacity Units | Count | Average | Estimated capacity units that will be charged |
| azure_network_applicationgateways_FailedRequests | FailedRequests | Failed Requests | Count | Total | Count of failed requests that Application Gateway has served |
| azure_network_applicationgateways_FixedBillableCapacityUnits | FixedBillableCapacityUnits | Fixed Billable Capacity Units | Count | Average | Minimum capacity units that will be charged |
| azure_network_applicationgateways_HealthyHostCount | HealthyHostCount | Healthy Host Count | Count | Average | Number of healthy backend hosts |
| azure_network_applicationgateways_MatchedCount | MatchedCount | Web Application Firewall Total Rule Distribution | Count | Total | Web Application Firewall Total Rule Distribution for the incoming traffic |
| azure_network_applicationgateways_NewConnectionsPerSecond | NewConnectionsPerSecond | New connections per second | CountPerSecond | Average | New connections per second established with Application Gateway |
| azure_network_applicationgateways_ResponseStatus | ResponseStatus | Response Status | Count | Total | Http response status returned by Application Gateway |
| azure_network_applicationgateways_Throughput | Throughput | Throughput | BytesPerSecond | Average | Number of bytes per second the Application Gateway has served |
| azure_network_applicationgateways_TlsProtocol | TlsProtocol | Client TLS Protocol | Count | Total | The number of TLS and non-TLS requests initiated by the client that established connection with the Application Gateway. To view TLS protocol distribution, filter by the dimension TLS Protocol |
| azure_network_applicationgateways_TotalRequests | TotalRequests | Total Requests | Count | Total | Count of successful requests that Application Gateway has served |
| azure_network_applicationgateways_UnhealthyHostCount | UnhealthyHostCount | Unhealthy Host Count | Count | Average | Number of unhealthy backend hosts |
| azure_network_applicationgateways_WebSocketActiveConnections | WebSocketActiveConnections | WebSocket Active Connections | Count | Total | Count of WebSocket Active Connections established with Application Gateway |
| azure_network_applicationgateways_WebsocketSpecificCloseStatusCode | WebsocketSpecificCloseStatusCode | WebSocket Specific Close Status Code | Count | Total | Count of WebSocket Specific Close Status Code |