...
Блок кода | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
scrape_configs: - job_name: 'core-monitoring' scrape_interval: 5s metrics_path: '/metrics' static_configs: - targets: ['172.17.0.1:8000'] - job_name: 'monitoring-servernode_exporter' scrape_interval: 5s metrics_path: 'metrics' static_configs: - targets: ['172.17.0.1:9100'] - job_name: 'alertmanager' scrape_interval: 5s metrics_path: '/metrics' static_configs: - targets: ['172.17.0.1:9093'] # Alertmanager configuration alerting: alertmanagers: - scheme: http static_configs: - targets: - alertmanager:9093 # Load rules once and periodically evaluate them according to the global 'evaluation_interval'. rule_files: - 'alert.rules' |
...