-
Notifications
You must be signed in to change notification settings - Fork 7
/
prometheus.yml
67 lines (56 loc) · 1.72 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
global:
scrape_interval: 15s
evaluation_interval: 15s
# Attach these labels to any time series or alerts when communicating with
# external systems (federation, remote storage, Alertmanager).
external_labels:
monitor: 'docker-host-alpha'
# Load and evaluate rules in this file every 'evaluation_interval' seconds.
rule_files:
- "alert.rules"
# A scrape configuration containing exactly one endpoint to scrape.
scrape_configs:
- job_name: 'prometheus'
scrape_interval: 10s
static_configs:
- targets: ['localhost:9090']
- job_name: 'pushgateway'
scrape_interval: 10s
honor_labels: true
static_configs:
- targets: ['pushgateway:9091']
- job_name: 'zksync'
scrape_interval: 5s
honor_labels: true
static_configs:
- targets: ['host.docker.internal:3312']
- job_name: 'zksync_contract_verifier'
scrape_interval: 5s
honor_labels: true
static_configs:
- targets: ['host.docker.internal:3314']
- job_name: 'zksync_prover'
scrape_interval: 5s
honor_labels: true
static_configs:
- targets: ['host.docker.internal:3315']
- job_name: 'zksync_witness_generator'
scrape_interval: 5s
honor_labels: true
static_configs:
- targets: ['host.docker.internal:3116']
- job_name: 'zksync_witness_vector_generator'
scrape_interval: 5s
honor_labels: true
static_configs:
- targets: ['host.docker.internal:3420']
- job_name: 'zksync_prover_gateway'
scrape_interval: 5s
honor_labels: true
static_configs:
- targets: ['host.docker.internal:3310']
- job_name: 'zksync_proof_compressor'
scrape_interval: 5s
honor_labels: true
static_configs:
- targets: ['host.docker.internal:3321']