Skip to content

Commit 545193d

Browse files
committed
Adds prometheus exporter, but sadly incompatible with current Burrow
jirwin/burrow_exporter#8
1 parent f84bd72 commit 545193d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

linkedin-burrow/50-burrow.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ spec:
1212
metadata:
1313
labels:
1414
app: burrow
15+
annotations:
16+
prometheus.io/scrape: "true"
17+
prometheus.io/port: "8080"
1518
spec:
1619
containers:
1720
- name: burrow
@@ -21,6 +24,17 @@ spec:
2124
volumeMounts:
2225
- name: config
2326
mountPath: /etc/burrow
27+
- name: prom
28+
image: solsson/burrow-exporter@sha256:2358412bc4757b7bd459452a9d759a923fc5ba93b26f5fb5b3d1ed8a0189417c
29+
ports:
30+
- containerPort: 8080
31+
env:
32+
- name: BURROW_ADDR
33+
value: http://localhost:8000
34+
- name: METRICS_ADDR
35+
value: 0.0.0.0:8080
36+
- name: INTERVAL
37+
value: "30"
2438
volumes:
2539
- name: config
2640
configMap:

0 commit comments

Comments
 (0)