For AI agents: A markdown version of this page is available at https://docs.datadoghq.com/opentelemetry/integrations/nginx_metrics.md. A documentation index is available at /llms.txt.

Overview

OpenTelemetry NGINX metrics in a NGINX dashboard

The NGINX receiver allows for collection of NGINX metrics and access to the NGINX Overview dashboard. Configure the receiver according to the specifications of the latest version of the nginxreceiver.

For more information, see the OpenTelemetry project documentation for the NGINX receiver.

Setup

To collect NGINX metrics with OpenTelemetry for use with Datadog:

  1. Configure the NGINX receiver in your OpenTelemetry Collector configuration.
  2. Ensure the OpenTelemetry Collector is configured to export to Datadog.

See the NGINX receiver documentation for detailed configuration options and requirements.

Data collected

OTELDESCRIPTIONFILTER
nginx.connections_acceptedThe total number of accepted client connections
nginx.connections_currentThe current number of nginx connections by statestate: waiting
nginx.connections_currentThe current number of nginx connections by statestate: active
nginx.requestsTotal number of requests made to the server since it started

For the full mapping between OpenTelemetry and Datadog metric names, see OpenTelemetry Metrics Mapping.

Further reading

Additional helpful documentation, links, and articles: