diff --git a/prometheus-grafana/docker-compose.yml b/prometheus-grafana/docker-compose.yml index c38f270..c4cd2f1 100644 --- a/prometheus-grafana/docker-compose.yml +++ b/prometheus-grafana/docker-compose.yml @@ -5,8 +5,8 @@ services: volumes: - ./prometheus.yml:/etc/prometheus/prometheus.yml:ro - prometheus-data:/prometheus - #ports: - # - "9090:9090" + ports: + - "127.0.0.1:9090:9090" networks: - proxy-network diff --git a/prometheus-grafana/prometheus.yml b/prometheus-grafana/prometheus.yml index 8b66568..c4fb835 100644 --- a/prometheus-grafana/prometheus.yml +++ b/prometheus-grafana/prometheus.yml @@ -14,6 +14,11 @@ scrape_configs: - targets: ['10.0.0.3:9100'] metrics_path: /metrics scheme: http + - job_name: 'cloudhaus' + static_configs: + - targets: ['10.0.0.1:9600'] + metrics_path: /metrics + scheme: http - job_name: 'box' static_configs: - targets: ['10.0.0.4:9100']