Clash Exporter for Prometheus
This is a simple server that scrapes Clash stats and exports them via HTTP for Prometheus consumption.
Getting Started
To run it:
./clash_exporter [flags]
Help on flags:
./clash_exporter --help
For more information check the source code documentation.
TLS and basic authentication
The Clash Exporter supports TLS and basic authentication.
To use TLS and/or basic authentication, you need to pass a configuration file
using the --web.config.file
parameter. The format of the file is described
in the exporter-toolkit repository.
Development
Building
make build
Testing
make test