Packages

Monitoring based on Telemetry + Prometheus

Current section

Files

Jump to
teleprom src endpoints teleprom_ping_handler.erl
Raw

src/endpoints/teleprom_ping_handler.erl

-module(teleprom_ping_handler).
-export([init/2]).
init(Req0, Opts) ->
Req1 =
cowboy_req:reply(200, #{<<"content-type">> => <<"text/plain">>}, <<"200. OK">>, Req0),
{ok, Req1, Opts}.