Skip to content

Commit

Permalink
comment the herd support
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodrigo Quelca committed Dec 20, 2024
1 parent f73b5f2 commit 81bb6c3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
5 changes: 3 additions & 2 deletions metrics/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
20 changes: 12 additions & 8 deletions metrics/prometheus/prometheus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 81bb6c3

Please sign in to comment.