Skip to content

Commit 82f0cee

Browse files
doc enhancements
1 parent fec4d17 commit 82f0cee

File tree

1 file changed

+38
-19
lines changed

1 file changed

+38
-19
lines changed

docs/integrations/microsoft-azure/azure-api-management.md

Lines changed: 38 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ import useBaseUrl from '@docusaurus/useBaseUrl';
1414

1515
For Azure API Management, you can collect the following logs and metrics:
1616

17-
* **Logs related to ApiManagement Gateway**. To learn more about the resource log schema for Azure API Management, refer to the [Azure documentation](https://learn.microsoft.com/en-us/azure/api-management/gateway-log-schema-reference). The Consumption tier doesn't support the collection of resource logs.
18-
* **Logs related to Websocket Connections**. To learn more about the resource log schema for Azure API Management, refer to the [Azure documentation](https://learn.microsoft.com/en-us/azure/azure-monitor/reference/tables/apimanagementwebsocketconnectionlogs). The Consumption tier doesn't support the collection of resource logs.
19-
* **Logs related to Developer Portal usage**. To learn more about the resource log schema for Azure API Management, refer to the [Azure documentation](https://learn.microsoft.com/en-us/azure/api-management/developer-portal-audit-log-schema-reference). The Consumption tier doesn't support the collection of resource logs.
17+
* **Gateway Logs**. To learn more about the resource log schema for Azure API Management, refer to the [Azure documentation](https://learn.microsoft.com/en-us/azure/api-management/gateway-log-schema-reference). The Consumption tier doesn't support the collection of resource logs.
18+
* **WebSocket Connection Logs**. To learn more about the resource log schema for Azure API Management, refer to the [Azure documentation](https://learn.microsoft.com/en-us/azure/azure-monitor/reference/tables/apimanagementwebsocketconnectionlogs). The Consumption tier doesn't support the collection of resource logs.
19+
* **Developer Portal Audit Logs**. To learn more about the resource log schema for Azure API Management, refer to the [Azure documentation](https://learn.microsoft.com/en-us/azure/api-management/developer-portal-audit-log-schema-reference). The Consumption tier doesn't support the collection of resource logs.
2020
* **Platform Metrics for Azure API Management**. These metrics are available in [Microsoft.ApiManagement/service](https://learn.microsoft.com/en-us/azure/azure-monitor/reference/supported-metrics/microsoft-apimanagement-service-metrics) namespace.
2121

2222
## Setup
@@ -90,22 +90,41 @@ Create the following field extraction rules (FER) for Azure Storage by following
9090

9191
Create the following metrics rules by following the instructions in [Create a metrics rule](/docs/metrics/metric-rules-editor/#create-a-metrics-rule).
9292

93-
#### Azure observability metadata extraction application gateway level
94-
95-
```sql
96-
Rule Name: AzureObservabilityMetadataExtractionAppGatewayLevel
97-
```
98-
99-
```sql title="Metric match expression"
100-
resourceId=/SUBSCRIPTIONS/*/RESOURCEGROUPS/*/PROVIDERS/*/APPLICATIONGATEWAYS/* tenant_name=*
101-
```
102-
| Fields extracted | Metric rule |
103-
|:------------------|:------------------------|
104-
| subscription_id | $resourceId._1 |
105-
| resource_group | $resourceId._2 |
106-
| provider_name | MICROSOFT.APIMANAGEMENT |
107-
| resource_type | SERVICE |
108-
| resource_name | $resourceId._3 |
93+
* **Azure Observability Metadata Extraction Service Level**
94+
In case this rule is already exists then no need to create again.
95+
```sql
96+
Rule Name: AzureObservabilityMetadataExtractionServiceLevel
97+
```
98+
99+
```sql title="Metric match expression"
100+
resourceId=/SUBSCRIPTIONS/*/RESOURCEGROUPS/*/PROVIDERS/*/*/*/*/* tenant_name=*
101+
```
102+
| Fields extracted | Metric rule |
103+
|------------------|----------------|
104+
| subscription_id | $resourceId._1 |
105+
| resource_group | $resourceId._2 |
106+
| provider_name | $resourceId._3 |
107+
| resource_type | $resourceId._4 |
108+
| resource_name | $resourceId._5 |
109+
| service_type | $resourceId._6 |
110+
| service_name | $resourceId._7 |
111+
112+
* **Azure observability metadata extraction application gateway level**
113+
114+
```sql
115+
Rule Name: AzureObservabilityMetadataExtractionAppGatewayLevel
116+
```
117+
118+
```sql title="Metric match expression"
119+
resourceId=/SUBSCRIPTIONS/*/RESOURCEGROUPS/*/PROVIDERS/*/APPLICATIONGATEWAYS/* tenant_name=*
120+
```
121+
| Fields extracted | Metric rule |
122+
|:------------------|:------------------------|
123+
| subscription_id | $resourceId._1 |
124+
| resource_group | $resourceId._2 |
125+
| provider_name | MICROSOFT.APIMANAGEMENT |
126+
| resource_type | SERVICE |
127+
| resource_name | $resourceId._3 |
109128
110129
### Configure metrics collection
111130

0 commit comments

Comments
 (0)