Monitor your NGINX servers running in Kubernetes clusters using the OpenTelemetry Collector to send metrics and telemetry data to New Relic.
This Kubernetes-specific integration automatically discovers NGINX pods in your cluster and collects metrics without manual configuration for each instance. It leverages the OpenTelemetry nginxreceiver and receivercreator to dynamically monitor NGINX performance metrics, connection statistics, and server health across your containerized environment.
Before you begin
Ensure you have:
- A New Relic account with a
- Enable the HTTP stub status module on NGINX pod that needs to be monitored
- Add labels
appandroleto each NGINX pod that needs to be monitored
Install and configure the OpenTelemetry Collector
Deploy the OpenTelemetry Collector to your Kubernetes cluster using Helm. The collector will automatically discover and scrape metrics from your NGINX pods.
Find and use data
- Go to one.newrelic.com > Integrations & Agents.
- Select Dashboards, and click NGINX OTel overview dashboard.
- In the popup window, select your account.
- Click View dashboard, and see your NGINX data in New Relic.
The NGINX metrics are attached to the Metric event type. You can query this data for troubleshooting purposes or to create custom charts and dashboards.
Metrics and attributes reference
This integration collects the same core NGINX metrics as the on-host deployment, with additional Kubernetes-specific resource attributes for cluster, namespace, and pod identification.
For complete metrics and attributes reference: See NGINX OpenTelemetry metrics and attributes reference for detailed descriptions of all metrics, types, and resource attributes for Kubernetes deployments.
Next steps
Learn more about your data:
- Find and query your NGINX data - Access dashboards, create custom queries, and set up alerts
- NGINX OpenTelemetry metrics and attributes reference - Complete metrics reference with descriptions and examples
- NGINX OpenTelemetry overview - Understand collected metrics, attributes, and use cases
- NGINX receiver documentation - Technical details and advanced configuration
Explore related monitoring:
- Monitor NGINX Plus with OpenTelemetry - For commercial NGINX Plus deployments
- Monitor self-hosted NGINX with OpenTelemetry - For traditional server deployments
- OpenTelemetry best practices - Optimize your OpenTelemetry setup
Kubernetes-specific resources:
- OpenTelemetry Collector on Kubernetes - Advanced collector configurations