Skip to content

Commit

Permalink
Merge pull request #215 from sysdiglabs/SMPROD-7716
Browse files Browse the repository at this point in the history
Add Prometheus annotations to nginx-controller setup guide.
  • Loading branch information
daviddetorres authored May 4, 2022
2 parents adcdb26 + 7c57cc9 commit 55aece8
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 55aece8

Please sign in to comment.