{"repo":"m4l3vich/3x-ui-prometheus-exporter","free":true,"listed":false,"github":"https://github.com/m4l3vich/3x-ui-prometheus-exporter","clone":"git clone https://github.com/m4l3vich/3x-ui-prometheus-exporter.git","description":"This software exports traffic usage stats from 3X-UI to Prometheus, so you can monitor every client's usage of VPN traffic and online times.","language":"TypeScript","stars":10,"topics":["3x-ui","monitoring","prometheus","prometheus-exporter"],"license":null,"category":"analytics","readme_excerpt":"3X-UI Prometheus Exporter На русском This software exports traffic usage stats from 3X-UI to Prometheus, so you can monitor every client's usage of VPN traffic and online times. Available metrics (example response) Running using Docker (recommended) linux/amd64 and linux/arm64 builds are available. Metrics will be available at http://localhost:3000/metrics Required environment variables: Variable Description Example ---------------- ------------------------------------ -------------------------- XUI ORIGIN 3X-UI panel URL http://localhost/3x-ui/ XUI USERNAME Username for logging in to the panel somebody XUI PASSWORD Password for logging in to the panel somepassword Optional environment variables: Variable Description When to use -------------------- ---------------------------------------------------- ------------------------------------------------------------ XUI LOGIN SECRET Additional secret string for logging in to the panel If such secret was set in the panel's settings XUI BASIC AUTH username:password pair for the web server If the web server (e.g. reverse proxy) requires HTTP Basic Auth to access the panel XUI WEB DOMAIN 3X-UI web domain For correct authentication when using reverse proxy Running locally You will need latest Node.js LTS and PNPM. 1. Clone this repo: git clone https://github.com/m4l3vich/3x-ui-prometheus-exporter; cd 3x-ui-prometheus-exporter 2. Install dependencies: pnpm install 3. Build the app: pnpm build 4. Create a .env file with all the environme","default_branch":null,"files":null,"tree":[],"storefront":"/r/m4l3vich","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/m4l3vich/3x-ui-prometheus-exporter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}