You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/api-management/api-management-howto-deploy-self-hosted-gateway-to-docker.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ ms.author: apimpm
19
19
This article provides the steps for deploying self-hosted gateway component of Azure API Management to a Docker environment.
20
20
21
21
> [!NOTE]
22
-
> Hosting self-hosted gateway in Docker is best suited for evaluation and development use cases. Kubernetes is recommended for production use. See [this](api-management-howto-deploy-self-hosted-gateway-to-k8s.md) document to learn how to deploy self-hosted gateway to Kubernetes.
22
+
> Hosting self-hosted gateway in Docker is best suited for evaluation and development use cases. Kubernetes is recommended for production use. See [this](how-to-deploy-self-hosted-gateway-kubernetes.md) document to learn how to deploy self-hosted gateway to Kubernetes.
Copy file name to clipboardExpand all lines: articles/api-management/how-to-configure-cloud-metrics-logs.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ ms.author: apimpm
18
18
19
19
# Configure cloud metrics and logs for Azure API Management self-hosted gateway
20
20
21
-
This article provides details for configuring cloud metrics and logs for [Azure API Management self-hosted gateway](./self-hosted-gateway-overview.md).
21
+
This article provides details for configuring cloud metrics and logs for the [self-hosted gateway](./self-hosted-gateway-overview.md).
22
22
23
23
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.
24
24
@@ -54,14 +54,14 @@ The self-hosted gateway currently emits the following metrics through Azure Moni
54
54
55
55
## Logs
56
56
57
-
The self-hosted gateway currently does not send [diagnostic logs](https://docs.microsoft.com/azure/api-management/api-management-howto-use-azure-monitor#diagnostic-logs) to the cloud. However, it is possible to [configure and persist logs locally](./api-management-howto-configure-local-metrics-and-logs.md) where the self-hosted gateway is deployed.
57
+
The self-hosted gateway currently does not send [diagnostic logs](https://docs.microsoft.com/azure/api-management/api-management-howto-use-azure-monitor#diagnostic-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.
58
58
59
59
If a gateway is deployed in [Azure Kubernetes Service](https://azure.microsoft.com/services/kubernetes-service/), you can enable [Azure Monitor for containers](https://docs.microsoft.com/azure/azure-monitor/insights/container-insights-overview) to collect logs from your containers and view them in Log Analytics.
60
60
61
61
62
62
## Next steps
63
63
64
64
* To learn more about the self-hosted gateway, see [Azure API Management self-hosted gateway overview](self-hosted-gateway-overview.md)
65
-
* Learn about [configuring and persisting logs locally](api-management-howto-configure-local-metrics-and-logs.md)
65
+
* Learn about [configuring and persisting logs locally](how-to-configure-local-metrics-logs.md)
Copy file name to clipboardExpand all lines: articles/api-management/how-to-configure-local-metrics-logs.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ ms.author: apimpm
18
18
19
19
# Configure local metrics and logs for Azure API Management self-hosted gateway
20
20
21
-
This article provides details for configuring local metrics and logs for [Azure API Management self-hosted gateway](./self-hosted-gateway-overview.md). For configuring cloud metrics and logs, see [this article](api-management-howto-configure-cloud-metrics-and-logs.md).
21
+
This article provides details for configuring local metrics and logs for the [self-hosted gateway](./self-hosted-gateway-overview.md). For configuring cloud metrics and logs, see [this article](how-to-configure-cloud-metrics-logs.md).
22
22
23
23
## Metrics
24
24
The self-hosted gateway supports [StatsD](https://github.com/statsd/statsd), which has become a unifying protocol for metrics collection and aggregation. This section walks through the steps for deploying StatsD to Kubernetes, configuring the gateway to emit metrics via StatsD, and using [Prometheus](https://prometheus.io/) to monitor the metrics.
@@ -232,5 +232,5 @@ Here is a sample configuration of local logging:
232
232
## Next steps
233
233
234
234
* To learn more about the self-hosted gateway, see [Azure API Management self-hosted gateway overview](self-hosted-gateway-overview.md)
235
-
* Learn about [configuring and persisting logs in the cloud](api-management-howto-configure-local-metrics-and-logs.md)
235
+
* Learn about [configuring and persisting logs in the cloud](how-to-configure-local-metrics-logs.md)
Copy file name to clipboardExpand all lines: articles/api-management/how-to-deploy-self-hosted-gateway-azure-kubernetes-service.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,10 +25,10 @@ This article provides the steps for deploying self-hosted gateway component of A
25
25
-[Create an Azure Kubernetes cluster](../aks/kubernetes-walkthrough-portal.md)
26
26
-[Provision a gateway resource in your API Management instance](api-management-howto-provision-self-hosted-gateway.md).
27
27
28
-
## Deploy the gateway to AKS
28
+
## Deploy the self-hosted gateway to AKS
29
29
30
30
1. Select **Gateways** from under **Settings**.
31
-
2. Select the gateway resource you intend to deploy.
31
+
2. Select the self-hosted gateway resource you intend to deploy.
32
32
3. Select **Deployment**.
33
33
4. Note that a new token in the **Token** text box was autogenerated for you using the default **Expiry** and **Secret Key** values. Adjust either or both if desired and select **Generate** to create a new token.
34
34
5. Make sure **Kubernetes** is selected under **Deployment scripts**.
@@ -40,20 +40,20 @@ This article provides the steps for deploying self-hosted gateway component of A
40
40
```console
41
41
kubectl apply -f <gateway-name>.yaml
42
42
```
43
-
10. Execute the command. The command instructs your AKS cluster to run the container, using self-hosted gateway's image downloaded from the Microsoft Container Registry, and to configure the container to expose HTTP (8080) and HTTPS (443) ports.
44
-
11. Run the below command to check the gateway pod is running. Note that your pod name will be different.
43
+
11. Execute the command. The command instructs your AKS cluster to run the container, using self-hosted gateway's image downloaded from the Microsoft Container Registry, and to configure the container to expose HTTP (8080) and HTTPS (443) ports.
44
+
12. Run the below command to check the gateway pod is running. Note that your pod name will be different.
Copy file name to clipboardExpand all lines: articles/api-management/how-to-deploy-self-hosted-gateway-kubernetes.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -106,7 +106,7 @@ To learn about storage in Kubernetes follow this [link](https://kubernetes.io/do
106
106
### Local logs and metrics
107
107
Self-hosted gateway sends telemetry to [Azure Monitor](api-management-howto-use-azure-monitor.md) and [Azure Application Insights](api-management-howto-app-insights.md) per configuration settings in the associated API Management service.
108
108
When [connectivity to Azure](self-hosted-gateway-overview.md#connectivity-to-azure) is temporarily lost, the flow of telemetry to Azure is interrupted and the data is lost for the duration of the outage.
109
-
Consider [setting up local monitoring](api-management-howto-configure-local-metrics-and-logs.md) to ensure ability to observe the API traffic and prevent telemetry loss during Azure connectivity outages.
109
+
Consider [setting up local monitoring](how-to-configure-local-metrics-logs.md) to ensure ability to observe the API traffic and prevent telemetry loss during Azure connectivity outages.
0 commit comments