Skip to content

Commit

Permalink
Add prometheus scrape annotations to RabbitMQ connector
Browse files Browse the repository at this point in the history
Signed-off-by: Han Verstraete (OpenFaaS Ltd) <[email protected]>
  • Loading branch information
welteki authored and alexellis committed Jan 10, 2025
1 parent a382352 commit 0b2dbf4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions chart/rabbitmq-connector/templates/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ spec:

template:
metadata:
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: "8081"
labels:
app: {{ template "connector.name" . }}
component: rabbitmq-connector
Expand Down

0 comments on commit 0b2dbf4

Please sign in to comment.