-- Load dependent modules
if not stats then modules.load('stats') end
+if not bogus_log then modules.load('bogus_log') end
-- This is a module that does the heavy lifting to provide an HTTP/2 enabled
-- server that supports TLS by default and provides endpoint for other modules
['/stats'] = {'application/json', getstats, stream_stats},
['/frequent'] = {'application/json', function () return stats.frequent() end},
['/upstreams'] = {'application/json', function () return stats.upstreams() end},
+ ['/bogus'] = {'application/json', function () return bogus_log.frequent() end},
['/metrics'] = {'text/plain; version=0.0.4', serve_prometheus},
}