docs(conductor): Synchronize tech-stack and commit monitor script updates
This commit is contained in:
@@ -35,13 +35,17 @@ def get_cluster_status(consul_url, job_id="navidrome-litefs"):
|
||||
"address": address,
|
||||
"alloc_id": alloc_id,
|
||||
"litefs_primary": litefs_status.get("is_primary", False),
|
||||
"uptime": litefs_status.get("uptime", "N/A"),
|
||||
"candidate": litefs_status.get("candidate", False),
|
||||
"uptime": alloc.get("uptime", "N/A"),
|
||||
"replication_lag": litefs_status.get("replication_lag", "N/A"),
|
||||
"active_dbs": list(litefs_status.get("dbs", {}).keys()),
|
||||
"dbs": litefs_status.get("dbs", {}),
|
||||
"litefs_error": litefs_status.get("error"),
|
||||
"nomad_logs": None
|
||||
}
|
||||
|
||||
# Legacy compat for formatter
|
||||
node_data["active_dbs"] = list(node_data["dbs"].keys())
|
||||
|
||||
if node_data["litefs_primary"]:
|
||||
primary_count += 1
|
||||
node_data["role"] = "primary"
|
||||
|
||||
Reference in New Issue
Block a user