d069fe3585
- Implemented a new module for cert-checker with Kubernetes resources including ServiceAccount, Role, RoleBinding, ConfigMap, and CronJob. - Added Python script to check certificate expiry and restart deployments if necessary. - Configured environment variables for deployment name, namespace, and service details. - Included requirements for the Python environment. feat(devolo-exporter): introduce Devolo exporter for Prometheus metrics - Created a new module for Devolo exporter with Kubernetes resources including ServiceAccount, ConfigMap, Deployment, and Service. - Developed Python scripts to scrape metrics from Devolo devices and expose them to Prometheus. - Configured environment variables for Devolo device IP, model, and ports. - Added requirements for the Python environment.
30 lines
864 B
YAML
30 lines
864 B
YAML
scrape_configs:
|
|
- job_name: node-exporter
|
|
scrape_interval: 10s
|
|
static_configs:
|
|
- targets:
|
|
- "node-exporter.prometheus.svc.cluster.local:9100"
|
|
- "10.19.4.1:9100"
|
|
- labels:
|
|
cluster: "dev-01"
|
|
- job_name: auth-exporter
|
|
scrape_interval: 10s
|
|
static_configs:
|
|
- targets:
|
|
- "auth-exporter.prometheus.svc.cluster.local:9100"
|
|
- labels:
|
|
cluster: "dev-01"
|
|
- job_name: disk-exporter
|
|
scrape_interval: 120s
|
|
static_configs:
|
|
- targets:
|
|
- "disk-exporter.prometheus.svc.cluster.local:9100"
|
|
- labels:
|
|
cluster: "dev-01"
|
|
- job_name: devolo-exporter
|
|
scrape_interval: 10s
|
|
static_configs:
|
|
- targets:
|
|
- "devolo-exporter-620.prometheus.svc.cluster.local:9100"
|
|
# - "devolo-exporter-326.prometheus.svc.cluster.local:9100"
|