- Changed the sanic request ctx for __START_TIME__ for the middleware is going to be deprecated, added the newer ctx way for adding custom objects. (by Arvind Mishra)
- Custom metrics + refactoring (@axyjo and @skar404)
- Ignore OPTIONS
- Add metrics_path kwarg to monitor() in order to customize /metrics
- Make it work with newer versions of prometheus-client (>= 0.5.0) (not backwards compatible with earlier versions of the library)
- Python 3.7 support (@wallies)
- Restrict prometheus-client version that's safe to work with (@aviv-ebates)
- Add websocket support (@SirEdwin)
- Add http_status label to request latency metric (@mmniaziqb)
Add multiprocessing support
FIX: remove early return that kills other middlewares.
Starting from 0.5.0 Sanic has http[s]:// prefix in request.url, switch to using request.path instead.
First public version of sanic-prometheus