Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Measurement of gunicorn.request.duration #3208

Open
sitaram-manatal opened this issue May 12, 2024 · 0 comments
Open

Question: Measurement of gunicorn.request.duration #3208

sitaram-manatal opened this issue May 12, 2024 · 0 comments

Comments

@sitaram-manatal
Copy link

sitaram-manatal commented May 12, 2024

Hello,
I wanted to ask about how the metric gunicorn.request.duration measurement is implemented in Gunicorn. For example, when a request is forwarded to Gunicorn, it is recieved at time let's say t1. There might be some queuing/backlog due to high throughput scenario and request have to wait till time t2 until it is picked up by the worker to process and return the response at time t3.
Does the gunicorn.request.duration include the time between t3-t1 or it only includes t3-t2 ?
Let me know if there is any more appropriate forum to ask this question.

This is also related to the backlog metric itself is not being available Issue 2057 and Open PR

Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant