-
Notifications
You must be signed in to change notification settings - Fork 236
Expand file tree
/
Copy pathprometheus.yml.example
More file actions
59 lines (56 loc) · 1.81 KB
/
Copy pathprometheus.yml.example
File metadata and controls
59 lines (56 loc) · 1.81 KB
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
global:
scrape_interval: 30s # Set the scrape interval to every 30 seconds.
scrape_timeout: 25s
evaluation_interval: 30s # Evaluate rules every 30 seconds.
external_labels:
service_owner: "$SERVICE_OWNER" # replace this with your Operator name you want to be identified by, it helps us route alerts and metrics to your notification channels easily
cluster_name: "$CLUSTER_NAME"
cluster_peer: "$CLUSTER_PEER"
remote_write:
- url: https://vm.monitoring.gcp.obol.tech/write
authorization:
credentials: "$PROM_REMOTE_WRITE_TOKEN"
write_relabel_configs:
- source_labels: [job]
regex: "charon|mev-boost|commit-boost"
action: keep # Keeps charon metrics and drop metrics from other containers.
scrape_configs:
- job_name: "nethermind"
static_configs:
- targets: ["nethermind:8008"]
- job_name: "consensus-client"
static_configs:
- targets:
- "lighthouse:5054"
- "cl-lighthouse:5054"
- "cl-prysm:5054"
- "cl-teku:5054"
- "cl-nimbus:5054"
- "cl-lodestar:5054"
- "cl-grandine:5054"
- job_name: "charon"
static_configs:
- targets: ["charon:3620"]
relabel_configs:
- target_label: alert_discord_ids
replacement: "$ALERT_DISCORD_IDS"
- job_name: "mev-boost"
static_configs:
- targets: ["mev-mevboost:18551"]
- job_name: "commit-boost"
static_configs:
- targets: ["mev-commitboost:10001"]
- job_name: "validator-client"
static_configs:
- targets:
- "lodestar:5064"
- "vc-lodestar:5064"
- "vc-nimbus:8008"
- "vc-teku:8008"
# Debug
- job_name: "node-exporter"
static_configs:
- targets: ["node-exporter:9100"]
- job_name: "cadvisor"
static_configs:
- targets: ["cadvisor:8080"]