Totally revamp cluster chart configs
This commit is contained in:
21
charts/prometheus/gitlab-servicemonitor.yaml
Normal file
21
charts/prometheus/gitlab-servicemonitor.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: ServiceMonitor
|
||||
metadata:
|
||||
annotations:
|
||||
labels:
|
||||
app: gitlab-exporter-monitor
|
||||
release: prometheus-operator
|
||||
name: gitlab-exporter-monitor
|
||||
namespace: gitlab
|
||||
spec:
|
||||
endpoints:
|
||||
- interval: 30s
|
||||
path: /metrics
|
||||
port: gitlab-exporter
|
||||
jobLabel: app
|
||||
namespaceSelector:
|
||||
matchNames:
|
||||
- gitlab
|
||||
selector:
|
||||
matchLabels:
|
||||
app: gitlab-exporter
|
||||
Reference in New Issue
Block a user