-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for prometheus exporter for NGINX #346
Conversation
b0a6c68
to
5b9b8c8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see my suggestions.
Additionally:
- Change
Deploys a Prometheus exporter container within the Ingress controller pod. Requires NGINX Plus. controller.nginxplus must be set to true.
toDeploys a Prometheus exporter container within the Ingress controller pod.
- Rebase against the master
{{ else }} | ||
- http://127.0.0.1:8080/stub_status | ||
{{- end }} | ||
- -nginx.scrape-uri |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please don't change the order of the arguments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
example of a problem:
args:
- -web.listen-address
- :9113
- http://127.0.0.1:8080/stub_status
- -nginx.scrape-uri
- -nginx.scrape-uri | ||
{{- if .Values.controller.nginxplus }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't change the other of the arguments. an example of the problem is below:
args:
- -web.listen-address
- :9113
- -nginx.scrape-uri
- -nginx.plus
- http://127.0.0.1:8080/api
* Added oss prometheus deployment manifest * Added oss prometheus daemonset manifest * Updated comparison document * Updated install document
95a2ff5
to
3b54bd2
Compare
- http://127.0.0.1:8080/api | ||
{{ else }} | ||
- http://127.0.0.1:8080/stub_status | ||
{{- end }} | ||
- -nginx.scrape-uri |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
* Changed prometheus.create note to reflect that nginxplus is no longer required * Reverted helm chart argument order change
3b54bd2
to
44d024d
Compare
* Added OSS Prometheus deployment manifest * Added OSS Prometheus daemonset manifest * Updated comparison document * Updated install document * Helm: Add OSS Prometheus exporter support * Changed prometheus.create note to reflect that nginxplus is no longer required
Proposed changes
Checklist
Before creating a PR, run through this checklist and mark each as complete.
I have added tests that prove my fix is effective or that my feature works