-
Notifications
You must be signed in to change notification settings - Fork 142
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
only seeing limited amount of metrics #70
Comments
maybe you forgot to compile nginx with nginx-module-vts, try it |
Can’t remember now , it was over 2 years ago and left the organisation since then. |
Solution for Seekers: nginx-exporter:
image: sophos/nginx-vts-exporter
container_name: nginx-exporter
user: root
privileged: true
environment:
- NGINX_STATUS=http://webserver/status/format/json
restart: always
ports:
- 9913:9913 instead of: nginx-exporter:
image: sophos/nginx-vts-exporter
container_name: nginx-exporter
user: root
privileged: true
environment:
- NGINX_STATUS=http://localhost/status/format/json
restart: always
ports:
- 9913:9913 Don't forget change |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi There,
Trying this out....
I can hit http://localhost:8080/status OK and loads a lot of json as per what I see on the status.html
When I hit the metrics end point - All I see is the following;
HELP nginx_server_connections nginx connections
TYPE nginx_server_connections gauge
nginx_server_connections{status="accepted"} 2.3859827e+07
nginx_server_connections{status="active"} 23
nginx_server_connections{status="handled"} 0
nginx_server_connections{status="reading"} 0
nginx_server_connections{status="requests"} 0
nginx_server_connections{status="waiting"} 0
nginx_server_connections{status="writing"} 0
HELP nginx_server_info nginx info
TYPE nginx_server_info gauge
nginx_server_info{hostName="",nginxVersion=""} 0
HELP nginx_vts_exporter_build_info A metric with a constant '1' value labeled by version, revision, branch, and goversion from which nginx_vts_exporter was built.
TYPE nginx_vts_exporter_build_info gauge
nginx_vts_exporter_build_info{branch="HEAD",goversion="go1.10",revision="8aa2881c7050d9b28f2312d7ce99d93458611d04
Running the latest exporter release and nginx plus 1.2.2
What am I missing here?
Cheers...
Pete
The text was updated successfully, but these errors were encountered: