Add Starlette Prometheus to plugins and middlewares docs

This commit is contained in:
José Antonio Perdiguero López 2019-08-23 14:33:45 +02:00
parent cba5eb87bd
commit 981f78a1c4
2 changed files with 10 additions and 0 deletions

View 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...

View 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