mailru / graphite-nginx-module

An nginx module for collecting stats into Graphite
135 stars 34 forks source link

allow to cache absent parameters in lua #44

Closed sorc1 closed 3 years ago

sorc1 commented 3 years ago

Make ngx.graphite.param() to return false on absent parameters (instead of nil, which now means a link getting error). False values are stored in lua tables, so that simplifies absent parameters caching.