A content delivery network (CDN) is a distributed network of servers that can efficiently deliver web content to users. CDNs store cached content on edge servers in point-of-presence (POP) locations that are close to end users, to minimize latency.
Azure CDN offers developers a global solution for rapidly delivering high-bandwidth content to users by caching their content at strategically placed physical nodes across the world.
Use the Azure public cloud integration to discover and collect metrics against the Azure service.
Setup
To set up the Azure integration and discover the CDN Profile, 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 CDN Profileunder 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 CDN Profile resources under Infrastructure > Resources > Microsoft Azure category.

Create a template with collector type Azure and applicable for CDN Profile. 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 CDN Profile.
Event support
OpsRamp supports Azure events for Azure CDN Profile. 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_cdn_profiles_ActiveWebSocketConnections | ActiveWebSocketConnections | Active Websocket Connections | Count | Total | The number of active WebSocket connection |
| azure_cdn_profiles_AverageWebSocketConnectionDuration | AverageWebSocketConnectionDuration | Average WebSocket Connection Duration | MilliSeconds | Average | The average time taken by WebSocket connection |
| azure_cdn_profiles_ByteHitRatio | ByteHitRatio | Byte Hit Ratio | Percent | Average | This is the ratio of the total bytes served from the cache compared to the total response bytes |
| azure_cdn_profiles_OriginHealthPercentage | OriginHealthPercentage | Origin Health Percentage | Percent | Average | The percentage of successful health probes from AFDX to backends |
| azure_cdn_profiles_OriginLatency | OriginLatency | Origin Latency | MilliSeconds | Average | The time calculated from when the request was sent by AFDX edge to the backend until AFDX received the last response byte from the backend |
| azure_cdn_profiles_OriginRequestCount | OriginRequestCount | Origin Request Count | Count | Total | The number of requests sent from AFDX to origin |
| azure_cdn_profiles_Percentage4XX | Percentage4XX | Percentage of 4XX | Percent | Average | The percentage of all the client requests for which the response status code is 4XX |
| azure_cdn_profiles_Percentage5XX | Percentage5XX | Percentage of 5XX | Percent | Average | The percentage of all the client requests for which the response status code is 5XX |
| azure_cdn_profiles_RequestCount | RequestCount | Request Count | Count | Total | The number of client requests served by the HTTP/S proxy |
| azure_cdn_profiles_RequestSize | RequestSize | Request Size | Bytes | Total | The number of bytes sent as requests from clients to AFDX |
| azure_cdn_profiles_ResponseSize | ResponseSize | Response Size | Bytes | Total | The number of bytes sent as responses from HTTP/S proxy to clients |
| azure_cdn_profiles_TotalLatency | TotalLatency | Total Latency | MilliSeconds | Average | The time calculated from when the client request was received by the HTTP/S proxy until the client acknowledged the last response byte from the HTTP/S proxy |
| azure_cdn_profiles_WebApplicationFirewallCaptchaRequestCount | WebApplicationFirewallCaptchaRequestCount | Web Application Firewall CAPTCHA Request Count | Count | Total | The number of CAPTCHA requests evaluated by the Web Application Firewall |
| azure_cdn_profiles_WebApplicationFirewallJsRequestCount | WebApplicationFirewallJsRequestCount | Web Application Firewall JS Challenge Request Count | Count | Total | The number of JS challenge requests evaluated by the Web Application Firewall |
| azure_cdn_profiles_WebApplicationFirewallRequestCount | WebApplicationFirewallRequestCount | Web Application Firewall Request Count | Count | Total | The number of client requests processed by the Web Application Firewall |
| azure_cdn_profiles_WebSocketConnections | WebSocketConnections | WebSocket Connections | Count | Total | The number of WebSocket connections requested |