Add Node Exporter and Fail2Ban Exporter modules: implement Kubernetes resources and Prometheus scrape configurations
This commit is contained in:
@@ -36,5 +36,11 @@ scrape_configs:
|
||||
regex: '^/system\.slice/(.+)\.service$'
|
||||
target_label: systemd_service_name
|
||||
replacement: "${1}"
|
||||
remote_write:
|
||||
- url: "http://prometheus.reverse-proxy.svc.cluster.local:9090/api/v1/write"
|
||||
- job_name: node-exporter
|
||||
scrape_interval: 10s
|
||||
static_configs:
|
||||
- targets: ["node-exporter.kube-system.svc.cluster.local:9100"]
|
||||
- job_name: fail2ban
|
||||
scrape_interval: 60s
|
||||
static_configs:
|
||||
- targets: ["fail2ban-exporter.kube-system.svc.cluster.local:9100"]
|
||||
|
||||
Reference in New Issue
Block a user