From a533958ecde294ebc3071e50ced72f2fa0295582 Mon Sep 17 00:00:00 2001 From: aitbc Date: Fri, 8 May 2026 13:29:08 +0200 Subject: [PATCH] Update monitor commands to use coordinator_url instead of monitoring_service_url for /jobs endpoint - Change endpoint URL from monitoring_service_url to coordinator_url in metrics command job metrics section - Change endpoint URL from monitoring_service_url to coordinator_url in history command --- cli/commands/monitor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/commands/monitor.py b/cli/commands/monitor.py index 3419936c..34cb1989 100755 --- a/cli/commands/monitor.py +++ b/cli/commands/monitor.py @@ -135,7 +135,7 @@ def metrics(ctx, period: str, export_path: Optional[str]): # Job metrics try: resp = client.get( - f"{config.monitoring_service_url}/jobs", + f"{config.coordinator_url}/jobs", headers={"X-Api-Key": config.api_key or ""} ) if resp.status_code == 200: @@ -279,7 +279,7 @@ def history(ctx, period: str): with httpx.Client(timeout=10) as client: try: resp = client.get( - f"{config.monitoring_service_url}/jobs", + f"{config.coordinator_url}/jobs", headers={"X-Api-Key": config.api_key or ""} ) if resp.status_code == 200: