homelab/roles/monitoring/templates/prometheus.yml.j2

16 lines
395 B
Django/Jinja

global:
scrape_interval: 1m
scrape_configs:
- job_name: prometheus
static_configs:
- targets: ["localhost:9090"]
- job_name: postgresql
static_configs:
- targets: ["postgresql-exporter:9187"]
- job_name: minio
bearer_token: {{ minio_bearer_token }}
metrics_path: /minio/v2/metrics/cluster
scheme: http
static_configs:
- targets: ["minio:9000"]