Closed ti-chi-bot closed 1 month ago
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please assign tennix for approval. For more information see the Code Review Process.
The full list of commands accepted by this bot can be found here.
This is an automated cherry-pick of #5637
What problem does this PR solve?
Currently when the federated manager restart we lost the metrics, and the new status metric will start with value 1. In our dashboard we are measuring success/fail backups by increase() function, current implementation will cause we lost the back up status when federated manager restarts.
This PR set the status counter to 0 before it emit the first metric.
What is changed and how does it work?
Code changes
Tests
Side effects
Related changes
Release Notes
Please refer to Release Notes Language Style Guide before writing the release note.