starlette-prometheus icon indicating copy to clipboard operation
starlette-prometheus copied to clipboard

Setting requests in progress multiprocess mode as livesum

Open rbizos opened this issue 1 year ago • 0 comments

By default it was by pid, this could generate a lot of metrics in case of many workers and multiprocess. This can overtime stack as worker processes can restart and leak metrics like this. With this change, this would remove the pid and the metric will be the same regardless of the multiprocess context

rbizos avatar Sep 19 '22 13:09 rbizos