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

图中counter的两个指标貌似有问题,不对 #41

Open
Ezail3 opened this issue Oct 18, 2018 · 4 comments
Open

图中counter的两个指标貌似有问题,不对 #41

Ezail3 opened this issue Oct 18, 2018 · 4 comments

Comments

@Ezail3
Copy link

Ezail3 commented Oct 18, 2018

image

想通过这两个指标判断缓存命中情况,看上去好像不太对,辛苦检查下,谢谢

@Ezail3
Copy link
Author

Ezail3 commented Oct 18, 2018

image
这俩貌似也有点问题,一起看下,非常感谢!!!

@Ezail3
Copy link
Author

Ezail3 commented Oct 18, 2018

image

@martianzhang
Copy link
Contributor

martianzhang commented Oct 18, 2018

抽查了几个监控指标Open_tables是GAUGE, Opened_tables是COUNTER.

COUNTER在falcon API接口中的含义是上传差值,即监控曲线中的值是每秒的波动。GAUGE的含义是原值,即按命令的输出原样显示。

哪些值上报的是差值,可以在metric.go中查看,DataType中的元素即是。如果不方便查看代码也可以通过开启DEBUG模式日志在日志中确认上报给falcon agent的形式。

@Ezail3
Copy link
Author

Ezail3 commented Oct 19, 2018

抽查了几个监控指标Open_tables是GAUGE, Opened_tables是COUNTER.

COUNTER在falcon API接口中的含义是上传差值,即监控曲线中的值是每秒的波动。GAUGE的含义是原值,即按命令的输出原样显示。

哪些值上报的是差值,可以在metric.go中查看,DataType中的元素即是。如果不方便查看代码也可以通过开启DEBUG模式日志在日志中确认上报给falcon agent的形式。
image
image

大佬不好意思,前面两个命中率的指标是我加班眼花看错机器了,但是opened_files和opened_tables这两个指标我刚看了下日志,还是有点疑问,辛苦帮忙解答下,我有点强迫症,不好意思哈,麻烦你了

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