From d9c776907df195a4a177fe334083c17d371484b7 Mon Sep 17 00:00:00 2001 From: vitor-aignosi Date: Thu, 17 Jul 2025 14:58:46 -0300 Subject: [PATCH] SIENTIAPDE-1163 Update values.yaml to add metrics service configuration - Introduced a new 'metrics' service with ClusterIP type, port 9090, and targetPort 9090. - Updated the serviceMonitor port to reference the new 'metrics' service. - Changed HTTP_SERVER_PORT environment variable value to 9090 to align with the new metrics service. --- values.yaml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/values.yaml b/values.yaml index db2b1f2..673fcdc 100644 --- a/values.yaml +++ b/values.yaml @@ -125,6 +125,13 @@ services: port: 4840 targetPort: 4840 name: server + + metrics: + enabled: true + type: ClusterIP + port: 9090 + targetPort: 9090 + name: metrics # Configuração do ServiceMonitor para o Prometheus Operator @@ -144,8 +151,8 @@ serviceMonitor: # Configurações de relabeling adicionais, se necessário. # ref: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config relabelings: [] - port: opc-server - + port: metrics + env: # Entrypoint variables - name: GITHUB_REPO_URL @@ -184,7 +191,7 @@ env: - name: LOG_LEVEL value: "DEBUG" - name: HTTP_SERVER_PORT - value: "4840" + value: "9090" - name: MONGODB_USERNAME