-
Notifications
You must be signed in to change notification settings - Fork 0
/
scrape-configs.yaml
68 lines (67 loc) · 1.83 KB
/
scrape-configs.yaml
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
- job_name: nodes-exporter
scrape_interval: 5s
basic_auth:
username: node_exporter_user
password: node_exporter_password
ec2_sd_configs:
- filters:
- name: tag:Name
values:
- "polkadot-api*"
- "substrate-sot"
relabel_configs:
- source_labels: [ '__meta_ec2_private_ip' ]
target_label: '__address__'
replacement: '$1:${node_exporter_port}'
- job_name: polkadot-library-nodes
scrape_interval: 5s
ec2_sd_configs:
- filters:
- name: tag:Name
values:
- "polkadot-api*"
relabel_configs:
- source_labels: [ '__meta_ec2_private_ip' ]
target_label: '__address__'
replacement: '$1:${polkadot_prometheus_port}'
- job_name: kusama-library-nodes
scrape_interval: 5s
ec2_sd_configs:
- filters:
- name: tag:Name
values:
- "polkadot-api*"
relabel_configs:
- source_labels: [ '__meta_ec2_private_ip' ]
target_label: '__address__'
replacement: '$1:${kusama_prometheus_port}'
- job_name: polkadot-truth-nodes
scrape_interval: 5s
ec2_sd_configs:
- filters:
- name: tag:Name
values:
- "substrate-sot"
relabel_configs:
- source_labels: [ '__meta_ec2_private_ip' ]
target_label: '__address__'
replacement: '$1:${polkadot_prometheus_port}'
- job_name: kusama-truth-nodes
scrape_interval: 5s
ec2_sd_configs:
- filters:
- name: tag:Name
values:
- "substrate-sot"
relabel_configs:
- source_labels: [ '__meta_ec2_private_ip' ]
target_label: '__address__'
replacement: '$1:${kusama_prometheus_port}'
- job_name: cloudwatch
scrape_interval: 10s
metrics_path: '/metrics'
kubernetes_sd_configs:
- role: pod
selectors:
- role: pod
label: "app=prometheus-cloudwatch-exporter"