Validator block monitor
我们提供了一个监控容器,你可以使用它实时追踪你的验证器的区块状态,如果验证器丢失了块,会立即提示。
它除了可以在命令行显示您的区块同步状态,还暴漏了一个Prometheus metrics,它所使用的端口是8080,你可以将它映射至宿主机,并通过Prometheus收集监控数据,然后通过grafana展示。
We provide a monitoring container that you can use to track the block status of your validator in real time, and will immediately notify you if the validator misses a block.
In addition to displaying your block synchronization status on the command line, it also exposes a Prometheus metrics, which uses port 8080. You can map it to the host and collect monitoring data through Prometheus, and then display it through grafana.
Usage:
docker run --rm -p 8080:8080 registry.cn-hongkong.aliyuncs.com/kubenodexyz/initia_monitor:v1.0 --node https://initia-rpc.kubenode.xyz:443 --validator $YOUR_VALIDATOR_ADDRESS:"$Moniker"
prometheus.yml sample:
- job_name: 'validator_exporter'
static_configs:
- targets: ['127.0.0.1:8080']
labels:
instance: initia_serverLast updated