def _request()

in mutornadomon/collectors/web.py [0:0]


    def _request(self, request):
        self.monitor.count('requests', 1)
        if net.is_local_address(request.remote_ip):
            self.monitor.count('localhost_requests', 1)
        if net.is_private_address(request.remote_ip):
            self.monitor.count('private_requests', 1)
        return NullTransform()