Skip to content

Commit 0b2dbf4

Browse files
weltekialexellis
authored andcommitted
Add prometheus scrape annotations to RabbitMQ connector
Signed-off-by: Han Verstraete (OpenFaaS Ltd) <han@openfaas.com>
1 parent a382352 commit 0b2dbf4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

chart/rabbitmq-connector/templates/deployment.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ spec:
2525

2626
template:
2727
metadata:
28+
annotations:
29+
prometheus.io/scrape: "true"
30+
prometheus.io/port: "8081"
2831
labels:
2932
app: {{ template "connector.name" . }}
3033
component: rabbitmq-connector

0 commit comments

Comments
 (0)