nginx-lua-prometheus
nginx-lua-prometheus copied to clipboard
Show an error if unsupported version of nginx or ngx_lua is used
Following #97, we could improve error handling:
- determine minimal versions of
nginxandngx_luathat are required for this library - check ngx.config.nginx_version and ngx.config.ngx_lua_version and display an error during
initif any of those is too low
Bonus points for adding another Docker-based test to ensure that the library can still run on the documented minimal version when changes are made.