From e53c5c2ca903cf40c44a530dc1e1c8a7fe440d96 Mon Sep 17 00:00:00 2001 From: Giacomo Marciani Date: Tue, 3 Feb 2026 16:11:48 -0500 Subject: [PATCH] [Logs] Add log lines to clustermgtd to signal that heartbeat file has been update and heartbeat metric has been published. --- src/slurm_plugin/clustermgtd.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/slurm_plugin/clustermgtd.py b/src/slurm_plugin/clustermgtd.py index 5fabdd7e..6c650f57 100644 --- a/src/slurm_plugin/clustermgtd.py +++ b/src/slurm_plugin/clustermgtd.py @@ -586,9 +586,11 @@ def manage_cluster(self): self._maintain_nodes_down() # Write clustermgtd heartbeat to file + log.info("Writing heartbeat file") self._write_timestamp_to_file() # Publish heartbeat metric to CloudWatch + log.info("Publishing heartbeat metric") self._metrics_publisher.put_metric(metric_name=CW_METRICS_HEARTBEAT, value=1) def _write_timestamp_to_file(self):