Skip to content

Commit ce8f535

Browse files
committed
Added Prometheus annotaitons to deployment
1 parent 8aaaf45 commit ce8f535

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

deploy/02-deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ spec:
1010
labels:
1111
app: event-exporter
1212
version: v1
13+
annotations:
14+
prometheus.io/scrape: 'true'
15+
prometheus.io/port: '2112'
16+
prometheus.io/path: '/metrics'
1317
spec:
1418
serviceAccountName: event-exporter
1519
containers:

0 commit comments

Comments
 (0)