nginx-lua-prometheus icon indicating copy to clipboard operation
nginx-lua-prometheus copied to clipboard

Prometheus metric library for Nginx written in Lua

Results 5 nginx-lua-prometheus issues
Sort by recently updated
recently updated
newest added

Hey, I have this scenario where I am calculating the latency value by subtracting two value and want to expose it as prometheus metrics. Is there any way I can...

Exemplar can provide a correlation between metrics and traces. https://prometheus.io/docs/instrumenting/exposition_formats/#exemplars-experimental If you think the feature can be accepted, I can work on it.

Following #97, we could improve error handling: 1. determine minimal versions of `nginx` and `ngx_lua` that are required for this library 2. check [ngx.config.nginx_version](https://github.com/openresty/lua-nginx-module#ngxconfignginx_version) and [ngx.config.ngx_lua_version](https://github.com/openresty/lua-nginx-module#ngxconfigngx_lua_version) and display an error...

I found that the implementation of the prometheus library requires manual recycling of the metric if the metric is no longer updated. I think if nginx-lua-prometheus supports the new option...

When gauge metric values can be set at collection time, we don't really need to store them in the shared dict or even in per-worker local state. For cases like...