-
Notifications
You must be signed in to change notification settings - Fork 10
/
prometheus.yml
72 lines (57 loc) · 1.81 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
global:
scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.
scrape_configs:
- job_name: 'prometheus'
static_configs:
- targets: ['prometheus:9090']
- job_name: 'cadvisor'
static_configs:
- targets: ['127.0.0.1:8880', '127.0.0.1:8880', '127.0.0.1:8880']
#, '127.0.0.1:8880', '127.0.0.1:8880']
- job_name: 'node_exporter'
static_configs:
- targets: ['127.0.0.1:9100', '127.0.0.1:9100', '127.0.0.1:9100']
- job_name: 'MS-DevOps'
scrape_interval: 5s
static_configs:
- targets: ['127.0.0.1:19080']
- job_name: 'MS-DevOps2'
scrape_interval: 5s
static_configs:
- targets: ['127.0.0.1:19089']
- job_name: 'MS-otro'
scrape_interval: 5s
static_configs:
- targets: ['127.0.0.1:19087']
- job_name: 'MS-otro2'
scrape_interval: 5s
static_configs:
- targets: ['127.0.0.1:19088']
- job_name: 'MS-otro3'
scrape_interval: 5s
static_configs:
- targets: ['127.0.0.1:19090']
- job_name: 'MS-EXAMPLE'
scrape_interval: 5s
static_configs:
- targets: ['127.0.0.1:19091']
- job_name: 'MS-EXAMPLE2'
scrape_interval: 5s
static_configs:
- targets: ['127.0.0.1:19092']
- job_name: 'blackbox'
metrics_path: /probe
params:
module: [http_2xx]
static_configs:
- targets:
- https://www.infobae.com
- https://www.lanacion.com.ar
relabel_configs:
- source_labels: [__address__]
target_label: __param_target
- source_labels: [__param_target]
target_label: instance
- target_label: __address__
replacement: 127.0.0.1:9115 # The blackbox exporter's real hostname:port.