aboutsummaryrefslogtreecommitdiff
path: root/linkedin-burrow/50-burrow.yml
diff options
context:
space:
mode:
Diffstat (limited to 'linkedin-burrow/50-burrow.yml')
-rw-r--r--linkedin-burrow/50-burrow.yml14
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: