diff --git a/compute_endpoint/globus_compute_endpoint/engines/globus_compute.py b/compute_endpoint/globus_compute_endpoint/engines/globus_compute.py index 3b7a8ea9a..49e28cfc7 100644 --- a/compute_endpoint/globus_compute_endpoint/engines/globus_compute.py +++ b/compute_endpoint/globus_compute_endpoint/engines/globus_compute.py @@ -162,20 +162,20 @@ def get_status_report(self) -> EPStatusReport: "new_core_hrs": 0, "total_core_hrs": 0, "managers": 0, - "active_managers": 0, - "total_workers": 0, + "active_managers": self.executor.connected_managers(), + "total_workers": self.executor.connected_workers, "idle_workers": 0, "pending_tasks": 0, - "outstanding_tasks": 0, + "outstanding_tasks": self.executor.outstanding, "worker_mode": 0, "scheduler_mode": 0, - "scaling_enabled": False, - "mem_per_worker": 0, - "cores_per_worker": 0, + "scaling_enabled": True, + "mem_per_worker": self.executor.mem_per_worker, + "cores_per_worker": self.executor.cores_per_worker, "prefetch_capacity": 0, - "max_blocks": 1, - "min_blocks": 1, - "max_workers_per_node": 0, + "max_blocks": self.executor.provider.max_blocks, + "min_blocks": self.executor.provider.min_blocks, + "max_workers_per_node": self.executor.max_workers, "nodes_per_block": 1, "heartbeat_period": self._heartbeat_period_s, },