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

自定义metric不起作用? #61

Open
kevinchengshellcode opened this issue Jan 10, 2019 · 3 comments
Open

自定义metric不起作用? #61

kevinchengshellcode opened this issue Jan 10, 2019 · 3 comments

Comments

@kevinchengshellcode
Copy link

我定义了几个metrics在custom.json里面,感觉不起作用

@freedomkk-qfeng
Copy link
Collaborator

交换机的型号,版本和做的自定义 metric 配置列下看看?

@kevinchengshellcode
Copy link
Author

可以了,原来是由于custom开关没有打开,还有一个问题是,我怎么改变metric name,比如switch.Ping我想换成小写的,因为grafana 4版本有一个bug,不支持mertic name中有大写字母

@freedomkk-qfeng
Copy link
Collaborator

我记得这个bug 在后来 grafana 的插件里好像修复了,你可以尝试更新看看。
metric 都是定死的,如果要改只能改源码了

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