global: scrape_interval: 60s evaluation_interval: 15s alerting: alertmanagers: - static_configs: - targets: ['localhost:9093'] rule_files: - "/etc/prometheus/rules/*.yml" scrape_configs: - job_name: 'prometheus' scrape_interval: 5s scrape_timeout: 5s static_configs: - targets: ['prometheus.narwain.home:9090'] labels: cluster: 'home-cluster' env: 'prod' - job_name: 'node' static_configs: - targets: - 'prometheus.narwain.home:9100' - 'pve.narwain.home:9100' - 'ns.narwain.home:9100' - 'vpn.narwain.home:9100' - 'grafana.narwain.home:9100' - 'db.narwain.home:9100' - 'cloud.narwain.home:9100' - 'voice.narwain.home:9100' - 'home.narwain.home:9100' - 'proxy.narwain.home:9100' - 'ml.narwain.ru:9100' - 'git.narwain.home:9100' - 'dwh01.narwain.home:9100' - 'dwh02.narwain.home:9100' - 'dwh03.narwain.home:9100' - 'password.narwain.home:9100' - 'redis01.narwain.home:9100' - 'redis02.narwain.home:9100' - 'redis03.narwain.home:9100' labels: cluster: 'home-cluster' env: 'prod' job: 'node-exporter' - job_name: 'bind' static_configs: - targets: ['ns.narwain.home:9119'] labels: cluster: 'home-cluster' env: 'prod' - job_name: 'postgresql' static_configs: - targets: - 'db.narwain.home:9187' - 'dwhcl.narwain.home:9187' labels: cluster: 'home-cluster' env: 'prod' job: 'postgresql_exporter' - job_name: 'php-fpm' static_configs: - targets: - 'home.narwain.home:9253' - job_name: 'apache' static_configs: - targets: - 'cloud.narwain.home:9117' - job_name: 'nextcloud' static_configs: - targets: - 'cloud.narwain.home:9205' - job_name: "angie" scrape_interval: 15s metrics_path: "/p8s" static_configs: - targets: ['home.narwain.home:80'] - job_name: 'etcd' static_configs: - targets: - 'dwh01.narwain.home:2379' - 'dwh02.narwain.home:2379' - 'dwh03.narwain.home:2379' - job_name: 'patroni-cluster' metrics_path: '/metrics' static_configs: - targets: - 'dwh01.narwain.home:8008' - 'dwh02.narwain.home:8008' - 'dwh03.narwain.home:8008'