Skip to content

Commit

Permalink
scripts: backport from 10.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mgmeier committed Jan 8, 2025
1 parent 3d3d15a commit 40ff2a6
Show file tree
Hide file tree
Showing 2 changed files with 94 additions and 5 deletions.
96 changes: 92 additions & 4 deletions configuration/cardano/mainnet-config-new-tracing.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,106 @@
"AlonzoGenesisHash": "7e94a15f55d1e82d10f09203fa1d40f8eede58fd8066542cf6566008068ed874",
"ByronGenesisFile": "mainnet-byron-genesis.json",
"ByronGenesisHash": "5f20df933584822601f9e3f8c024eb5eb252fe8cefb24d1317dc3d432e940ebb",
"ConwayGenesisFile": "mainnet-conway-genesis.json",
"ConwayGenesisHash": "15a199f895e461ec0ffc6dd4e4028af28a492ab4e806d39cb674c88f7643ef62",
"EnableP2P": true,
"LastKnownBlockVersion-Alt": 0,
"LastKnownBlockVersion-Major": 3,
"LastKnownBlockVersion-Minor": 0,
"MaxKnownMajorProtocolVersion": 2,
"PeerSharing": true,
"Protocol": "Cardano",
"RequiresNetworkMagic": "RequiresNoMagic",
"ShelleyGenesisFile": "mainnet-shelley-genesis.json",
"ShelleyGenesisHash": "1a3be38bcbb7911969283716ad7aa550250226b76a61fc51cc9a9a35d9276d81",
"TurnOnLogging": true,
"UseTraceDispatcher": true,
"TraceOptionPeerFrequency": 3000,
"TraceOptionResourceFrequency": 4000,
"TurnOnLogMetrics": true,
"TraceOptions": {}
"UseTraceDispatcher": true,
"TraceOptionForwarder": null,
"TraceOptionMetricsPrefix": "cardano.node.metrics.",
"TraceOptionNodeName": "mainnetsingle",
"TraceOptionPeerFrequency": 2000,
"TraceOptionResourceFrequency": 1000,
"TraceOptions": {
"": {
"backends": [
"Stdout MachineFormat",
"EKGBackend",
"Forwarder"
],
"severity": "Notice"
},
"BlockFetch.Decision": {
"severity": "Silence"
},
"ChainDB": {
"severity": "Info"
},
"ChainDB.AddBlockEvent.AddBlockValidation": {
"severity": "Silence"
},
"ChainSync.Client": {
"severity": "Warning"
},
"Net.ConnectionManager.Remote": {
"severity": "Info"
},
"Net.Subscription.DNS": {
"severity": "Info"
},
"Startup.DiffusionInit": {
"severity": "Info"
},
"Net.ErrorPolicy": {
"severity": "Info"
},
"Forge.Loop": {
"severity": "Info"
},
"Forge.StateInfo": {
"severity": "Info"
},
"Net.InboundGovernor.Remote": {
"severity": "Info"
},
"Net.Subscription.IP": {
"severity": "Info"
},
"Net.ErrorPolicy.Local": {
"severity": "Info"
},
"Mempool": {
"severity": "Silence"
},
"Net.Mux.Remote": {
"severity": "Info"
},
"Net.InboundGovernor": {
"severity": "Warning"
},
"Net.PeerSelection": {
"severity": "Silence"
},
"Net.ConnectionManager.Remote.ConnectionManagerCounters": {
"severity": "Silence"
},
"Resources": {
"severity": "Silence"
},
"ChainDB.AddBlockEvent.AddedBlockToQueue": {
"maxFrequency": 2.0
},
"ChainDB.AddBlockEvent.AddedBlockToVolatileDB": {
"maxFrequency": 2.0
},
"ChainDB.AddBlockEvent.AddBlockValidation.ValidCandidate": {
"maxFrequency": 2.0
},
"ChainDB.CopyToImmutableDBEvent.CopiedBlockToImmutableDB": {
"maxFrequency": 2.0
},
"BlockFetch.Client.CompletedBlockFetch": {
"maxFrequency": 2.0
}
}
}
3 changes: 2 additions & 1 deletion scripts/lite/mainnet-new-tracing.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ cabal run exe:cardano-node -- run \
--topology "${configuration}/mainnet-topology.json" \
--database-path "${db_dir}" \
--socket-path "${socket_dir}/node-1-socket" \
--host-addr "127.0.0.1" \
--tracer-socket-path-connect "${socket_dir}/tracer.socket" \
--host-addr "0.0.0.0" \
--port "3001"


Expand Down

0 comments on commit 40ff2a6

Please sign in to comment.