]> piware.de Git - learn-metrics.git/blob - prometheus-config/prometheus.yml
592ac7ab509817f89a9c6dee7b2a7e79f6ab1d20
[learn-metrics.git] / prometheus-config / prometheus.yml
1 global:
2   scrape_interval: 5s
3   scrape_timeout: 5s
4   evaluation_interval: 15s
5 alerting:
6   alertmanagers:
7   - static_configs:
8     - targets: []
9     scheme: http
10     timeout: 10s
11     api_version: v1
12 scrape_configs:
13 - job_name: 'prometheus'
14   static_configs:
15   - targets: ['localhost:9090']
16
17 - job_name: host-http
18   honor_timestamps: true
19   metrics_path: /metrics
20   scheme: http
21   static_configs:
22   - targets: ['localhost:8080']