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.
This commit is contained in:
vitor-aignosi
2025-07-17 14:58:46 -03:00
parent 9309d7591e
commit d9c776907d

View File

@@ -126,6 +126,13 @@ services:
targetPort: 4840
name: server
metrics:
enabled: true
type: ClusterIP
port: 9090
targetPort: 9090
name: metrics
# Configuração do ServiceMonitor para o Prometheus Operator
# ref: https://github.com/prometheus-operator/prometheus-operator
@@ -144,7 +151,7 @@ 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
@@ -184,7 +191,7 @@ env:
- name: LOG_LEVEL
value: "DEBUG"
- name: HTTP_SERVER_PORT
value: "4840"
value: "9090"
- name: MONGODB_USERNAME