Comments (12)
check prometheus config
clash-exporter/prometheus/record.rules.yml
Lines 1 to 5 in 5be7882
clash-exporter/prometheus/prometheus.yml
Lines 12 to 13 in 5be7882
from clash-exporter.
check prometheus config
clash-exporter/prometheus/record.rules.yml
Lines 1 to 5 in 5be7882
clash-exporter/prometheus/prometheus.yml
Lines 12 to 13 in 5be7882
same configuration content
from clash-exporter.
能打开 Prometheus ,然后看看 source_policy_type:clash_network_traffic_bytes_total:sum
是否有数据吗。
刚看到 你的 dns 也是空的,检查一下 tracing 是否开启。
tracing metrics is empty
Required clash premium version
Follow clash profile docs enable profile tracing
Add -collectTracing=true flag in clash-exporter start script
from clash-exporter.
![image](https://user-images.githubusercontent.com/9210430/240342852-4be2a0fe-729e-4e79-b665-9cc6e43e59ed.png)
这样?
profile:
store-selected: true
store-fake-ip: true
tracing: true
确定开了的 版本是
![image](https://user-images.githubusercontent.com/9210430/240343012-133c7c9f-1684-443c-a334-7a6326e4ed6c.png)
from clash-exporter.
测试了下作者提供的 是有数据的
![image](https://user-images.githubusercontent.com/9210430/240345725-dc0d2c94-c227-45cf-8f42-c0c2c644e2a8.png)
from clash-exporter.
dns 或者最下面 的 tracing 数据为空
- clash 开启 profile.tracing
- clash-export 启动的时候加上
-collectTracing=true
中间的 Traffic statistics 数据为空
- 检查下 Prometheus 的配置
- 看下是否有
source_policy_type:clash_network_traffic_bytes_total:sum
metrics
![image](https://user-images.githubusercontent.com/21299255/240892037-95c99bab-d24c-4ea7-803b-572735aa8b9d.png)
from clash-exporter.
![image](https://user-images.githubusercontent.com/24956657/245980958-949ded2a-5a20-4a10-abfb-087c00cb816b.png)
![image](https://user-images.githubusercontent.com/24956657/245981010-8f570003-2ed0-4e5b-bdf6-61d7335789ba.png)
![image](https://user-images.githubusercontent.com/24956657/245981117-c5a2d1f2-48fc-411f-a475-f999a60d99c5.png)
使用 docker compose 部署 并将 clash-exporter 添加 entrypoint: /app/clash-exporter -collectTracing=true 开启收集
dns 部分正常 下面两个 无数据
from clash-exporter.
![]()
![]()
使用 docker compose 部署 并将 clash-exporter 添加 entrypoint: /app/clash-exporter -collectTracing=true 开启收集 dns 部分正常 下面两个 无数据
dashboard 是通过 id 导入的吗?我忘了更新了
from clash-exporter.
是的 通过 id 进行导入的
from clash-exporter.
是的 通过 id 进行导入的
更新下试试,应该好了
from clash-exporter.
是的 通过 id 进行导入的
更新下试试,应该好了
可以了没问题了
from clash-exporter.
it works, thank
from clash-exporter.
Related Issues (6)
- clash exporter如何使用? HOT 5
- clash重启后统计数据出现错乱
- grafana 无法连接 prometheus HOT 5
- read limited at 1048577 bytes HOT 2
- 高CPU占用 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clash-exporter.