-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprometheus.yml.template
More file actions
39 lines (34 loc) · 959 Bytes
/
prometheus.yml.template
File metadata and controls
39 lines (34 loc) · 959 Bytes
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
global:
scrape_interval: 15s
evaluation_interval: 15s
scrape_configs:
- job_name: "prometheus"
static_configs:
- targets: ["localhost:9090"]
- job_name: "pb-website"
metrics_path: "/metrics"
scrape_interval: 10s
scrape_timeout: 5s
static_configs:
- targets: ["${WEBSITE_SERVER_IP}:9464"]
- job_name: "blackbox-http-general"
metrics_path: /probe
params:
module: [http_2xx]
static_configs:
- targets:
- https://${WEBSITE_DOMAIN}
- https://api.${WEBSITE_DOMAIN}
relabel_configs:
- source_labels: [__address__]
target_label: __param_target
- source_labels: [__param_target]
target_label: instance
- target_label: __address__
replacement: blackbox-exporter:9115
- job_name: "node-exporter"
static_configs:
- targets: ["node-exporter:9100"]
- job_name: "cadvisor"
static_configs:
- targets: ["cadvisor:8080"]