Skip to content

Commit c2dc918

Browse files
committed
Line edits3
1 parent 42d6bbd commit c2dc918

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

articles/api-management/how-to-configure-cloud-metrics-logs.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
title: Configure cloud metrics and logs for Azure API Management self-hosted gateway | Microsoft Docs
2+
title: Configure Cloud Metrics and Logs for Azure API Management Self-Hosted Gateway | Microsoft Docs
33
description: Learn how to configure cloud metrics and logs for Azure API Management self-hosted gateway
44
services: api-management
55
author: dlepow
66
manager: gwallace
77
ms.service: azure-api-management
88
ms.topic: how-to
9-
ms.date: 04/30/2020
9+
ms.date: 10/06/2025
1010
ms.author: danlep
1111
---
1212

@@ -16,19 +16,19 @@ ms.author: danlep
1616

1717
This article provides details for configuring cloud metrics and logs for the [self-hosted gateway](./self-hosted-gateway-overview.md).
1818

19-
The self-hosted gateway has to be associated with an API management service and requires outbound TCP/IP connectivity to Azure on port 443. The gateway leverages the outbound connection to send telemetry to Azure, if configured to do so.
19+
You must associate the self-hosted gateway with an Azure API Management service and provide outbound TCP/IP connectivity to Azure on port 443. The gateway uses the outbound connection to send telemetry to Azure, if you configure it to do so.
2020

2121
## Metrics
22-
By default, the self-hosted gateway emits a number of metrics through [Azure Monitor](https://azure.microsoft.com/services/monitor/), same as the managed gateway [in the cloud](api-management-howto-use-azure-monitor.md).
2322

24-
The feature can be enabled or disabled using the `telemetry.metrics.cloud` key in the ConfigMap of the gateway Deployment. Below is a breakdown of the available configurations:
23+
By default, the self-hosted gateway emits several metrics through [Azure Monitor](https://azure.microsoft.com/services/monitor/), just like the managed gateway [in the cloud](api-management-howto-use-azure-monitor.md).
24+
25+
You can enable or disable this feature by using the `telemetry.metrics.cloud` key in the ConfigMap of the gateway Deployment. The following table describes the available configurations:
2526

2627
| Field | Default | Description |
2728
| ------------- | ------------- | ------------- |
2829
| telemetry.metrics.cloud | `true` | Enables logging through Azure Monitor. Value can be `true`, `false`. |
2930

30-
31-
Here is a sample configuration:
31+
Here's a sample configuration:
3232

3333
```yaml
3434
apiVersion: v1
@@ -46,16 +46,16 @@ The self-hosted gateway currently emits the following metrics through Azure Moni
4646
| ------------- | ------------- |
4747
| Requests | Number of API requests in the period |
4848
| Duration of gateway requests | Number of milliseconds from the moment gateway received request until the moment response sent in full |
49-
| Duration of backend requests | Number of milliseconds spent on overall backend IO (connecting, sending and receiving bytes) |
49+
| Duration of backend requests | Number of milliseconds spent on overall backend IO (connecting, sending, and receiving bytes) |
5050
5151
## Logs
5252
53-
The self-hosted gateway currently does not send [diagnostic logs](./api-management-howto-use-azure-monitor.md#activity-logs) to the cloud. However, it is possible to [configure and persist logs locally](how-to-configure-local-metrics-logs.md) where the self-hosted gateway is deployed.
53+
The self-hosted gateway currently doesn't send [diagnostic logs](./api-management-howto-use-azure-monitor.md#activity-logs) to the cloud. However, you can [configure and persist logs locally](how-to-configure-local-metrics-logs.md) where the self-hosted gateway is deployed.
5454
55-
If a gateway is deployed in [Azure Kubernetes Service](https://azure.microsoft.com/services/kubernetes-service/), you can enable [Azure Monitor for containers](/azure/azure-monitor/containers/container-insights-overview) to collect logs from your containers and view them in Log Analytics.
55+
If a gateway is deployed in [Azure Kubernetes Service](https://azure.microsoft.com/services/kubernetes-service/), you can enable [Azure Monitor for containers](/azure/azure-monitor/containers/container-insights-overview) to collect logs from your containers and view them in Log Analytics.
5656
5757
## Related content
5858
59-
* To learn more about the [observability capabilities of the Azure API Management gateways](observability.md).
59+
* Learn more about the [observability capabilities of the Azure API Management gateways](observability.md).
6060
* To learn more about the self-hosted gateway, see [Azure API Management self-hosted gateway overview](self-hosted-gateway-overview.md)
6161
* Learn about [configuring and persisting logs locally](how-to-configure-local-metrics-logs.md)

0 commit comments

Comments
 (0)