diff options
author | Staffan Olsson <staffan@repos.se> | 2018-01-17 21:25:52 +0100 |
---|---|---|
committer | Staffan Olsson <staffan@repos.se> | 2018-01-17 21:25:55 +0100 |
commit | 545193d425b809b1cec64670d0366ac0ca301542 (patch) | |
tree | 79cfe4a109b0a26c96e8d6defed06d5c547118c0 | |
parent | f84bd724a1a23d995a34850ae34c887ec7dc34bf (diff) | |
download | kubernetes-kafka-545193d425b809b1cec64670d0366ac0ca301542.tar.gz kubernetes-kafka-545193d425b809b1cec64670d0366ac0ca301542.tar.bz2 kubernetes-kafka-545193d425b809b1cec64670d0366ac0ca301542.zip |
Adds prometheus exporter, but sadly incompatible with current Burrow
https://github.com/jirwin/burrow_exporter/issues/8
-rw-r--r-- | linkedin-burrow/50-burrow.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/linkedin-burrow/50-burrow.yml b/linkedin-burrow/50-burrow.yml index 57ff62a..aa7ce6c 100644 --- a/linkedin-burrow/50-burrow.yml +++ b/linkedin-burrow/50-burrow.yml @@ -12,6 +12,9 @@ spec: metadata: labels: app: burrow + annotations: + prometheus.io/scrape: "true" + prometheus.io/port: "8080" spec: containers: - name: burrow @@ -21,6 +24,17 @@ spec: volumeMounts: - name: config mountPath: /etc/burrow + - name: prom + image: solsson/burrow-exporter@sha256:2358412bc4757b7bd459452a9d759a923fc5ba93b26f5fb5b3d1ed8a0189417c + ports: + - containerPort: 8080 + env: + - name: BURROW_ADDR + value: http://localhost:8000 + - name: METRICS_ADDR + value: 0.0.0.0:8080 + - name: INTERVAL + value: "30" volumes: - name: config configMap: |