Skip to content

Commit 0f04b44

Browse files
JTorreGryepuptravisamartin
authored
style guide corrections to migrate metrics doc (#664)
* style guide corrections to migrate metrics doc * Apply suggestions from code review Co-authored-by: Ryan Davis <[email protected]> Co-authored-by: Travis Martin <[email protected]> * Update content/nginxaas-azure/monitoring/migrate-to-platform-metrics.md Co-authored-by: Travis Martin <[email protected]> --------- Co-authored-by: Ryan Davis <[email protected]> Co-authored-by: Travis Martin <[email protected]>
1 parent de52c05 commit 0f04b44

File tree

1 file changed

+20
-18
lines changed

1 file changed

+20
-18
lines changed
Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Migrate from Custom Metrics to Platform Metrics
2+
title: Migrate from Custom metrics to Platform metrics
33
weight: 1000
44
toc: true
55
url: /nginxaas/azure/getting-started/migrate-to-platform-metrics/
@@ -8,27 +8,29 @@ type:
88
---
99

1010
## Overview
11-
NGINXaaS previously supported monitoring using [Custom Metrics](https://learn.microsoft.com/en-us/azure/azure-monitor/metrics/metrics-custom-overview). Custom metrics is a preview feature in Azure and support for it will be dropped in the future. We have added support for Platform metrics which is the Azure recommended way for monitoring resources, we strongly recommend you to migrate your deployments monitoring to use Platform metrics to take advantage of reduced latency and higher reliability.
1211

13-
## Migration Steps
14-
This section contains instructions on how to migrate your deployment monitoring from Custom Metrics to Platform Metrics.
12+
F5 NGINXaaS for Azure previously supported monitoring through [Custom Metrics](https://learn.microsoft.com/en-us/azure/azure-monitor/metrics/metrics-custom-overview), which is a preview feature in Azure. As a preview feature, support for Custom Metrics will be removed in the future. We've added support for Platform Metrics, which is the recommended way to monitor resources in Azure. We strongly recommend switching your deployment's monitoring to Platform Metrics to take advantage of lower latency and better reliability.
1513

16-
1. Verify that your NGINXaaS deployment meets the [pre-requisites]({{< relref "/nginxaas-azure/monitoring/enable-monitoring.md#prerequisites">}}) for Platform metrics to work.
17-
2. If the per-requisites are met, Platform metrics are enabled by default on all NGINXaaS deployment. Verify that you are able to see the new metrics in Azure Monitor under the `Standard Metrics` namespace.
18-
3. Turn off legacy monitoring.
14+
## Migration steps
1915

20-
- **Using Portal**
21-
1. Go to the **NGINX monitoring** page of the NGINXaaS deployment in the Azure portal.
22-
2. Toggle Off the `Send metrics to Azure Monitor` switch.
23-
3. Click Save.
16+
Follow the steps in this section to migrate your deployment monitoring from Custom metrics to Platform metrics.
2417

25-
- **Using Terraform**
26-
1. Set `diagnose_support_enabled` to false in the `azurerm_nginx_deployment` resource.
27-
2. Run `terraform plan` followed by `terraform apply` to upgrade the deployment.
18+
1. Verify that your NGINXaaS deployment meets the [pre-requisites]({{< ref "/nginxaas-azure/monitoring/enable-monitoring.md#prerequisites">}}) for Platform metrics to work.
19+
2. If the pre-requisites are met, Platform metrics are enabled by default on all NGINXaaS deployment. Verify that you are able to see the new metrics in Azure Monitor under the `Standard Metrics` namespace.
20+
3. Turn off legacy monitoring:
2821

29-
- **Using Azure CLI**
30-
Run the command below:
31-
```bash
22+
- Using the Azure portal
23+
1. In the Azure portal, go to the **NGINX monitoring** page for your NGINXaaS deployment.
24+
2. Turn off the **Send metrics to Azure Monitor** setting.
25+
3. Select **Save**.
26+
27+
- Using Terraform
28+
1. Set `diagnose_support_enabled` to false in the `azurerm_nginx_deployment` resource.
29+
2. Run `terraform plan` followed by `terraform apply` to upgrade the deployment.
30+
31+
- Using the Azure CLI
32+
Run the following command:
33+
```shell
3234
az nginx deployment update --name myDeployment --resource-group \
3335
myResourceGroup --enable-diagnostics="false"
34-
```
36+
```

0 commit comments

Comments
 (0)