Skip to content

Commit 7c57cc9

Browse files
author
Jesus Samitier
committed
Add Prometheus annotations to nginx-controller setup guide.
SMPROD-7716
1 parent adcdb26 commit 7c57cc9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

resources/nginx-ingress/INSTALL.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Installing the exporter
2-
Nginx ingress controller is already instrumented so you don't have to add any extra exporter. However, ensure that your nginx ingress controller is already exposing these metrics.
2+
Nginx ingress controller is already instrumented so you don't have to add any extra exporter. However, ensure that your nginx ingress controller is already exposing these metrics. Don't forget to include the `prometheus.io/port` and `prometheus.io/scrape` annotations.
33

4-
For example if you are deploying your nginx ingress controller with helm, make sure you have these values.
4+
For example if you are deploying your nginx ingress controller using the helm chart from Kubernetes, the values would be:
55

66
```yaml
77
controller:
@@ -10,6 +10,7 @@ controller:
1010
enabled: true
1111
podAnnotations:
1212
prometheus.io/port: "10254"
13+
prometheus.io/scrape: "true"
1314
```
1415
1516
# Sysdig Agent configuration

0 commit comments

Comments
 (0)