监控以太坊专用网络



我已经创建了一个专用以太坊网络,并希望探索监控。我在一个终端窗口中启动了一个geth实例。我尝试运行geth monitor --attach /path/to/geth.ipc,但收到以下错误:

Fatal: Metric pattern trie/cachemiss resolved to unexpected type: string

监视专用网络上的节点的最佳方法是什么?

您应该在命令行中指出度量:geth monitor --attach ./chain-data/geth.ipc system/memory/allocs/AvgRate05Min

重要的先决条件是geth必须使用--metrics启动

更多详细信息https://github.com/ethereum/go-ethereum/wiki/Metrics-and-Monitoring

为了监控我的专用网络,我使用了一个类似于ethstats.net 的自托管站点

  • 首先,我使用https://github.com/cubedro/eth-netstats
  • 然后我安装了一个API,它将把数据从我的节点发送到站点

详细说明可以在我的后找到

最新更新