Lax / traffic-accounting-nginx-module

Monitor the incoming and outgoing traffic metrics in realtime for NGINX
https://github.com/Lax/traffic-accounting-nginx-module
BSD 2-Clause "Simplified" License
280 stars 77 forks source link

Is it possible to monitor hit/miss rate in the module? #43

Open ali-sefidmouy opened 4 years ago

ali-sefidmouy commented 4 years ago

Hi! Is it possible to monitor hit/miss rate for proxy caching in the module?

Lax commented 4 years ago

I think it is possible, using this variable: $upstream_cache_status as accounting_id. (not tested yet)

wociscz commented 4 days ago

Not working accounting_id is empty then. It'd be nice to be able account that.