Skip to content

Inprogress requests causes duplicated prometheus timeseries error #269

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

Open
vogre opened this issue Oct 9, 2023 · 0 comments · May be fixed by #324
Open

Inprogress requests causes duplicated prometheus timeseries error #269

vogre opened this issue Oct 9, 2023 · 0 comments · May be fixed by #324

Comments

@vogre
Copy link

vogre commented Oct 9, 2023

ValueError: Duplicated timeseries in CollectorRegistry: {'http_requests_inprogress'}

This happens if the FastAPI stack is rebuilt, e.g. when adding an exception handler after adding the fastapi instrumentator.

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