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

2.1.1版本:http接口暴露的实例数,和控制台显示实例数不匹配 #8910

Closed
whl12345 opened this issue Aug 9, 2022 · 7 comments

Comments

@whl12345
Copy link

whl12345 commented Aug 9, 2022

http接口暴露的实例数,和控制台显示实例数不匹配
nacos_monitor{app="nacos",env="lab",module="naming",name="ipCount",} 17910.0
控制台显示列表有18000实例数

@whl12345
Copy link
Author

whl12345 commented Aug 9, 2022

怀疑并发问题,导致实例数指标统计异常

@chenhao26-nineteen
Copy link
Collaborator

怀疑并发问题,导致实例数指标统计异常

@i will solve it@

@whl12345
Copy link
Author

whl12345 commented Aug 9, 2022

http接口暴露的实例数,和控制台显示实例数不匹配 nacos_monitor{app="nacos",env="lab",module="naming",name="ipCount",} 17910.0 控制台显示列表有18000实例数

这个场景控制台实例数清空以后,grafana显示实例数是负数

@chenhao26-nineteen
Copy link
Collaborator

http接口暴露的实例数,和控制台显示实例数不匹配 nacos_monitor{app="nacos",env="lab",module="naming",name="ipCount",} 17910.0 控制台显示列表有18000实例数

这个场景控制台实例数清空以后,grafana显示实例数是负数

已经解决了

@whl12345
Copy link
Author

whl12345 commented Aug 9, 2022

是并发问题吗,预计改动合并到哪个版本?
我是用的新发布的2.1.1版本。。。

@chenhao26-nineteen
Copy link
Collaborator

是并发问题吗,预计改动合并到哪个版本? 我是用的新发布的2.1.1版本。。。

不是并发问题,是为了兼容batch实例个数的计算逻辑,可以看看pr的修改.

@whl12345
Copy link
Author

whl12345 commented Aug 9, 2022

好的验证了下没问题了

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

3 participants