Skip to content

Commit

Permalink
add new Grafana dashboard, fix scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
fhussonnois committed Nov 1, 2020
1 parent 9e8be42 commit 0644003
Show file tree
Hide file tree
Showing 18 changed files with 5,746 additions and 3,966 deletions.
26 changes: 14 additions & 12 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ services:
volumes:
- ./grafana/provisioning:/etc/grafana/provisioning
- ./grafana/dashboards:/var/lib/grafana/dashboards
container_name: kp-grafana
container_name: grafana
depends_on:
- prometheus

Expand All @@ -36,10 +36,6 @@ services:
- ./etc/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
command: "--config.file=/etc/prometheus/prometheus.yml"
container_name: prometheus
depends_on:
- broker_jmx_exporter101
- broker_jmx_exporter102
- broker_jmx_exporter103

broker_jmx_exporter101:
image: "sscaling/jmx-prometheus-exporter"
Expand All @@ -49,7 +45,9 @@ services:
CONFIG_YML : "/etc/jmx_exporter/config.yml"
volumes:
- ./build/jmx_exporter/jmx_exporter_kafka_broker_kafka101.yml:/etc/jmx_exporter/config.yml
container_name: kp-jmx-exporter-101
container_name: jmx-exporter101
depends_on:
- kafka101

broker_jmx_exporter102:
image: "sscaling/jmx-prometheus-exporter"
Expand All @@ -59,7 +57,9 @@ services:
CONFIG_YML : "/etc/jmx_exporter/config.yml"
volumes:
- ./build/jmx_exporter/jmx_exporter_kafka_broker_kafka102.yml:/etc/jmx_exporter/config.yml
container_name: kp-jmx-exporter-102
container_name: jmx-exporter102
depends_on:
- kafka102

broker_jmx_exporter103:
image: "sscaling/jmx-prometheus-exporter"
Expand All @@ -69,7 +69,9 @@ services:
CONFIG_YML : "/etc/jmx_exporter/config.yml"
volumes:
- ./build/jmx_exporter/jmx_exporter_kafka_broker_kafka103.yml:/etc/jmx_exporter/config.yml
container_name: kp-jmx-exporter-103
container_name: jmx-exporter103
depends_on:
- kafka103

zookeeper:
image: confluentinc/cp-zookeeper:latest
Expand All @@ -80,7 +82,7 @@ services:
ZOOKEEPER_SYNC_LIMIT: 2
ports:
- 2181:2181
container_name: kp-zookeeper
container_name: zookeeper

kafka101:
image: confluentinc/cp-kafka:latest
Expand All @@ -89,7 +91,7 @@ services:
ports:
- 9091:9091
- 9991:9991
container_name: kp-broker101
container_name: broker101
environment:
KAFKA_BROKER_ID: 101
KAFKA_JMX_PORT: 9991
Expand All @@ -106,7 +108,7 @@ services:
ports:
- 9092:9092
- 9992:9992
container_name: kp-broker102
container_name: broker102
environment:
KAFKA_BROKER_ID: 102
KAFKA_JMX_PORT: 9992
Expand All @@ -123,7 +125,7 @@ services:
ports:
- 9093:9093
- 9993:9993
container_name: kp-broker103
container_name: broker103
environment:
KAFKA_BROKER_ID: 103
KAFKA_JMX_PORT: 9993
Expand Down
Loading

0 comments on commit 0644003

Please sign in to comment.