From f283c301b3c3ea604fa1f3eb7afddcb903c689b2 Mon Sep 17 00:00:00 2001 From: PEIWEN JIN Date: Fri, 16 Aug 2024 11:06:54 +0200 Subject: [PATCH] double check about the missing point --- docker-compose.monitoring.yml | 4 +--- prometheus/prometheus.yml | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/docker-compose.monitoring.yml b/docker-compose.monitoring.yml index 9a3825f46..c2f4cbe2d 100644 --- a/docker-compose.monitoring.yml +++ b/docker-compose.monitoring.yml @@ -59,8 +59,6 @@ services: command: - '--config.file=/etc/prometheus/prometheus.yml' - '--storage.tsdb.retention.time=10d' - ports: - - "9090:9090" # uncomment cadvisor to monitor containers # cadvisor: @@ -78,11 +76,11 @@ services: # Grafana, graphical monitoring dashboards for wis2box using data from loki and prometheus grafana: <<: *logging - image: grafana/grafana-oss:9.0.3 container_name: grafana restart: always env_file: - wis2box.env + image: grafana/grafana-oss:9.0.3 volumes: - ./grafana/dashboards:/etc/grafana/provisioning/dashboards - ./grafana/datasources:/etc/grafana/provisioning/datasources diff --git a/prometheus/prometheus.yml b/prometheus/prometheus.yml index c5c652172..7b3c06d7f 100644 --- a/prometheus/prometheus.yml +++ b/prometheus/prometheus.yml @@ -8,9 +8,9 @@ global: alerting: alertmanagers: - static_configs: - - targets: + - targets: # - alertmanager:9093 - + scrape_configs: - job_name: minio-job metrics_path: /minio/v2/metrics/cluster