forked from IntersectMBO/cardano-node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config-0.yaml
211 lines (167 loc) · 5.19 KB
/
config-0.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
# global filter; messages must have at least this severity to pass:
minSeverity: Debug
# global file rotation settings:
rotation:
rpLogLimitBytes: 5000000
rpKeepFilesNum: 10
rpMaxAgeHours: 24
# these backends are initialized:
setupBackends:
- KatipBK
# Uncomment it to enable trace forwarder backend, if the node should
# forward metrics to an external process.
# - TraceForwarderBK
# if not indicated otherwise, then messages are passed to these backends:
defaultBackends:
- KatipBK
# if wanted, the EKG interface is listening on this port:
#hasEKG: 12781
#hasPrometheus:
# - "127.0.0.1"
# - 13788
# here we set up outputs of logging in 'katip':
setupScribes:
- scKind: FileSK
scName: "logs/node-0.log"
scFormat: ScText
- scKind: FileSK
scName: "logs/node-0.json"
scFormat: ScJson
# if not indicated otherwise, then log output is directed to this:
defaultScribes:
- - FileSK
- "logs/node-0.log"
- - FileSK
- "logs/node-0.json"
# more options which can be passed as key-value pairs:
options:
mapSubtrace:
'#ekgview':
contents:
- - tag: Contains
contents: 'cardano.epoch-validation.benchmark'
- - tag: Contains
contents: .monoclock.basic.
- - tag: Contains
contents: 'cardano.epoch-validation.benchmark'
- - tag: Contains
contents: diff.RTS.cpuNs.timed.
- - tag: StartsWith
contents: '#ekgview.#aggregation.cardano.epoch-validation.benchmark'
- - tag: Contains
contents: diff.RTS.gcNum.timed.
subtrace: FilterTrace
'cardano.epoch-validation.utxo-stats':
# Change the `subtrace` value to `Neutral` in order to log
# `UTxO`-related messages during epoch validation.
subtrace: NoTrace
mapBackends:
cardano.node.ChainDB.metrics:
- EKGViewBK
- kind: UserDefinedBK
name: LiveViewBackend
cardano.node.metrics.Forge:
- EKGViewBK
cardano.node.metrics.Mempool:
- EKGViewBK
cardano.node.metrics:
- EKGViewBK
- kind: UserDefinedBK
name: LiveViewBackend
# Uncomment it to send 'cardano.node.metrics' to 'TraceForwarderBK' as well.
# - TraceForwarderBK
cardano.node.peers:
- EKGViewBK
cardano.node.BlockFetchDecision.peers:
- EKGViewBK
- kind: UserDefinedBK
name: LiveViewBackend
# Uncomment it to send node's release, version and commit to 'TraceForwarderBK'.
# cardano.node.release:
# - TraceForwarderBK
# cardano.node.version:
# - TraceForwarderBK
# cardano.node.commit:
# - TraceForwarderBK
# Uncomment it to forward node's metrics to remote socket '127.0.0.1:2997'.
# traceForwardTo:
# tag: RemoteSocket
# contents:
# - "127.0.0.1"
# - "2997"
##########################################################
############### Cardano Node Configuration ###############
##########################################################
NodeId:
Protocol: RealPBFT
GenesisFile: genesis/genesis.json
NumCoreNodes: 1
RequiresNetworkMagic: RequiresMagic
PBftSignatureThreshold:
TurnOnLogging: True
ViewMode: LiveView
TurnOnLogMetrics: True
SocketPath:
##### Update Parameters #####
ApplicationName: cardano-sl
ApplicationVersion: 1
LastKnownBlockVersion-Major: 0
LastKnownBlockVersion-Minor: 2
LastKnownBlockVersion-Alt: 0
##### Tracing #####
# MinimalVerbosity: Minimal level of the rendering of captured items
# MaximalVerbosity: Maximal level of the rendering of captured items
# NormalVerbosity: the default level of the rendering of captured items
TracingVerbosity: NormalVerbosity
# Trace BlockFetch client.
TraceBlockFetchClient: True
# Trace BlockFetch decisions made by the BlockFetch client.
TraceBlockFetchDecisions: True
# Trace BlockFetch protocol messages.
TraceBlockFetchProtocol: True
# Serialised Trace BlockFetch protocol messages.
TraceBlockFetchProtocolSerialised: False
# Trace BlockFetch server.
TraceBlockFetchServer: True
# Verbose tracer of ChainDB
TraceChainDb: True
# Trace ChainSync client.
TraceChainSyncClient: False
# Trace ChainSync server (blocks).
TraceChainSyncBlockServer: False
# Trace ChainSync server (headers)
TraceChainSyncHeaderServer: False
# Trace ChainSync protocol messages.
TraceChainSyncProtocol: True
# Trace DNS Resolver messages.
TraceDNSResolver: False
# Trace DNS Subscription messages.
TraceDNSSubscription: False
# Trace error policy resolution.
TraceErrorPolicy: False
# Trace local error policy resolution.
TraceLocalErrorPolicy: True
# Trace block forging.
TraceForge: True
# Trace Handshake protocol messages.
TraceHandshake: False
# Trace IP Subscription messages.
TraceIpSubscription: False
# Trace local ChainSync protocol messages.
TraceLocalChainSyncProtocol: True
# Trace local Handshake protocol messages.
TraceLocalHandshake: False
# Trace local TxSubmission protocol messages.
TraceLocalTxSubmissionProtocol: True
# Trace local TxSubmission server.
TraceLocalTxSubmissionServer: True
# Trace mempool.
TraceMempool: True
# Trace Mux Events
TraceMux: False
# Trace TxSubmission server (inbound transactions).
TraceTxInbound: True
# Trace TxSubmission client (outbound transactions).
TraceTxOutbound: True
# Trace TxSubmission protocol messages.
TraceTxSubmissionProtocol: True