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

nacos2.x版本集群中的节点leaderStatus状态都为0 #12737

Open
michaelyaya opened this issue Oct 15, 2024 · 2 comments
Open

nacos2.x版本集群中的节点leaderStatus状态都为0 #12737

michaelyaya opened this issue Oct 15, 2024 · 2 comments
Labels
area/Nacos Core contribution welcome kind/enhancement Category issues or prs related to enhancement.

Comments

@michaelyaya
Copy link

michaelyaya commented Oct 15, 2024

使用nacos2.2.1版本部署了一个3节点集群,在控制台中能看到leader节点的状态,但是在prometheus中使用nacos_monitor{name=‘leaderStatus’} 拿到的指标结果全是0

@Umbrallerstackcode
Copy link

看下日志

@KomachiSion
Copy link
Collaborator

这个指标好像需要做一下重构,目前nacos的raft-group已经扩充到4~5个, 单一的一个leaderStatus已经无法表达leader的信息,

@KomachiSion KomachiSion added contribution welcome area/Nacos Core kind/enhancement Category issues or prs related to enhancement. labels Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/Nacos Core contribution welcome kind/enhancement Category issues or prs related to enhancement.
Projects
None yet
Development

No branches or pull requests

3 participants