sshpiper
sshpiper copied to clipboard
Prometheus service metrics
It could be interesting if sshpiper exposes the metrics on a dedicated port in common Prometheus/OpenMetrics format, so that the use of service can be monitored.
Examples of metrics:
basic:
- uptime
- pipes count
- active sessions count (full successful connection from down to up)
intermediate:
- downstream and upstream connections
- counter of total/failed/successful
- gauge of currently opened connections
- breakdown on pipes?
- breakdown on key types?
advanced:
- traffic counter (separated down/upstream)
...
i have an internal version with metric but not fancy enough
but there is a kill pipe cmd
will clean up and open them and make the metrics expose to Prometheus