-
Notifications
You must be signed in to change notification settings - Fork 817
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 emit 0 count if encounters error #4073
Conversation
Pull Request Test Coverage Report for Build 0441c53f-563c-4967-85ee-09b31a74a011
💛 - Coveralls |
8d60e66
to
059d02d
Compare
@@ -336,13 +336,14 @@ func (q *replicationQueueImpl) emitDLQSize() { | |||
).IncCounter( | |||
metrics.DomainReplicationQueueSizeErrorCount, | |||
) | |||
} else { | |||
q.metricsClient.Scope( |
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.
is there the corresponding metric on the dash?
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.
Yes
} | ||
q.metricsClient.Scope( |
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.
nit: lets make sure it wont make the existing alerts going off.
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.
I updated the alert to use this one.
What changed?
Fix emit 0 count if encounters error
Why?
Fix emit 0 count if encounters error
How did you test it?
Potential risks