From 81bb6c30689290cf7aa017999f4987c90bd08ea8 Mon Sep 17 00:00:00 2001 From: Rodrigo Quelca Date: Fri, 20 Dec 2024 10:17:50 -0400 Subject: [PATCH] comment the herd support --- metrics/compose.yaml | 5 +++-- metrics/prometheus/prometheus.yml | 20 ++++++++++++-------- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/metrics/compose.yaml b/metrics/compose.yaml index 2af121147b..27cea568d2 100644 --- a/metrics/compose.yaml +++ b/metrics/compose.yaml @@ -10,8 +10,9 @@ services: volumes: - ./prometheus:/etc/prometheus - prom_data:/prometheus - extra_hosts: - - "processmaker.test:host-gateway" # This allows Docker to resolve your Herd domain + # This allows Docker to resolve your Herd domain + # extra_hosts: + # - "processmaker.test:host-gateway" grafana: image: grafana/grafana container_name: grafana diff --git a/metrics/prometheus/prometheus.yml b/metrics/prometheus/prometheus.yml index 77d2dc8634..786adcf9a8 100644 --- a/metrics/prometheus/prometheus.yml +++ b/metrics/prometheus/prometheus.yml @@ -12,11 +12,15 @@ scrape_configs: scheme: http static_configs: - targets: - - "host.docker.internal:80" - relabel_configs: - - source_labels: [__address__] - target_label: __param_target - - source_labels: [__param_target] - target_label: instance - - target_label: __address__ - replacement: processmaker.test + # Replace this with your local processmaker instance (add port if needed) + - processmaker.test + # This allows Docker to resolve your Herd domain + # - "host.docker.internal:80" + # This allows Docker to resolve your Herd domain + # relabel_configs: + # - source_labels: [__address__] + # target_label: __param_target + # - source_labels: [__param_target] + # target_label: instance + # - target_label: __address__ + # replacement: processmaker.test