trallnag / prometheus-fastapi-instrumentator

Instrument your FastAPI with Prometheus metrics.
ISC License
929 stars 83 forks source link

How to properly initialize modified_status when throwing exception #277

Open stephen-lazarionok opened 9 months ago

stephen-lazarionok commented 9 months ago

We do have different exceptions raised when executing the router logic. How to pass different modified_status for different exceptions raised?