Closed
Description
I think it would be very useful to implement a /metrics endpoint to ntfy server so that we could monitor ntfy itself and get some statistics on the service
See https://prometheus.io/docs/guides/go-application/ for details, there is an official library for Go, so it should be relatively easy to integrate
one thing to notice is that "/metrics" is not reserved right now, so if there is a topic named "metrics" it would be a backwards incompatible change. If that is a problem, the endpoint could be moved to another path (ex: "system/metrics", "server/metrics", etc... )