Update monitor commands to use coordinator_url instead of monitoring_service_url for /jobs endpoint
Some checks failed
CLI Tests / test-cli (push) Failing after 10s
Cross-Node Transaction Testing / transaction-test (push) Successful in 2s
Deploy to Testnet / deploy-testnet (push) Successful in 1m11s
Multi-Node Stress Testing / stress-test (push) Successful in 2s
Node Failover Simulation / failover-test (push) Successful in 2s
Security Scanning / security-scan (push) Successful in 23s
Some checks failed
CLI Tests / test-cli (push) Failing after 10s
Cross-Node Transaction Testing / transaction-test (push) Successful in 2s
Deploy to Testnet / deploy-testnet (push) Successful in 1m11s
Multi-Node Stress Testing / stress-test (push) Successful in 2s
Node Failover Simulation / failover-test (push) Successful in 2s
Security Scanning / security-scan (push) Successful in 23s
- 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
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user