prometheus-fastapi-instrumentator
prometheus-fastapi-instrumentator copied to clipboard
Not full metrics list
Good day. I use prometheus_fastapi_instrumentator, version 6.0.0.
I create test application:
from prometheus_fastapi_instrumentator import Instrumentator
Instrumentator().instrument(app).expose(app)
# My app
and i see all metrics in Prometheus.
But when I use this code in big productive application (with the same structure), I not see some metrics, for example http_requests_total.
In test app:
In productive app:
Prometheus sees both sources:
Can you help me?
Ok, probability prometheus_fastapi_instrumentator version 6.0.0 incompatible with FastAPI version 0.80.0. It's working with FastAPI 0.101.1.