-
Notifications
You must be signed in to change notification settings - Fork 589
Fix metrics on outstanding incoming connections #6906
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 on outstanding incoming connections #6906
Conversation
c1f01e1
to
934c694
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6906 +/- ##
=========================================
- Coverage 83.2% 83.2% -0.1%
=========================================
Files 852 852
Lines 377089 377092 +3
=========================================
- Hits 314051 314038 -13
- Misses 63038 63054 +16 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but would be interesting to know what the Err case even is - it would imply we could not send the Accept packet for some reason.
One of the following TransportError, Reset, TimeOut, CidsExhausted.. We probably should build better metrics to understand it more.
|
I guess we need to set up a way to monitor logs on our canaries for contents of these errors. Just pooling counts into metrics would not help - we will probably need to see context of these events. |
Problem
outstanding_incoming_connection_attempts in quic streamer is off when the incoming fails and we fail to reduce the count. This causes the metric non-reliable.
Summary of Changes
subtract in the error case as well.
Fixes #