-
Notifications
You must be signed in to change notification settings - Fork 4
/
prometheus.yml
53 lines (45 loc) · 1.07 KB
/
prometheus.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
global:
scrape_interval: 1m
evaluation_interval: 1m
rule_files:
- "/etc/alertmanager/rules.yml"
alerting:
alertmanagers:
- scheme: http
static_configs:
- targets:
- "alertmanager:9093"
scrape_configs:
# Self
- job_name: "prometheus-server"
static_configs:
- targets:
- "localhost:9090"
# Alertmanager
- job_name: "alertmanager"
static_configs:
- targets:
- "alertmanager:9093"
# GCP Exporter
- job_name: "gcp-exporter"
scrape_interval: 15m # Reduced frequency for GCP
scrape_timeout: 1m
static_configs:
- targets:
- "gcp-exporter:9402"
# GCP Status
- job_name: "gcp-status"
scrape_interval: 15m # Reduced frequency for GCP
static_configs:
- targets:
- "gcp-status:9989"
# cAdvisor exports metrics for *all* containers running on this host
- job_name: cadvisor
static_configs:
- targets:
- "cadvisor:8080"
# Node Exporter
- job_name: node-exporter
static_configs:
- targets:
- "node-exporter:9100"