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 · 0 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?

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