Repository: ray-project/ray
Issue category: Bug Report

Issue:
[ray metrics launch-prometheus] Incorrect download URL generation for aarch64 architecture
### What happened + What you expected to happen

<img width="802" alt="image" src="https://github.com/user-attachments/assets/e370ab29-db28-432b-b2c5-4c50e8e2dcf6">

- When executing the "ray metrics launch-prometheus" command on an aarch64 architecture system, the download URL is incorrectly generated, leading to a "not found" error. 
- This occurs because the command attempts to download the Prometheus build file from the GitHub releases page (https://github.com/prometheus/prometheus/releases) using "aarch64" in the URL, while Prometheus classifies this architecture as "arm64".

### Versions / Dependencies

- Ray: rayproject/ray:nightly-aarch64

### Reproduction script

1. Run "ray metrics launch-prometheus" on an aarch64 system
2. Observe that the command attempts to download a file with "aarch64" in the URL

### Issue Severity

Low: It annoys or frustrates me.


Hints:

Patch:
diff --git a/python/ray/dashboard/modules/metrics/install_and_start_prometheus.py b/python/ray/dashboard/modules/metrics/install_and_start_prometheus.py
index a65050212950..cf7cb31c3607 100644
--- a/python/ray/dashboard/modules/metrics/install_and_start_prometheus.py
+++ b/python/ray/dashboard/modules/metrics/install_and_start_prometheus.py
@@ -26,6 +26,9 @@ def get_system_info():
     if architecture == "x86_64":
         # In the Prometheus filename, it's called amd64
         architecture = "amd64"
+    elif architecture == "aarch64":
+        # In the Prometheus filename, it's called arm64
+        architecture = "arm64"
     return os_type, architecture
 
 


Test patch: