From 5096f5058c64c0b9dc8a1c3e064e3336ea0f5570 Mon Sep 17 00:00:00 2001 From: liaochuntao Date: Tue, 14 Feb 2023 18:50:18 +0800 Subject: [PATCH] Update prometheus.yml --- release/standalone/docker-compose/prometheus/prometheus.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/release/standalone/docker-compose/prometheus/prometheus.yml b/release/standalone/docker-compose/prometheus/prometheus.yml index cb4642c7b..1faa01ab6 100644 --- a/release/standalone/docker-compose/prometheus/prometheus.yml +++ b/release/standalone/docker-compose/prometheus/prometheus.yml @@ -11,10 +11,10 @@ scrape_configs: # The job name is added as a label `job=` to any timeseries scraped from this config. - job_name: "prometheus" static_configs: - - targets: [ "http://localhost:9090" ] + - targets: [ "localhost:9090" ] - job_name: "push-metrics" static_configs: - - targets: [ "http://polaris-pushgateway:9091" ] + - targets: [ "polaris-pushgateway:9091" ] - job_name: "polaris-server" http_sd_configs: - - url: "http://polaris-server:8090/prometheus/v1/clients" \ No newline at end of file + - url: "http://polaris-server:8090/prometheus/v1/clients"