Events
17 Mar, 21 - 21 Mar, 10
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The following table lists the metrics available for the Microsoft.ApiManagement/service resource type.
Table headings
Metric - The metric display name as it appears in the Azure portal.
Name in Rest API - Metric name as referred to in the REST API.
Unit - Unit of measure.
Aggregation - The default aggregation type. Valid values: Average, Minimum, Maximum, Total, Count.
Dimensions - Dimensions available for the metric.
Time Grains - Intervals at which the metric is sampled. For example, PT1M
indicates that the metric is sampled every minute, PT30M
every 30 minutes, PT1H
every hour, and so on.
DS Export- Whether the metric is exportable to Azure Monitor Logs via Diagnostic Settings.
For information on exporting metrics, see - Metrics export using data collection rules and Create diagnostic settings in Azure Monitor.
For information on metric retention, see Azure Monitor Metrics overview.
For a list of supported logs, see Supported log categories - Microsoft.ApiManagement/service
Metric | Name in REST API | Unit | Aggregation | Dimensions | Time Grains | DS Export |
---|---|---|---|---|---|---|
Capacity Utilization metric for ApiManagement service. Note: For skus other than Premium, 'Max' aggregation will show the value as 0. |
Capacity |
Percent | Average, Maximum | Location |
PT1M | Yes |
CPU Percentage of Gateway CPU Percentage of Gateway for SKUv2 services |
CpuPercent_Gateway |
Percent | Average, Maximum | <none> | PT1M | Yes |
Memory Percentage of Gateway Memory Percentage of Gateway for SKUv2 services |
MemoryPercent_Gateway |
Percent | Average, Maximum | <none> | PT1M | Yes |
Metric | Name in REST API | Unit | Aggregation | Dimensions | Time Grains | DS Export |
---|---|---|---|---|---|---|
Dropped EventHub Events Number of events skipped because of queue size limit reached |
EventHubDroppedEvents |
Count | Total (Sum) | Location |
PT1M | Yes |
Rejected EventHub Events Number of rejected EventHub events (wrong configuration or unauthorized) |
EventHubRejectedEvents |
Count | Total (Sum) | Location |
PT1M | Yes |
Successful EventHub Events Number of successful EventHub events |
EventHubSuccessfulEvents |
Count | Total (Sum) | Location |
PT1M | Yes |
Throttled EventHub Events Number of throttled EventHub events |
EventHubThrottledEvents |
Count | Total (Sum) | Location |
PT1M | Yes |
Timed Out EventHub Events Number of timed out EventHub events |
EventHubTimedoutEvents |
Count | Total (Sum) | Location |
PT1M | Yes |
Size of EventHub Events Total size of EventHub events in bytes |
EventHubTotalBytesSent |
Bytes | Total (Sum) | Location |
PT1M | Yes |
Total EventHub Events Number of events sent to EventHub |
EventHubTotalEvents |
Count | Total (Sum) | Location |
PT1M | Yes |
Failed EventHub Events Number of failed EventHub events |
EventHubTotalFailedEvents |
Count | Total (Sum) | Location |
PT1M | Yes |
Metric | Name in REST API | Unit | Aggregation | Dimensions | Time Grains | DS Export |
---|---|---|---|---|---|---|
Duration of Backend Requests Duration of Backend Requests in milliseconds |
BackendDuration |
MilliSeconds | Average, Maximum, Minimum | Location , Hostname , ApiId |
PT1M | Yes |
Overall Duration of Gateway Requests Overall Duration of Gateway Requests in milliseconds |
Duration |
MilliSeconds | Average, Maximum, Minimum | Location , Hostname , ApiId |
PT1M | Yes |
Failed Gateway Requests (Deprecated) Number of failures in gateway requests - Use multi-dimension request metric with GatewayResponseCodeCategory dimension instead |
FailedRequests |
Count | Total (Sum) | Location , Hostname |
PT1M | Yes |
Other Gateway Requests (Deprecated) Number of other gateway requests - Use multi-dimension request metric with GatewayResponseCodeCategory dimension instead |
OtherRequests |
Count | Total (Sum) | Location , Hostname |
PT1M | Yes |
Requests Gateway request metrics with multiple dimensions |
Requests |
Count | Total (Sum), Maximum, Minimum | Location , Hostname , LastErrorReason , BackendResponseCode , GatewayResponseCode , BackendResponseCodeCategory , GatewayResponseCodeCategory , ApiId |
PT1M | Yes |
Successful Gateway Requests (Deprecated) Number of successful gateway requests - Use multi-dimension request metric with GatewayResponseCodeCategory dimension instead |
SuccessfulRequests |
Count | Total (Sum) | Location , Hostname |
PT1M | Yes |
Total Gateway Requests (Deprecated) Number of gateway requests - Use multi-dimension request metric with GatewayResponseCodeCategory dimension instead |
TotalRequests |
Count | Total (Sum) | Location , Hostname |
PT1M | Yes |
Unauthorized Gateway Requests (Deprecated) Number of unauthorized gateway requests - Use multi-dimension request metric with GatewayResponseCodeCategory dimension instead |
UnauthorizedRequests |
Count | Total (Sum) | Location , Hostname |
PT1M | Yes |
Metric | Name in REST API | Unit | Aggregation | Dimensions | Time Grains | DS Export |
---|---|---|---|---|---|---|
WebSocket Connection Attempts (Preview) Count of WebSocket connection attempts based on selected source and destination |
ConnectionAttempts |
Count | Total (Sum), Average | Location , Source , Destination , State |
PT1M | Yes |
WebSocket Messages (Preview) Count of WebSocket messages based on selected source and destination |
WebSocketMessages |
Count | Total (Sum), Average | Location , Source , Destination |
PT1M | Yes |
Metric | Name in REST API | Unit | Aggregation | Dimensions | Time Grains | DS Export |
---|---|---|---|---|---|---|
Network Connectivity Status of Resources (Preview) Network Connectivity status of dependent resource types from API Management service |
NetworkConnectivity |
Count | Total (Sum), Average | Location , ResourceType |
PT1M | Yes |
Events
17 Mar, 21 - 21 Mar, 10
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowTraining
Module
Explore API Management - Training
Learn how the API Management service functions, how to transform and secure APIs, and how to create a backend API.
Certification
Microsoft Certified: Azure Administrator Associate - Certifications
Demonstrate key skills to configure, manage, secure, and administer key professional functions in Microsoft Azure.
Documentation
Supported log categories - Microsoft.ApiManagement/service - Azure Monitor
Reference for Microsoft.ApiManagement/service in Azure Monitor Logs.
Azure Monitor Logs reference - ApiManagementGatewayLogs - Azure Monitor
Reference for ApiManagementGatewayLogs table in Azure Monitor Logs.
Example log table queries for ApiManagementGatewayLogs - Azure Monitor
Example queries for ApiManagementGatewayLogs log table