openresty / docker-openresty

Docker tooling for OpenResty
https://hub.docker.com/r/openresty/openresty
BSD 2-Clause "Simplified" License
945 stars 530 forks source link

Request to add prometheus monitoring function #177

Open ilanni2460 opened 3 years ago

ilanni2460 commented 3 years ago

Request to add prometheus monitoring function,You can refer to this link: https://github.com/mohsenmottaghi/docker-openresty-prometheus

neomantra commented 3 years ago

It looks like that person's tooling uses this library: https://github.com/knyar/nginx-lua-prometheus

Beyond the build scaffolding in that repo, there are no extra modules or compile-time changes needed.

There is an OPM package for it, so you can install it in your own derived image: