You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The way that keel currently computes the drift metric, when the timeout fires the drift metric resets to zero. This is misleading, because it looks like drift has gone down to zero, even though the time since last resource check is still increasing.
It would be better to change TelemetryListener to calculate the drift metric based on the last time a resource was checked, instead of basing it on the start of an actuation loop.
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.
Fixesspinnaker#950
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.
Fixesspinnaker#950
lorin
pushed a commit
to lorin/keel
that referenced
this issue
Apr 7, 2020
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.
Fixesspinnaker#950
* 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
The way that keel currently computes the drift metric, when the timeout fires the drift metric resets to zero. This is misleading, because it looks like drift has gone down to zero, even though the time since last resource check is still increasing.
It would be better to change
TelemetryListener
to calculate the drift metric based on the last time a resource was checked, instead of basing it on the start of an actuation loop.(Suggested by @asher).
The text was updated successfully, but these errors were encountered: