Comments (5)
datasource 需要去 grafana 设置 中手动加一下
from clash-exporter.
解决了,并且添加prometheus 时需要使用prometheus:9090 访问
clash-exporter 访问宿主机, 在macOs和windows 上需要使用特殊的ip:host.docker.internal
还有一个问题是
OCI runtime exec failed: exec failed: unable to start container process: exec: "/bin/sh": stat /bin/sh: no such file or directory: unknow
连接不上terminal,还是说应该用别的shell
还有一个问题,应该是bug,在docker-compose 中修改collectTrace 为false 不生效,这个应该新开一个issue 吧
from clash-exporter.
连接不上terminal,还是说应该用别的shell
默认 base 镜像 使用 scratch
构建,不含有 shell,如果需要可以自行使用其他 base 镜像构建
在docker-compose 中修改collectTrace 为false 不生效
没太懂你的意思,如何改的,怎么个不生效法?
from clash-exporter.
在没有开启tracing 的状态下,把
entrypoint:
["/app/clash-exporter", "-collectTracing", "true", "-collectDest", "true"]
修改成
entrypoint:
["/app/clash-exporter", "-collectTracing", "false", "-collectDest", "true"]
然后启动clash-exporter,log 会出现
clash-exporter/collector/tracing.go
Line 52 in d8fab47
from clash-exporter.
在没有开启tracing 的状态下,把
entrypoint: ["/app/clash-exporter", "-collectTracing", "true", "-collectDest", "true"]修改成
entrypoint: ["/app/clash-exporter", "-collectTracing", "false", "-collectDest", "true"]然后启动clash-exporter,log 会出现
clash-exporter/collector/tracing.go
Line 52 in d8fab47
好的,我晚点看一下
from clash-exporter.
Related Issues (10)
- Some data appears to be missing? HOT 12
- read limited at 1048577 bytes HOT 2
- 高CPU占用 HOT 1
- clash exporter如何使用? HOT 5
- clash重启后统计数据出现错乱
- startup error in pve debian12 HOT 6
- 时间过滤似乎失效 HOT 4
- D大小号?D大原来做过这玩意但是当时它支持P核,这个也是只支持P核吗 HOT 2
- 因为设置api密码导致的clash-exporter401未授权问题 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.