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

Instrumentator middleware includes BackgroundTask duration in http request latency metrics #275

Open
Blejwi opened this issue Nov 10, 2023 · 2 comments

Comments

@Blejwi
Copy link

Blejwi commented Nov 10, 2023

Hello,

PrometheusInstrumentatorMiddleware measures HTTP request time including the time of background tasks added during that request.
I don't think it's an expected behavior.

Do you have any idea how to deal with that?

@CuriousDolphin
Copy link

Hello, i have the same problem, someone managed to bypass it?

@causalbody
Copy link

I am also running into this. Apparently was also reported in #191

Is this a known issue on the to be fixed radar?

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

3 participants