Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fisco3.2官方文档中“多群组区块链(Pro版本)”部分的教程,监控服务启动后 mtail metric中查不到 node.mtail 中配置的信息 #4390

Open
skywalker2017 opened this issue Apr 19, 2024 · 1 comment

Comments

@skywalker2017
Copy link

skywalker2017 commented Apr 19, 2024

Describe the bug
Fisco3.2官方文档中“多群组区块链(Pro版本)”部分的教程,监控服务启动后 mtail metric中查不到 node.mtail 中配置的信息

可能是node.mtail语法错误

检查 node.mtail 文件
`
gauge p2p_session_actived by host , node
/[P2PService][Service][METRIC]heartBeat,connected count=(?P\d+)/ {
p2p_session_actived[host][node] = \$count
}

gauge block_exec_duration_milliseconds_gauge by chain , group , host , node
/[CONSENSUS][Core][METRIC]asyncExecuteBlock success.*?timeCost=(?P\d+)/ {
block_exec_duration_milliseconds_gauge[chain][group][host][node] =\$timeCost
}
`

变量$count前不应出现\

@yinghuochongfly
Copy link
Contributor

变量$count可能是格式处理问题 去掉\试下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants