Skip to content

Commit

Permalink
Add Prometheus annotations to nginx-controller setup guide.
Browse files Browse the repository at this point in the history
SMPROD-7716
  • Loading branch information
Jesus Samitier committed May 4, 2022
1 parent adcdb26 commit 7c57cc9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions resources/nginx-ingress/INSTALL.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Installing the exporter
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.
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.

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

```yaml
controller:
Expand All @@ -10,6 +10,7 @@ controller:
enabled: true
podAnnotations:
prometheus.io/port: "10254"
prometheus.io/scrape: "true"
```
# Sysdig Agent configuration
Expand Down

0 comments on commit 7c57cc9

Please sign in to comment.