Yes: increment a counter whenever there's a failed login. Scrape that counter from prometheus.
You can either instrument your web application directly with one of the many prometheus client libraries out there; or you can use statsd_exporter which will maintain the counters for you (and you send it a message to increment a counter) It's probably a good idea to have a second counter for successful logins too, then you can take the ratio of the two to get the percentage success. -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/bf6a3e86-e3bf-4de1-a685-41bcdb185f9f%40googlegroups.com.

