From b39232e5e32dc423d7a4e77e3b5617b7737fed6b Mon Sep 17 00:00:00 2001 From: linge <11405175+linge365@user.noreply.gitee.com> Date: Thu, 16 Mar 2023 09:47:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0alertmanager=E6=90=9C?= =?UTF-8?q?=E5=88=AE=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- prometheus/prometheus.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/prometheus/prometheus.yml b/prometheus/prometheus.yml index d87def3..4338912 100644 --- a/prometheus/prometheus.yml +++ b/prometheus/prometheus.yml @@ -20,7 +20,10 @@ scrape_configs: scrape_interval: 15s static_configs: - targets: ['localhost:9090'] - + - job_name: 'alertmanager' + scrape_interval: 15s + static_configs: + - targets: ['alertmanager:9093'] - job_name: 'cadvisor' scrape_interval: 15s static_configs: