Introduction
Nginx is a high-performance, open-source web server and reverse proxy that is widely used for load balancing, HTTP caching, and media streaming. Monitoring Nginx is crucial for tracking key performance metrics such as request rates, response times, error rates, active connections, and upstream health.
To monitor Nginx efficiently, we can use the OpenTelemetry Nginx Receiver, which collects key Nginx performance metrics and makes them available for analysis.
Kubernetes 2.0 ConfigMap
Users should update or append the existing ConfigMap named opsramp-workload-metric-user-config
by adding application-specific fields. These fields may include authentication credentials, collection frequency, and other relevant configurations.
To run OpenTelemetry Redis Receiver with Kubernetes, we need to create a ConfigMap and deploy it.
Supported Metrics
Supported metrics for this workload as provided by the Kubernetes 2.0 Agent.
Metric | Description |
---|---|
nginx_connections_accepted | Total number of accepted connections in Nginx |
nginx_connections_current | Current number of open connections in Nginx |
nginx_connections_handled | Total number of handled connections in Nginx |
nginx_requests | Total number of requests processed by Nginx |