@@ -306,6 +306,46 @@ readinessProbe:
306306| `ingress.tls` | TLS configuration for the Ingress | `[]` |
307307
308308
309+ # ## Metrics Parameters
310+
311+ | Parameter | Description | Default |
312+ |----------------------------------|--------------------------------------------------------------------|-----------|
313+ | `metrics.enabled` | Start a sidecar Prometheus exporter to expose Nginx metrics | `false` |
314+ | `metrics.image.registry` | Nginx exporter image registry | `docker.io` |
315+ | `metrics.image.repository` | Nginx exporter image repository | `nginx/nginx-prometheus-exporter` |
316+ | `metrics.image.tag` | Nginx exporter image tag | `"1.4@sha256:..."` |
317+ | `metrics.image.pullPolicy` | Nginx exporter image pull policy | `Always` |
318+ | `metrics.resources.limits.memory`| Memory limit for metrics container | `64Mi` |
319+ | `metrics.resources.requests.cpu` | CPU request for metrics container | `50m` |
320+ | `metrics.resources.requests.memory`| Memory request for metrics container | `64Mi` |
321+ | `metrics.extraArgs` | Extra arguments for nginx exporter | `[]` |
322+ | `metrics.service.type` | Metrics service type | `ClusterIP` |
323+ | `metrics.service.port` | Metrics service port | `9113` |
324+ | `metrics.service.annotations` | Additional custom annotations for Metrics service | `{}` |
325+ | `metrics.service.loadBalancerIP` | Load balancer IP if metrics service type is `LoadBalancer` | `""` |
326+ | `metrics.service.loadBalancerSourceRanges` | Allowed addresses for LoadBalancer metrics service | `[]` |
327+ | `metrics.service.clusterIP` | Static clusterIP or None for headless metrics service | `""` |
328+ | `metrics.service.nodePort` | NodePort value for LoadBalancer/NodePort metrics service types | `""` |
329+ | `metrics.serviceMonitor.enabled` | Create ServiceMonitor resource(s) for PrometheusOperator | `false` |
330+ | `metrics.serviceMonitor.namespace`| Namespace for ServiceMonitor resource(s) | `""` |
331+ | `metrics.serviceMonitor.interval`| Interval for scraping metrics | `30s` |
332+ | `metrics.serviceMonitor.scrapeTimeout`| Timeout for scraping metrics | `""` |
333+ | `metrics.serviceMonitor.relabelings`| Additional relabeling of metrics | `[]` |
334+ | `metrics.serviceMonitor.metricRelabelings`| Additional metric relabeling of metrics | `[]` |
335+ | `metrics.serviceMonitor.honorLabels`| Honor metrics labels | `false` |
336+ | `metrics.serviceMonitor.selector`| Prometheus instance selector labels | `{}` |
337+ | `metrics.serviceMonitor.annotations`| Additional annotations for ServiceMonitor | `{}` |
338+ | `metrics.serviceMonitor.namespaceSelector`| Namespace selector for ServiceMonitor | `{}` |
339+
340+ **Note:**
341+ To enable metrics, set `metrics.enabled : true` and ensure your Nginx configuration includes a stub status endpoint, e.g.:
342+ ` ` ` nginx
343+ location /stub_status {
344+ stub_status on;
345+ }
346+ ` ` `
347+
348+
309349# ## Extra Configuration Parameters
310350
311351| Parameter | Description | Default |
0 commit comments