-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
46 lines (42 loc) · 1.31 KB
/
config.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
# Neo RPC related configuration.
chain:
# If true, monitor connects to the NeoFS chain, otherwise, to the Neo chain.
fschain: false
rpc:
dial_timeout: 60s
# stores the interval after which a current connection health check is performed.
health_recheck_interval: 5s
endpoint:
- https://rpc1.t5.n3.nspcc.ru:21331
- https://rpc2.t5.n3.nspcc.ru:21331
# Prometheus metric configuration.
metrics:
# Interval between NeoFS metric scrapping.
interval: 15s
endpoint: ":16512"
contracts:
# NeoFS contract from main chain. Required for asset supply metric.
neofs: 3c3f4b84773ef0141576e48c3ff60e5078235891
logger:
level: info
nep17:
- contract: "gas"
# allows to return the total token supply currently available.
# totalSupply: true
balanceOf:
- 3c3f4b84773ef0141576e48c3ff60e5078235891
- contract: "NEO"
balanceOf:
- NSPCCpw8YmgNDYWiBfXJHRfz38NDjv6WW3
- NSPCCa2T6nc2kYcgWC2k68boyGgc9YdKsj
# - contract: "balance"
# label: "neofs_balance"
# totalSupply: true
# balanceOf:
# - NagentXDvR5c3pQ4gxXpqZjMoUpKVCUMmB
# Another variant of contract definition.
# - contract: "3c3f4b84773ef0141576e48c3ff60e5078235891"
# label: "SomeContractName"
# balanceOf:
# - NSPCCpw8YmgNDYWiBfXJHRfz38NDjv6WW3
# - NSPCCa2T6nc2kYcgWC2k68boyGgc9YdKsj