diff --git a/configuration/cardano/mainnet-config-new-tracing.json b/configuration/cardano/mainnet-config-new-tracing.json index eef33cdbf8a..3bbcbbff090 100644 --- a/configuration/cardano/mainnet-config-new-tracing.json +++ b/configuration/cardano/mainnet-config-new-tracing.json @@ -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 + } + } } diff --git a/scripts/lite/mainnet-new-tracing.sh b/scripts/lite/mainnet-new-tracing.sh index 45a00d716cc..edf95dcb429 100755 --- a/scripts/lite/mainnet-new-tracing.sh +++ b/scripts/lite/mainnet-new-tracing.sh @@ -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"