我想读取来自nearcore的遥测数据,我知道节点与Prometheus兼容。文件config.json包含语音遥测,它指向接近块资源管理器:
"telemetry": {
"endpoints": [
"https://explorer.betanet.nearprotocol.com/api/nodes"
]
},我能把我自己的遥测服务器加到那个阵列里吗?我应该在防火墙上打开哪个端口?
发布于 2020-06-08 22:24:09
您需要托管一个临近的资源管理器:https://github.com/near/near-explorer,并使用它的url作为遥测服务器。遥测请求是从neard (请求从neard到资源管理器)的出站流量,因此您不需要为neard节点打开任何端口。
https://stackoverflow.com/questions/62272067
复制相似问题