Skip to content

Commit cc507a5

Browse files
expose metrics
1 parent 1786b5b commit cc507a5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

apps/gollum/deployment.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ spec:
2020
app.kubernetes.io/instance: "gollum-prod"
2121
app.kubernetes.io/component: "gollum"
2222
app.kubernetes.io/part-of: "gollum"
23+
annotations:
24+
prometheus.io/port: "8080"
25+
prometheus.io/scrape: "true"
2326
spec:
2427
securityContext:
2528
runAsUser: 34322
@@ -40,6 +43,8 @@ spec:
4043
args:
4144
- "--leader-elect"
4245
- "--health-probe-bind-address=:8081"
46+
- "--metrics-secure=false"
47+
- "--metrics-bind-address=:8080"
4348
env:
4449
- name: GH_TOKEN
4550
valueFrom:

0 commit comments

Comments
 (0)