]> git.ipfire.org Git - thirdparty/starlette.git/commitdiff
Add Starlette Prometheus to plugins and middlewares docs 614/head
authorJosé Antonio Perdiguero López <perdy@perdy.io>
Fri, 23 Aug 2019 12:33:45 +0000 (14:33 +0200)
committerJosé Antonio Perdiguero López <perdy@perdy.io>
Fri, 23 Aug 2019 12:33:45 +0000 (14:33 +0200)
docs/middleware.md
docs/third-party-packages.md

index b20adab040f37833df4e1792d467e853c9199cc8..a4a1eb504456125934e7f5b6be24ae3b1f3af745 100644 (file)
@@ -222,3 +222,7 @@ passes through it.  Includes examples for how to emit these timings as statsd me
 This middleware adds authentication to any ASGI application, requiring users to sign in
 using their GitHub account (via [OAuth](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/)).
 Access can be restricted to specific users or to members of specific GitHub organizations or teams.
+
+#### [PrometheusMiddleware](https://github.com/perdy/starlette-prometheus)
+
+A middleware class for capturing Prometheus metrics related to requests and responses, including in progress requests, timing...
index 656387ffe7bc07a9c3bf3edddef2f50c6895315d..74119e51f662d46294688a0c338b6baee3c59415 100644 (file)
@@ -50,6 +50,12 @@ Serverless ASGI adapter for AWS Lambda & API Gateway.
 Manage and send messages to groups of channels using websockets.
 Checkout <a href="https://github.com/taoufik07/nejma-chat" target="_blank">nejma-chat</a>, a simple chat application built using `nejma` and `starlette`.
 
+### Starlette Prometheus
+
+<a href="https://github.com/perdy/starlette-prometheus" target="_blank">GitHub</a>
+
+A plugin for providing an endpoint that exposes [Prometheus](https://prometheus.io/) metrics based on its [official python client](https://github.com/prometheus/client_python).
+
 ## Frameworks
 
 ### Responder