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

http request reposinse time includes brackground task's runtime #191

Open
tonkolviktor opened this issue Oct 10, 2022 · 0 comments
Open

Comments

@tonkolviktor
Copy link

Maybe related to #20

http_request_duration_highr_seconds_bucket seems to include in the http response time the runtime of the background tasks started in the request in question.

Setup:
python3.8
starlette 0.20.4
fastapi 0.85.0
prometheus-fastapi-instrumentator 5.9.1

is this expected?

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