./ct_report/coverage/mongoose_prometheus_handler.COVER.html

1 -module(mongoose_prometheus_handler).
2
3 -behaviour(mongoose_http_handler).
4
5 %% mongoose_http_handler callbacks
6 -export([routes/1]).
7
8 -spec routes(mongoose_http_handler:options()) -> mongoose_http_handler:routes().
9 routes(#{path := BasePath}) ->
10 95 [{[BasePath, "/[:registry]"], prometheus_cowboy2_handler, #{}}].
Line Hits Source