You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And I notice that when querying /metrics my application freeze for few seconds.
Is this normal? I'm looking at the code of render() and it seems not async.
Do you plan to make it async?
If not what solution do you suggest?
Thank you in advance
The text was updated successfully, but these errors were encountered:
Looking at the official client, it seems that they added async ASGI metric exposure. But I don't know if their metrics update will then be blocking. prometheus/client_python#512
Hello,
I'm using aioprometheus in my FastAPI like this:
And I notice that when querying /metrics my application freeze for few seconds.
Is this normal? I'm looking at the code of render() and it seems not async.
Do you plan to make it async?
If not what solution do you suggest?
Thank you in advance
The text was updated successfully, but these errors were encountered: