Enable NGINX for Azure Monitoring

Learn how to monitor NGINX for Azure.

You can report on your application telemetry from your NGINX for Azure deployment to Azure Monitor. Within Azure Monitor, you can review all the metrics, correlate them, analyze them, and create alerts for proactive monitoring.

Note:
NGINX for Azure publishes custom metrics to Azure Monitor. To learn about the differences between standard and custom metrics, refer to the Custom metrics in Azure Monitor overview documentation from Microsoft.

Prerequisites

  • A user-managed identity.

  • User must be an owner or user access administrator for NGINX deployment resource to complete this set up.

  • If you’re unfamiliar with Azure Monitor, refer to the Azure monitor overview documentation from Microsoft.

Enable Monitoring

  1. Go to your NGINX for Azure deployment.

  2. Select NGINX monitoring in the left menu.

    NGINX Monitoring tab
  3. Enable Send metrics to Azure Monitor.

    Enable NGINX Monitoring
  4. Select Metrics in the left-hand navigation pane, and query the metrics reported. Refer to the Azure Monitor Metrics Explorer documentation from Microsoft to learn how you can create queries.

    Azure Metrics Explorer
Note:
Many of NGINX+’s advanced statistics need to be enabled in nginx.conf before they will appear; e.g. plus.http.request.bytes_*. Refer to Gathering Data to Appear in Statistics.