-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
[Feature] Support Nginx monitoring. #11534
Comments
Are you using both metrics and log analysis? |
Just metrics analysis, expose by nginx-lua-prometheus, but it need some extra programming in nginx.conf:
I compared it with nginx-prometheus-exporter and nginx-vts-exporter, this lua library can provide more metrics and user can freely define their endpoint grouping rule. |
nginx-prometheus-exporter works well with nginx plus, but in nginx oss it expose poor metrics. nginx-vts-exporter requires rebuild nginx with vts-module, alough nginx-lua-prometheus requires extra lua module too, I think it is more widely used by user. |
Thanks for the explanation. I just wanted to ask about nginx-prometheus-exporter. __ So, you are proposing to use nginx-vts-exporter? |
I propose to use nginx-lua-prometheus. About error logs analysis, I need more research, once I get some clues I will share with you here. |
About this, this requires adding more metrics through LUA scripts for every route rule, right? |
It can be added in both http or location section, it depended on how precision user want monitoring endpoint metrics, may be just |
Yes, that was I mean. OK, then we need a good documentation to explain. |
Ok, thanks. |
Yes, monitoring output error level logs totally make sense. |
Search before asking
Description
Nginx is a popular HTTP and reverse proxy server. I was already doing this work last weekend, please assign this task to me, more details and progress I will sync here.
Use case
No response
Related issues
No response
Are you willing to submit a pull request to implement this on your own?
Code of Conduct
The text was updated successfully, but these errors were encountered: