-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PLAT-14165] Health check to report on time drift.
Summary: Added a new health check that uses chrony to report warnings and errors depending on the amount of drift (250 ms for warning and 400 for error by default). If chrony is not installed, the health check skips and does not report anything Test Plan: 1. chrony installed with 0 offset (check passed) 2. chrony installed with large offset (check reported error) 3. chrony not installed (check skipped) 4. chrony stopped (check reported error) 5. hard coded drift_ms for error and warnings (reported error/warning as expected) Reviewers: vbansal, yshchetinin, svarshney, amalyshev Reviewed By: amalyshev Subscribers: yugaware Differential Revision: https://phorge.dev.yugabyte.com/D36145
- Loading branch information
Showing
4 changed files
with
98 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters