-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(metrics): record drift from last resource check (#976)
* fix(metrics): record drift from last resource check Calculate the resource check drift metric (keel.resource.check.drift) by using the last time resource check succeeded as the start time. Previously, it was calculating based on the beginning of the actuation loop, which would drop to zero when the loop restarted due to timeout. Fixes #950 * fix(pr): move ResourceCheckCompleted, remove ScheduledResourceCheckStarting Remove ScheduledResourceCheckStarting since it's no longer used. Move ResourceCheckCompleted to a separate file. * fix(pr): add missing import
- Loading branch information
Lorin Hochstein
committed
Apr 7, 2020
1 parent
8987784
commit 399d102
Showing
3 changed files
with
8 additions
and
6 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
2 changes: 1 addition & 1 deletion
2
...re/src/main/kotlin/com/netflix/spinnaker/keel/actuation/ScheduledResourceCheckStarting.kt
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