Discover Packages
github.com/elonzh/clash_exporter
command
module
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: May 14, 2021
License: GPL-3.0
Opens a new window with license information.
Imports: 20
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
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
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.