diff --git a/docs/releases.md b/docs/releases.md index 507e6e3..89c813b 100644 --- a/docs/releases.md +++ b/docs/releases.md @@ -6,6 +6,7 @@ and the [ntfy Android app](https://github.com/binwiederhier/ntfy-android/release **Features:** +* Monitoring: ntfy now exposes a `/metrics` endpoint for [Prometheus](https://prometheus.io/) if [configured](config.md#monitoring) ([#210](https://github.com/binwiederhier/ntfy/issues/210), thanks to [@rogeliodh](https://github.com/rogeliodh) for reporting) * You can now use tokens in `client.yml` for publishing and subscribing ([#653](https://github.com/binwiederhier/ntfy/issues/653), thanks to [@wunter8](https://github.com/wunter8)) **Bug fixes + maintenance:** diff --git a/server/server_middleware.go b/server/server_middleware.go index 3e12ba0..5c83cf7 100644 --- a/server/server_middleware.go +++ b/server/server_middleware.go @@ -12,7 +12,6 @@ const ( contextRateVisitor contextKey = iota + 2586 contextTopic contextMatrixPushKey - contextUnifiedPush ) func (s *Server) limitRequests(next handleFunc) handleFunc {