Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Prometheus service metrics #121

Open
vholer opened this issue Jan 5, 2023 · 1 comment
Open

Prometheus service metrics #121

vholer opened this issue Jan 5, 2023 · 1 comment

Comments

@vholer
Copy link
Contributor

vholer commented Jan 5, 2023

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)

...

@tg123
Copy link
Owner

tg123 commented Jan 5, 2023

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants