From fffb68ae5a2b6e73c672838853e3ec883a21c9f3 Mon Sep 17 00:00:00 2001 From: Kalin Krustev Date: Fri, 15 Nov 2024 07:55:18 +0000 Subject: [PATCH] feat: enable ttk metrics --- .../templates/mojaloop/service-monitors.yaml.tpl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/terraform/gitops/generate-files/templates/mojaloop/service-monitors.yaml.tpl b/terraform/gitops/generate-files/templates/mojaloop/service-monitors.yaml.tpl index 2b8a5345b..b021e1424 100644 --- a/terraform/gitops/generate-files/templates/mojaloop/service-monitors.yaml.tpl +++ b/terraform/gitops/generate-files/templates/mojaloop/service-monitors.yaml.tpl @@ -5,13 +5,13 @@ metadata: annotations: app.kubernetes.io/description: "Enables monitoring of mojaloop applications (running without istio)" spec: - namespaceSelector: + namespaceSelector: matchNames: [${mojaloop_namespace}] selector: matchExpressions: - key: app.kubernetes.io/name operator: In - values: + values: - ml-api-adapter-service - ml-api-adapter-handler-notification - centralledger-service @@ -23,5 +23,6 @@ spec: - centralledger-handler-admin-transfer - handler-pos-batch - quoting-service # NOTE: runs with istio but its metrics are not being exposed merged with istio proxy metrics + - ml-testing-toolkit-backend endpoints: - port: http \ No newline at end of file