I need to count logins per minutes using Caddy metrics and prometheus
as my setup :
Internet → CADDY → NGINX as API GATEWAY → Login API
for that, there is this section in Caddyfile to reverse proxy the login API
https://api.customdomain.fr/api/login is the endpoint responsible for the login
I want to know to get Grafana dashboard for a series of logins per minutes , as Caddy is the first receiving the traffic and can get the status code already.
in other word, I need to have prometheus query for every request have 200 status code for that specific endpoint