3xui-exporter

command module
v0.0.0-...-65407b0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2024 License: GPL-3.0 Imports: 17 Imported by: 0

README

Usage

cli
./3xui-exporter -endpoint=http://localhost/mysecretpath -username=YOUR_USERNAME -password=YOUR_PASSWORD -listen-address=:9101
docker
docker build . -t 3xui-exporter

docker run -d --rm --name 3xui-exporter -p 9101:9101 3xui-exporter 3xui-exporter -endpoint=http://localhost/mysecretpath -username=YOUR_USERNAME -password=YOUR_PASSWORD -listen-address=:9101
docker-compose:
3xui-exporter:
    build: 3xui-exporter
    container_name: 3xui-exporter
    restart: unless-stopped    
    environment:
      PANEL_ENDPOINT: http://localhost/mysecretpath
      PANEL_USERNAME: YOUR_USERNAME
      PANEL_PASSWORD: YOUR_PASSWORD
      LISTEN_ADDRESS: :9101
prometheus.yml
global:
  scrape_interval: 15s

scrape_configs:
  - job_name: '3xui'
    static_configs:
      - targets: ['3xui-exporter:9101']
Example dashboard

dashboard.json

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL