Skip to content

Commit

Permalink
feat(relayer): enable rabbitmq metrics in prometheus in docker-compose (
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaodino authored Mar 25, 2024
1 parent 2601362 commit 89d8ece
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/relayer/docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ services:
ports:
- 5672:5672
- 15672:15672
- 15692:15692
volumes:
- ~/.docker-conf/rabbitmq/data/:/var/lib/rabbitmq/
- ~/.docker-conf/rabbitmq/log/:/var/log/rabbitmq
Expand Down
4 changes: 4 additions & 0 deletions packages/relayer/docker-compose/prometheus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ scrape_configs:
scrape_interval: 15s
static_configs:
- targets: ["localhost:9090"]

- job_name: "rabbitmq"
static_configs:
- targets: ["host.docker.internal:15692"]

0 comments on commit 89d8ece

Please sign in to comment.