Skip to content

Commit 228d83b

Browse files
committed
TMP: switch mn cfg to new tracing
1 parent 74474d2 commit 228d83b

File tree

1 file changed

+90
-83
lines changed

1 file changed

+90
-83
lines changed

configuration/cardano/mainnet-config.json

+90-83
Original file line numberDiff line numberDiff line change
@@ -20,91 +20,98 @@
2020
"TargetNumberOfEstablishedPeers": 40,
2121
"TargetNumberOfKnownPeers": 150,
2222
"TargetNumberOfRootPeers": 60,
23-
"TraceAcceptPolicy": true,
24-
"TraceBlockFetchClient": false,
25-
"TraceBlockFetchDecisions": false,
26-
"TraceBlockFetchProtocol": false,
27-
"TraceBlockFetchProtocolSerialised": false,
28-
"TraceBlockFetchServer": false,
29-
"TraceChainDb": true,
30-
"TraceChainSyncBlockServer": false,
31-
"TraceChainSyncClient": false,
32-
"TraceChainSyncHeaderServer": false,
33-
"TraceChainSyncProtocol": false,
34-
"TraceConnectionManager": true,
35-
"TraceDNSResolver": true,
36-
"TraceDNSSubscription": true,
37-
"TraceDiffusionInitialization": true,
38-
"TraceErrorPolicy": true,
39-
"TraceForge": true,
40-
"TraceHandshake": true,
41-
"TraceInboundGovernor": true,
42-
"TraceIpSubscription": true,
43-
"TraceLedgerPeers": true,
44-
"TraceLocalChainSyncProtocol": false,
45-
"TraceLocalConnectionManager": true,
46-
"TraceLocalErrorPolicy": true,
47-
"TraceLocalHandshake": true,
48-
"TraceLocalRootPeers": true,
49-
"TraceLocalTxSubmissionProtocol": false,
50-
"TraceLocalTxSubmissionServer": false,
5123
"TraceMempool": false,
52-
"TraceMux": false,
53-
"TracePeerSelection": true,
54-
"TracePeerSelectionActions": true,
55-
"TracePublicRootPeers": true,
56-
"TraceServer": true,
57-
"TraceTxInbound": false,
58-
"TraceTxOutbound": false,
59-
"TraceTxSubmissionProtocol": false,
60-
"TracingVerbosity": "NormalVerbosity",
61-
"TurnOnLogMetrics": true,
62-
"TurnOnLogging": true,
63-
"UseTraceDispatcher": false,
64-
"defaultBackends": [
65-
"KatipBK"
66-
],
67-
"defaultScribes": [
68-
[
69-
"StdoutSK",
70-
"stdout"
71-
]
72-
],
73-
"hasEKG": 12788,
74-
"hasPrometheus": [
75-
"127.0.0.1",
76-
12798
77-
],
78-
"minSeverity": "Info",
79-
"options": {
80-
"mapBackends": {
81-
"cardano.node.metrics": [
82-
"EKGViewBK"
24+
"TraceOptionForwarder": {
25+
"connQueueSize": 64,
26+
"disconnQueueSize": 128
27+
},
28+
"TraceOptionMetricsPrefix": "cardano.node.metrics.",
29+
"TraceOptionPeerFrequency": 2000,
30+
"TraceOptionResourceFrequency": 1000,
31+
"TraceOptions": {
32+
"": {
33+
"backends": [
34+
"Stdout HumanFormatColoured",
35+
"EKGBackend",
36+
"Forwarder"
8337
],
84-
"cardano.node.resources": [
85-
"EKGViewBK"
86-
]
87-
},
88-
"mapSubtrace": {
89-
"cardano.node.metrics": {
90-
"subtrace": "Neutral"
91-
}
38+
"detail": "DNormal",
39+
"severity": "Notice"
40+
},
41+
"BlockFetch.Client.CompletedBlockFetch": {
42+
"maxFrequency": 2
43+
},
44+
"BlockFetch.Decision": {
45+
"severity": "Silence"
46+
},
47+
"ChainDB": {
48+
"severity": "Info"
49+
},
50+
"ChainDB.AddBlockEvent.AddBlockValidation": {
51+
"severity": "Silence"
52+
},
53+
"ChainDB.AddBlockEvent.AddBlockValidation.ValidCandidate": {
54+
"maxFrequency": 2
55+
},
56+
"ChainDB.AddBlockEvent.AddedBlockToQueue": {
57+
"maxFrequency": 2
58+
},
59+
"ChainDB.AddBlockEvent.AddedBlockToVolatileDB": {
60+
"maxFrequency": 2
61+
},
62+
"ChainDB.CopyToImmutableDBEvent.CopiedBlockToImmutableDB": {
63+
"maxFrequency": 2
64+
},
65+
"ChainSync.Client": {
66+
"severity": "Warning"
67+
},
68+
"Forge.Loop": {
69+
"severity": "Info"
70+
},
71+
"Forge.StateInfo": {
72+
"severity": "Info"
73+
},
74+
"Mempool": {
75+
"severity": "Info"
76+
},
77+
"Net.ConnectionManager.Remote": {
78+
"severity": "Info"
79+
},
80+
"Net.ConnectionManager.Remote.ConnectionManagerCounters": {
81+
"severity": "Silence"
82+
},
83+
"Net.ErrorPolicy": {
84+
"severity": "Info"
85+
},
86+
"Net.ErrorPolicy.Local": {
87+
"severity": "Info"
88+
},
89+
"Net.InboundGovernor": {
90+
"severity": "Warning"
91+
},
92+
"Net.InboundGovernor.Remote": {
93+
"severity": "Info"
94+
},
95+
"Net.Mux.Remote": {
96+
"severity": "Info"
97+
},
98+
"Net.PeerSelection": {
99+
"severity": "Silence"
100+
},
101+
"Net.Subscription.DNS": {
102+
"severity": "Info"
103+
},
104+
"Net.Subscription.IP": {
105+
"severity": "Info"
106+
},
107+
"Resources": {
108+
"severity": "Silence"
109+
},
110+
"Startup.DiffusionInit": {
111+
"severity": "Info"
92112
}
93113
},
94-
"rotation": {
95-
"rpKeepFilesNum": 10,
96-
"rpLogLimitBytes": 5000000,
97-
"rpMaxAgeHours": 24
98-
},
99-
"setupBackends": [
100-
"KatipBK"
101-
],
102-
"setupScribes": [
103-
{
104-
"scFormat": "ScText",
105-
"scKind": "StdoutSK",
106-
"scName": "stdout",
107-
"scRotation": null
108-
}
109-
]
114+
"TurnOnLogMetrics": true,
115+
"TurnOnLogging": true,
116+
"UseTraceDispatcher": true
110117
}

0 commit comments

Comments
 (0)