fix(fastapi): fix prometheus parsing of HTTPStatus

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