-
Notifications
You must be signed in to change notification settings - Fork 0
/
prometheus.yml
35 lines (35 loc) · 1.32 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
global:
scrape_interval: 5s
external_labels:
monitor: 'my-monitor'
rule_files:
- 'alert.rules'
scrape_configs:
- job_name: 'prometheus'
basic_auth:
username: <PROMETHEUS_USERNAME> # add here your Username of the prometheus authentication login
password: <PROMETHEUS_PASSWORD> # add here your Password of the prometheus authentication login
static_configs:
- targets: ['localhost:9090']
scheme: https
tls_config:
ca_file: /tls/prometheus.crt
scrape_configs:
- job_name: 'node-exporter'
basic_auth:
username: <NODE-EXPORTER_USERNAME> # add here your Username of the node-exporter authentication login
password: <NODE-EXPORTER_PASSWORD> # add here your Username of the node-exporter authentication login
static_configs:
- targets: ['<NODE-EXPORTER-CONTAINER-ID>:9100'] # add the container ID of your running node-exporter
scheme: https
tls_config:
# ca_file: /tls/prometheus.crt
# cert_file: /tls/prometheus.crt
# key_file: /tls/prometheus.key
insecure_skip_verify: true
- job_name: 'chainlink_p1'
static_configs:
- targets: ['<NODE-CONTAINER-ID>:6689'] # add the container ID of your running Node and if you use a diffrent port you can also configure it
scheme: https
tls_config:
insecure_skip_verify: true