View your NGINX data in New Relic
Once your setup is complete and data is flowing, you can view your NGINX metrics and logs in New Relic and create custom alerts.
Method 1: Through Integrations & Agents
- Go to one.newrelic.com > Integrations & Agents
- Click Dashboards
- Find and click NGINX OTel overview dashboard
- Select your account and click View dashboard
Method 2: Through Infrastructure monitoring
- Go to one.newrelic.com > On-host integrations
- Search for your NGINX server by deployment name (e.g.,
production-web-01) - Click on your server to see detailed metrics
Query your data with NRQL
You can create custom queries to analyze your NGINX data:
Example queries:
-- View request rate over timeFROM Metric SELECT rate(sum(nginx.requests), 1 minute)WHERE nginx.deployment.name = 'production-web-01'TIMESERIES
-- Check connection statesFROM Metric SELECT latest(nginx.connections_current)WHERE nginx.deployment.name = 'production-web-01'FACET state
-- Analyze log patterns (if log forwarding enabled)FROM Log SELECT count(*)WHERE nginx.deployment.name = 'production-web-01'FACET status SINCE 1 hour agoTroubleshoot data visibility
If you don't see data:
- Allow some time - Initial data ingestion can take a few minutes
- Check the time range - Ensure you're looking at recent data
- Verify deployment name - Use the exact name from your Collector config
- Check for data with NRQL:FROM Metric SELECT * WHERE nginx.deployment.name LIKE '%production%' LIMIT 1
If data appears intermittent:
- Check Collector logs for errors:bash$sudo journalctl -u otelcol-contrib -n 50
- Verify NGINX is generating traffic - Test with
curl http://localhost - Check authentication - Ensure license key and endpoint are correct
Next steps
Learn more about your data:
- NGINX OpenTelemetry metrics and attributes reference - Complete metrics reference with descriptions and examples
- Introduction to NRQL - Learn New Relic's query language for advanced data analysis
- Create NRQL alert conditions - Set up custom alerts based on your NGINX metrics
Setup guides:
- Monitor self-hosted NGINX with OpenTelemetry - Complete setup for on-host deployments
- Monitor NGINX on Kubernetes with OpenTelemetry - Complete setup for Kubernetes deployments
- NGINX OpenTelemetry overview - Understand collected metrics, attributes, and use cases