feat(reporter): add uptime and fleet counters to state snapshot
This commit is contained in:
1 parent
7f323ed78b
commit
3b1e25d5cd
6 files changed
+55
-6
No files matched your search
+3
-3
@@ -118,7 +118,7 @@ def execute_heal_and_verify(auditor, reporter, count, drift, heal_verify_delay):
|
||||
extra_count=post_drift.get("extra_count", 0),
|
||||
metadata_drift_count=post_drift.get("metadata_drift_count", 0),
|
||||
last_drift_fingerprint=post_drift.get("fingerprint", ""),
|
||||
last_heal_result=heal_result,
|
||||
heal_result=heal_result,
|
||||
)
|
||||
|
||||
logging.warning(
|
||||
@@ -139,7 +139,7 @@ def execute_heal_and_verify(auditor, reporter, count, drift, heal_verify_delay):
|
||||
extra_count=0,
|
||||
metadata_drift_count=0,
|
||||
last_drift_fingerprint=drift.get("fingerprint", ""),
|
||||
last_heal_result=heal_result,
|
||||
heal_result=heal_result,
|
||||
)
|
||||
post_drift = {
|
||||
"reason": "verify_error",
|
||||
@@ -161,7 +161,7 @@ def execute_heal_and_verify(auditor, reporter, count, drift, heal_verify_delay):
|
||||
extra_count=drift.get("extra_count", 0),
|
||||
metadata_drift_count=drift.get("metadata_drift_count", 0),
|
||||
last_drift_fingerprint=drift.get("fingerprint", ""),
|
||||
last_heal_result=heal_result,
|
||||
heal_result=heal_result,
|
||||
)
|
||||
logging.error(
|
||||
f"Heal restart failed; skipping verification "
|
||||
|
||||
Reference in new issue
Block a user