wi1dcard / v2ray-exporter

🧭 Prometheus exporter for V2Ray and V2Fly metrics, with a simple Grafana dashboard.
MIT License
108 stars 25 forks source link

怎样使用您提供的在grafana中配置V2Ray Dashboard的json,我设置了默认的Data Sources,也显示了所有的v2ray-exporter,但是一些详细参数却没有数据,是不是还要设置什么参数之类的? #2

Closed vampire725 closed 4 years ago

vampire725 commented 4 years ago

image

wi1dcard commented 4 years ago

你好。

请检查是否按照本项目 README 或 https://guide.v2fly.org/advanced/traffic.html 配置好了 V2Ray 相关选项。

vampire725 commented 4 years ago

嗯,,昨天有测试使用您在Grafana lab的发布的json文件 ,然后是可以正确显示结果的; 而使用Github版本的则无法显示; 初步对比两个版本的json文件,感觉是修改后的expr表达式无法正确获取instance导致的。 因为对Prometheus QL不够熟悉,到底什么原因造成的还不是很清楚呢。

wi1dcard commented 4 years ago

感谢对此问题的持续关注。

请问你使用的 Grafana 版本是?我目前测试的 Grafana 版本是 6.7.1,Master 分支的最新面板 JSON 工作正常。

wi1dcard commented 4 years ago

Closed due to inactive. Please feel free to reopen it if you got more information.