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:
11
values.yaml
11
values.yaml
@@ -126,6 +126,13 @@ services:
|
|||||||
targetPort: 4840
|
targetPort: 4840
|
||||||
name: server
|
name: server
|
||||||
|
|
||||||
|
metrics:
|
||||||
|
enabled: true
|
||||||
|
type: ClusterIP
|
||||||
|
port: 9090
|
||||||
|
targetPort: 9090
|
||||||
|
name: metrics
|
||||||
|
|
||||||
|
|
||||||
# Configuração do ServiceMonitor para o Prometheus Operator
|
# Configuração do ServiceMonitor para o Prometheus Operator
|
||||||
# ref: https://github.com/prometheus-operator/prometheus-operator
|
# ref: https://github.com/prometheus-operator/prometheus-operator
|
||||||
@@ -144,7 +151,7 @@ serviceMonitor:
|
|||||||
# Configurações de relabeling adicionais, se necessário.
|
# Configurações de relabeling adicionais, se necessário.
|
||||||
# ref: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
|
# ref: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
|
||||||
relabelings: []
|
relabelings: []
|
||||||
port: opc-server
|
port: metrics
|
||||||
|
|
||||||
env:
|
env:
|
||||||
# Entrypoint variables
|
# Entrypoint variables
|
||||||
@@ -184,7 +191,7 @@ env:
|
|||||||
- name: LOG_LEVEL
|
- name: LOG_LEVEL
|
||||||
value: "DEBUG"
|
value: "DEBUG"
|
||||||
- name: HTTP_SERVER_PORT
|
- name: HTTP_SERVER_PORT
|
||||||
value: "4840"
|
value: "9090"
|
||||||
|
|
||||||
|
|
||||||
- name: MONGODB_USERNAME
|
- name: MONGODB_USERNAME
|
||||||
|
|||||||
Reference in New Issue
Block a user