Skip to content

Commit

Permalink
feat(Dockerfile): Add brokers to prometheus.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AmirhBrt committed Feb 14, 2024
1 parent e4c60fd commit 8f5e2dd
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion prometheus/prometheus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,20 @@ scrape_configs:
scheme: http
static_configs:
- targets:
- gateway:8000
- gateway:8000
- job_name: broker-1
honor_timestamps: true
scrape_interval: 15s
scrape_timeout: 10s
scheme: http
static_configs:
- targets:
- broker-1:8000
- job_name: broker-2
honor_timestamps: true
scrape_interval: 15s
scrape_timeout: 10s
scheme: http
static_configs:
- targets:
- broker-2:8000

0 comments on commit 8f5e2dd

Please sign in to comment.