ideascf / clash_exporter

Clash Exporter for Prometheus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clash Exporter for Prometheus

Docker Pulls GitHub release (latest by date) GitHub Workflow Status codecov GitHub license

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

About

Clash Exporter for Prometheus

License:GNU General Public License v3.0


Languages

Language:Go 97.9%Language:Dockerfile 1.3%Language:Makefile 0.7%