Skip to content

itning/s-ui-traffic-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

s-ui Traffic Exporter

GitHub stars GitHub forks GitHub watchers GitHub followers

GitHub issues GitHub license GitHub last commit GitHub repo size in bytes Hits


中文

Introduction

Function: Report traffic information from s-ui to Prometheus.

Implementation effect:

In s-ui:

Usage

./s-ui-traffic-exporter-linux-amd64 --web.listen-address=":9100" 
# HELP name_traffic_download_bytes_total Total bytes downloaded by each name.
# TYPE name_traffic_download_bytes_total counter
name_traffic_download_bytes_total{enable="true",name="zGZuZfFc"} 1.819867959e+09
# HELP name_traffic_upload_bytes_total Total bytes uploaded by each name.
# TYPE name_traffic_upload_bytes_total counter
name_traffic_upload_bytes_total{enable="true",name="zGZuZfFc"} 7.16911518e+08

The default location for the s-ui SQLite database is: /usr/local/s-ui/db/s-ui.db.

If not in the default location, it can be modified via a parameter, for example: --db-path=/home/xui.db.

Supports TLS: --web.config.file=web-config.yml.

For specific configuration details: exporter-toolkit web-configuration.

Acknowledgments

JetBrains Logo (Main) logo

About

Exporter for traffic information from s-ui to Prometheus.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages