feat: enable metrics service for ArgoCD components

Updated values.yaml to enable metrics service for the controller, server, repoServer, and applicationSet components, allowing for improved monitoring and observability through Prometheus ServiceMonitor.
This commit is contained in:
2026-05-03 14:03:16 +07:00
parent 36112376cd
commit dac76b9713

View File

@@ -1012,7 +1012,7 @@ controller:
## Application controller metrics configuration ## Application controller metrics configuration
metrics: metrics:
# -- Deploy metrics service # -- Deploy metrics service
enabled: false enabled: true
# -- Prometheus ServiceMonitor scrapeTimeout. If empty, Prometheus uses the global scrape timeout unless it is less than the target's scrape interval value in which the latter is used. # -- Prometheus ServiceMonitor scrapeTimeout. If empty, Prometheus uses the global scrape timeout unless it is less than the target's scrape interval value in which the latter is used.
scrapeTimeout: "" scrapeTimeout: ""
applicationLabels: applicationLabels:
@@ -1035,7 +1035,7 @@ controller:
portName: http-metrics portName: http-metrics
serviceMonitor: serviceMonitor:
# -- Enable a prometheus ServiceMonitor # -- Enable a prometheus ServiceMonitor
enabled: false enabled: true
# -- Prometheus ServiceMonitor interval # -- Prometheus ServiceMonitor interval
interval: 30s interval: 30s
# -- When true, honorLabels preserves the metrics labels when they collide with the targets labels. # -- When true, honorLabels preserves the metrics labels when they collide with the targets labels.
@@ -2366,7 +2366,7 @@ server:
## Server metrics service configuration ## Server metrics service configuration
metrics: metrics:
# -- Deploy metrics service # -- Deploy metrics service
enabled: false enabled: true
service: service:
# -- Metrics service type # -- Metrics service type
type: ClusterIP type: ClusterIP
@@ -2382,7 +2382,7 @@ server:
portName: http-metrics portName: http-metrics
serviceMonitor: serviceMonitor:
# -- Enable a prometheus ServiceMonitor # -- Enable a prometheus ServiceMonitor
enabled: false enabled: true
# -- Prometheus ServiceMonitor interval # -- Prometheus ServiceMonitor interval
interval: 30s interval: 30s
# -- Prometheus ServiceMonitor scrapeTimeout. If empty, Prometheus uses the global scrape timeout unless it is less than the target's scrape interval value in which the latter is used. # -- Prometheus ServiceMonitor scrapeTimeout. If empty, Prometheus uses the global scrape timeout unless it is less than the target's scrape interval value in which the latter is used.
@@ -3079,7 +3079,7 @@ repoServer:
## Repo server metrics service configuration ## Repo server metrics service configuration
metrics: metrics:
# -- Deploy metrics service # -- Deploy metrics service
enabled: false enabled: true
service: service:
# -- Metrics service type # -- Metrics service type
type: ClusterIP type: ClusterIP
@@ -3095,7 +3095,7 @@ repoServer:
portName: http-metrics portName: http-metrics
serviceMonitor: serviceMonitor:
# -- Enable a prometheus ServiceMonitor # -- Enable a prometheus ServiceMonitor
enabled: false enabled: true
# -- Prometheus ServiceMonitor interval # -- Prometheus ServiceMonitor interval
interval: 30s interval: 30s
# -- Prometheus ServiceMonitor scrapeTimeout. If empty, Prometheus uses the global scrape timeout unless it is less than the target's scrape interval value in which the latter is used. # -- Prometheus ServiceMonitor scrapeTimeout. If empty, Prometheus uses the global scrape timeout unless it is less than the target's scrape interval value in which the latter is used.
@@ -3248,7 +3248,7 @@ applicationSet:
## Metrics service configuration ## Metrics service configuration
metrics: metrics:
# -- Deploy metrics service # -- Deploy metrics service
enabled: false enabled: true
service: service:
# -- Metrics service type # -- Metrics service type
type: ClusterIP type: ClusterIP
@@ -3264,7 +3264,7 @@ applicationSet:
portName: http-metrics portName: http-metrics
serviceMonitor: serviceMonitor:
# -- Enable a prometheus ServiceMonitor # -- Enable a prometheus ServiceMonitor
enabled: false enabled: true
# -- Prometheus ServiceMonitor interval # -- Prometheus ServiceMonitor interval
interval: 30s interval: 30s
# -- Prometheus ServiceMonitor scrapeTimeout. If empty, Prometheus uses the global scrape timeout unless it is less than the target's scrape interval value in which the latter is used. # -- Prometheus ServiceMonitor scrapeTimeout. If empty, Prometheus uses the global scrape timeout unless it is less than the target's scrape interval value in which the latter is used.