mailru / graphite-nginx-module

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

What is supposed to happen in when graphite_default_data's $location is used with the root location? #21

Closed tareq-khandaker-ck-xx closed 6 years ago

tareq-khandaker-ck-xx commented 6 years ago

The documentation (https://github.com/mailru/graphite-nginx-module#graphite_default_data) says that:

Data for /foo/ will be sent to nginx.foo, data for /bar/ - to nginx.bar

What is supposed to happen to the data for / with graphite_default_data nginx.$location;?

kirimedia commented 6 years ago

These data will not collected. You need to add a separate graphite_data for the location /.