-
Notifications
You must be signed in to change notification settings - Fork 101
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
Added new metric to capture any snapshotter error #326
Conversation
@aaronfern Thank you for your contribution. |
Thank you @aaronfern for your contribution. Before I can start building your PR, a member of the organization must set the required label(s) {'reviewed/ok-to-test'}. Once started, you can check the build status in the PR checks section below. |
/invite @shreyas-s-rao |
/invite @amshuman-kr |
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.
@aaronfern Thanks for the well-written first PR! I have added a few comments regarding using the LabelError
constant from metrics package. Please address these changes. Thanks.
What this PR does / why we need it:
Adding a new metric
etcdbr_snapshotter_failure
used as a blanket metric to capture any snapshotter error. This will be used to add an alert to the gardener prometheus dashboard to alert the DoD of any backup sidecar error wrt any snapshotter operation failure.This is a precursor to allowing etcd to serve traffic when the backup sidecar is starting up/restarting
Which issue(s) this PR fixes:
Fixes partially #325
Special notes for your reviewer:
Release note: