From 8f9fd7c06e4bd0053a73b1de51e1160181672502 Mon Sep 17 00:00:00 2001 From: "Han Verstraete (OpenFaaS Ltd)" Date: Wed, 11 Dec 2024 09:19:14 +0100 Subject: [PATCH] Add prometheus scrape annotations to RabbitMQ connector Signed-off-by: Han Verstraete (OpenFaaS Ltd) --- chart/rabbitmq-connector/templates/deployment.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/chart/rabbitmq-connector/templates/deployment.yml b/chart/rabbitmq-connector/templates/deployment.yml index bde8fecdd..289bcd335 100644 --- a/chart/rabbitmq-connector/templates/deployment.yml +++ b/chart/rabbitmq-connector/templates/deployment.yml @@ -25,6 +25,9 @@ spec: template: metadata: + annotations: + prometheus.io/scrape: "true" + prometheus.io/port: "8081" labels: app: {{ template "connector.name" . }} component: rabbitmq-connector