Skip to content

Commit

Permalink
HDDS-2221. Monitor datanodes in ozoneperf compose cluster
Browse files Browse the repository at this point in the history
Closes #1
  • Loading branch information
elek committed Oct 17, 2019
1 parent b041050 commit 37f48c4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ services:
prometheus:
image: prom/prometheus
volumes:
- "../common/prometheus/prometheus.yml:/etc/prometheus.yml"
- "./prometheus.yml:/etc/prometheus.yml"
command: ["--config.file","/etc/prometheus.yml"]
ports:
- 9090:9090
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,13 @@ scrape_configs:
- targets:
- "scm:9876"
- "om:9874"
- "ozoneperf_datanode_1:9882"
- "ozoneperf_datanode_2:9882"
- "ozoneperf_datanode_3:9882"
- "ozoneperf_datanode_4:9882"
- "ozoneperf_datanode_5:9882"
- "ozoneperf_datanode_6:9882"
- "ozoneperf_datanode_7:9882"
- "ozoneperf_datanode_8:9882"
- "ozoneperf_datanode_9:9882"
- "ozoneperf_datanode_10:9882"

0 comments on commit 37f48c4

Please sign in to comment.