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

网卡监控出现负数 #19

Open
xiaohei417 opened this issue Aug 12, 2019 · 1 comment
Open

网卡监控出现负数 #19

xiaohei417 opened this issue Aug 12, 2019 · 1 comment

Comments

@xiaohei417
Copy link

xiaohei417 commented Aug 12, 2019

net.if.in.bytes 每当网卡流量跑的比较高时,指标的数值会出现负数,这样影响到了告警.有没有遇到类似情况的伙伴?

@xiaohei417
Copy link
Author

@freedomkk-qfeng hi,这个问题我已经解决了,发现是gopsutil这个库的uint类型溢出,导致的网卡计数器重置,shirou/gopsutil#693
建议更新一下vendor包中gopsutil/net的版本

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

1 participant