Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
32 changed files
with
1,299 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
212 changes: 212 additions & 0 deletions
212
chairman/configuration/defaults/simpleview/config-0.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,212 @@ | ||
# 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: StdoutSK | ||
scName: stdout | ||
scFormat: ScText | ||
scRotation: null | ||
|
||
# if not indicated otherwise, then log output is directed to this: | ||
defaultScribes: | ||
- - FileSK | ||
- "logs/node-0.log" | ||
- - StdoutSK | ||
- stdout | ||
|
||
# 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: SimpleView | ||
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: False | ||
|
||
# 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 |
Oops, something went wrong.