-
Notifications
You must be signed in to change notification settings - Fork 340
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
Location zone and resolver metric support #64
Conversation
e7594e0
to
ac03689
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.
@ampant please see my suggestions.
Additinally, please update the main readme to include the newly added metrics -- https://github.com/nginxinc/nginx-prometheus-exporter#exported-metrics
Note that currently the code doesn't work for the resolver metrics:
./nginx-prometheus-exporter -nginx.plus --nginx.scrape-uri http://demo.nginx.com/api
2019/10/01 13:43:31 Starting NGINX Prometheus Exporter Version=0.4.2 GitCommit=ac03689
panic: descriptor Desc{fqName: "nginxplus_resolver_unknown", help: "The total number of requests completed with an unknown error.", constLabels: {}, variableLabels: [resolver]} is invalid: duplicate label names
goroutine 1 [running]:
. . .
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.
Some feedback from @pleshakov was missed. Please take note.
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.
👍
9367d21
to
048e8fa
Compare
Proposed changes