diff --git a/docs/middleware.md b/docs/middleware.md index a91342744..79f51d1cf 100644 --- a/docs/middleware.md +++ b/docs/middleware.md @@ -571,7 +571,7 @@ import time class MonitoringMiddleware: def __init__(self, app): self.app = app - + async def __call__(self, scope, receive, send): start = time.time() try: @@ -725,6 +725,11 @@ If you do want to apply the middleware logic to error responses only on some rou ## Third party middleware +#### [ApitallyMiddleware](https://github.com/apitally/python-client) + +Middleware for sending request and response metadata to [Apitally](https://apitally.io) for traffic, error and response time monitoring. +Also provides API key authentication, with API keys and permissions managed via a simple UI in Apitally. + #### [asgi-auth-github](https://github.com/simonw/asgi-auth-github) This middleware adds authentication to any ASGI application, requiring users to sign in