feat(vector): add Prom metrics

This commit is contained in:
JJGadgets
2025-10-21 03:16:21 +08:00
parent cecc9aa990
commit 9549548bec

View File

@@ -56,6 +56,7 @@ spec:
memory: "512Mi"
service:
fortigate:
primary: true
type: LoadBalancer
controller: fortigate
annotations:
@@ -66,6 +67,13 @@ spec:
port: 6514
targetPort: 51401
protocol: TCP
fortigate-metrics:
primary: false
controller: fortigate
ports:
metrics:
port: *prom
protocol: HTTP
persistence:
config:
type: configMap
@@ -126,7 +134,7 @@ spec:
serviceMonitor:
fortigate:
service:
identifier: fortigate
identifier: fortigate-metrics
endpoints:
- port: metrics
scheme: http