gost icon indicating copy to clipboard operation
gost copied to clipboard

Prometheus exporter / Support metrics

Open mhf-ir opened this issue 5 years ago • 1 comments

Prometheus exporter will be great.

Example

Fails

Tag: [types=invalid auth/invalid protocol] Fields=Fails/Seconds

Usage

Tags: [username, ip, port, protocol] Fields: send, recive bytes

# fails
gost_fails_count{type=invalid_auth} 7
gost_fails_count{type=invalid_proto} 3

# usage
gost_usage_bytes{proto=http ip=192.168.1.2 user=usr1 port=8080} 1024
gost_usage_bytes{proto=socks5 ip=192.168.1.3 user=usr2 port=8080} 2048

More info : https://github.com/prometheus/client_golang

mhf-ir avatar Feb 11 '20 16:02 mhf-ir

https://gost.run/en/tutorials/metrics/

ginuerzh avatar May 02 '22 07:05 ginuerzh