From 42125c2816e6d5dc6bc6a6b3c79d70e3c1dd696c Mon Sep 17 00:00:00 2001 From: Piotr Pawlowski Date: Fri, 6 Oct 2023 09:34:27 +0200 Subject: [PATCH] Add prometheus scrape annotations --- helm/flowforge/templates/deployment.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/helm/flowforge/templates/deployment.yaml b/helm/flowforge/templates/deployment.yaml index f10a14a3..58def172 100644 --- a/helm/flowforge/templates/deployment.yaml +++ b/helm/flowforge/templates/deployment.yaml @@ -13,6 +13,12 @@ spec: metadata: labels: app: flowforge + annotations: + {{- if .Values.forge.telemetry.backend.prometheus.enabled }} + prometheus.io/scrape: "true" + prometheus.io/port: "3000" + prometheus.io/path: "/metrics" + {{- end }} spec: serviceAccountName: flowforge securityContext: