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

Fix metrics timers #412

Merged
merged 3 commits into from
Mar 29, 2024
Merged

Fix metrics timers #412

merged 3 commits into from
Mar 29, 2024

Conversation

adam-fowler
Copy link
Member

Metrics timers were stopping when we returned a response but that is not when the response has been written. The response is written later by the response writer. This moves the recording of metrics to once the response has been written.

@adam-fowler adam-fowler requested a review from Joannis March 29, 2024 09:29
@adam-fowler adam-fowler merged commit a72b613 into main Mar 29, 2024
5 checks passed
@adam-fowler adam-fowler deleted the fix-metrics-timers branch March 29, 2024 09:58
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

Successfully merging this pull request may close these issues.

2 participants