Skip to content

fix(fastapi): fix prometheus parsing of HTTPStatus

Kevin Morris requested to merge kevr/aurweb:fix-uvicorn-metrics into pu

This wasn't actually casting to int. We shouldn't be providing HTTPStatus.CONSTANTS directly anyway, but, in case we do, we now just convert the status to an int before converting it to a string.

Signed-off-by: Kevin Morris kevr@0cost.org

Merge request reports

Loading