Function: Report traffic information from s-ui to Prometheus.
Implementation effect:
In s-ui:
./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.

