starlette_exporter
starlette_exporter copied to clipboard
How to see python_*** metrics
I can use starlette_exporter to generate starlette_request_*** metrics now, but I don't see python_*** metrics. Is there a flag to enable it? (Sorry, I cannot find related information in issues and code... If I miss anything, please let me know, thanks.)
I think it's still due to Multiprocess mode, when I changed the worker to 1, it shows the python_*** metrics
hi @dennys , any luck with this issue? I tried a basic test FastAPI app and the following commands:
export PROMETHEUS_MULTIPROCESS_DIR=/tmp/
gunicorn app:app -w 2 -b 0.0.0.0:8080 -k uvicorn.workers.UvicornWorker
I'm able to see both python_* and process_* metrics. Do you have some config/code that I might be able to reproduce with?
Closing due to inactivity