binwiederhier hace 2 años
padre
commit
e20fd0f84f
Se han modificado 2 ficheros con 1 adiciones y 1 borrados
  1. 1 0
      docs/releases.md
  2. 0 1
      server/server_middleware.go

+ 1 - 0
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:**

+ 0 - 1
server/server_middleware.go

@@ -12,7 +12,6 @@ const (
 	contextRateVisitor contextKey = iota + 2586
 	contextTopic
 	contextMatrixPushKey
-	contextUnifiedPush
 )
 
 func (s *Server) limitRequests(next handleFunc) handleFunc {