From c18325bc0eead364e48cde7cd6c4ca6179c0e73b Mon Sep 17 00:00:00 2001 From: zwang28 <70626450+zwang28@users.noreply.github.com> Date: Mon, 29 Jan 2024 12:35:36 +0800 Subject: [PATCH] chore: configure Prometheus service URL in docker compose files (#14830) --- docker/docker-compose-distributed.yml | 2 ++ docker/docker-compose-with-azblob.yml | 1 + docker/docker-compose-with-gcs.yml | 1 + docker/docker-compose-with-hdfs.yml | 2 ++ docker/docker-compose-with-local-fs.yml | 1 + docker/docker-compose-with-obs.yml | 1 + docker/docker-compose-with-oss.yml | 1 + docker/docker-compose-with-s3.yml | 1 + docker/docker-compose.yml | 1 + 9 files changed, 11 insertions(+) diff --git a/docker/docker-compose-distributed.yml b/docker/docker-compose-distributed.yml index 8cb1e87651325..71b133e0c21f8 100644 --- a/docker/docker-compose-distributed.yml +++ b/docker/docker-compose-distributed.yml @@ -213,6 +213,8 @@ services: - "0.0.0.0:5691" - "--prometheus-host" - "0.0.0.0:1250" + - "--prometheus-endpoint" + - "http://prometheus-0:9500" - "--backend" - etcd - "--etcd-endpoints" diff --git a/docker/docker-compose-with-azblob.yml b/docker/docker-compose-with-azblob.yml index a2628b60e4742..6779919fceb1c 100644 --- a/docker/docker-compose-with-azblob.yml +++ b/docker/docker-compose-with-azblob.yml @@ -10,6 +10,7 @@ services: --advertise-addr 0.0.0.0:5690 \ --dashboard-host 0.0.0.0:5691 \ --prometheus-host 0.0.0.0:1250 \ + --prometheus-endpoint http://prometheus-0:9500 \ --connector-rpc-endpoint 0.0.0.0:50051 \ --backend etcd \ --etcd-endpoints etcd-0:2388 \ diff --git a/docker/docker-compose-with-gcs.yml b/docker/docker-compose-with-gcs.yml index b036373994d69..85180ad0dfc7c 100644 --- a/docker/docker-compose-with-gcs.yml +++ b/docker/docker-compose-with-gcs.yml @@ -10,6 +10,7 @@ services: --advertise-addr 0.0.0.0:5690 \ --dashboard-host 0.0.0.0:5691 \ --prometheus-host 0.0.0.0:1250 \ + --prometheus-endpoint http://prometheus-0:9500 \ --connector-rpc-endpoint 0.0.0.0:50051 \ --backend etcd \ --etcd-endpoints etcd-0:2388 \ diff --git a/docker/docker-compose-with-hdfs.yml b/docker/docker-compose-with-hdfs.yml index b0ed75296504a..74e21bbe3bdd5 100644 --- a/docker/docker-compose-with-hdfs.yml +++ b/docker/docker-compose-with-hdfs.yml @@ -206,6 +206,8 @@ services: - "0.0.0.0:5691" - "--prometheus-host" - "0.0.0.0:1250" + - "--prometheus-endpoint" + - "http://prometheus-0:9500" - "--backend" - etcd - "--etcd-endpoints" diff --git a/docker/docker-compose-with-local-fs.yml b/docker/docker-compose-with-local-fs.yml index e0bcafe088a47..8ffc0992747a3 100644 --- a/docker/docker-compose-with-local-fs.yml +++ b/docker/docker-compose-with-local-fs.yml @@ -10,6 +10,7 @@ services: --advertise-addr 0.0.0.0:5690 \ --dashboard-host 0.0.0.0:5691 \ --prometheus-host 0.0.0.0:1250 \ + --prometheus-endpoint http://prometheus-0:9500 \ --connector-rpc-endpoint 0.0.0.0:50051 \ --backend etcd \ --etcd-endpoints etcd-0:2388 \ diff --git a/docker/docker-compose-with-obs.yml b/docker/docker-compose-with-obs.yml index 33f00a5aac2b1..66121628ba18a 100644 --- a/docker/docker-compose-with-obs.yml +++ b/docker/docker-compose-with-obs.yml @@ -10,6 +10,7 @@ services: --advertise-addr 0.0.0.0:5690 \ --dashboard-host 0.0.0.0:5691 \ --prometheus-host 0.0.0.0:1250 \ + --prometheus-endpoint http://prometheus-0:9500 \ --connector-rpc-endpoint 0.0.0.0:50051 \ --backend etcd \ --etcd-endpoints etcd-0:2388 \ diff --git a/docker/docker-compose-with-oss.yml b/docker/docker-compose-with-oss.yml index 8978d48f11276..812a6fb5eaa07 100644 --- a/docker/docker-compose-with-oss.yml +++ b/docker/docker-compose-with-oss.yml @@ -10,6 +10,7 @@ services: --advertise-addr 0.0.0.0:5690 \ --dashboard-host 0.0.0.0:5691 \ --prometheus-host 0.0.0.0:1250 \ + --prometheus-endpoint http://prometheus-0:9500 \ --connector-rpc-endpoint 0.0.0.0:50051 \ --backend etcd \ --etcd-endpoints etcd-0:2388 \ diff --git a/docker/docker-compose-with-s3.yml b/docker/docker-compose-with-s3.yml index b22af9e8c2ca7..4ce500f21ee5b 100644 --- a/docker/docker-compose-with-s3.yml +++ b/docker/docker-compose-with-s3.yml @@ -10,6 +10,7 @@ services: --advertise-addr 0.0.0.0:5690 \ --dashboard-host 0.0.0.0:5691 \ --prometheus-host 0.0.0.0:1250 \ + --prometheus-endpoint http://prometheus-0:9500 \ --connector-rpc-endpoint 0.0.0.0:50051 \ --backend etcd \ --etcd-endpoints etcd-0:2388 \ diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index f4530ed24a051..e12b86b0d48ca 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -10,6 +10,7 @@ services: --advertise-addr 0.0.0.0:5690 \ --dashboard-host 0.0.0.0:5691 \ --prometheus-host 0.0.0.0:1250 \ + --prometheus-endpoint http://prometheus-0:9500 \ --connector-rpc-endpoint 0.0.0.0:50051 \ --backend etcd \ --etcd-endpoints etcd-0:2388 \