-
-
Notifications
You must be signed in to change notification settings - Fork 175
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
Missing metrics on Grafana #20
Comments
Your response contains metrics like |
Hello, I'm sure, my Prometheus server is located at Google Cloud, my nginx server is on a dedicated server with other provider. Only node exporter is running at the nginx server but metrics are different from exposed by So i don't know what is happening. |
BTW I'm running the 64 bits version downloaded from: https://github.com/martin-helmich/prometheus-nginxlog-exporter/releases/download/v1.0.1/prometheus-nginxlog-exporter-linux-amd64-static |
I did tests with the other binaries and I got the same result 😕 P.D. Do I need to install go language? |
My mistake, the The exporter will only start producing NGINX metrics as soon as data has been read from an access log file. Please make sure that the access log file that you have supplied (via command-line parameter or configuration file) is present. If you have configured your exporter to use an existing access log file, please provide the following information to help me further debug this issue:
|
Yes it's present, but I don't know if the owner is related withe the issue, the file has
Content of
SORRY I FORGOT SOMETHING
|
Thanks for the response. I'm starting to suspect this might be a permission-related issue. In your case, the exporter runs as Could you try removing the |
It worked! The exporter did start to parse the log file, but in some cases I'm getting the message: BTW: I deleted from |
I'm getting only two metrics right now. Maybe because a wrong format?
|
Thanks for the feedback. I've opened a new issue to track the error reporting when opening files -- this is obviously a bug; if a file cannot be opened due to permissions, the exporter should terminate with a comprehensive error message, and not just keep on running. Regarding the metrics: All other metrics (like |
Do you have an example on how to configure nginx to get those metrics? And a lot of thanks for your help and great work!!! Regards, |
Have a look at NGINX's Logging and Monitoring guide. It contains some good examples that contain the
|
Thank you!!! |
Happy to help 👍. Closing this issue for now. |
Hello,
I followed your instructions to get
prometheus-nginxlog-exporter
installed on my nginx node, so it is working and providing metrics, but there isn't any thing similar to the queries that you use in Grafana.I'm getting the following:
I'm missing something?
Best Regards.
The text was updated successfully, but these errors were encountered: