Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 774 Bytes

metrics.md

File metadata and controls

18 lines (15 loc) · 774 Bytes

Metrics

SFTPGo exposes Prometheus metrics at the /metrics HTTP endpoint. Several counters and gauges are available, for example:

  • Total uploads and downloads
  • Total upload and download size
  • Total upload and download errors
  • Total executed SSH commands
  • Total SSH command errors
  • Number of active connections
  • Data provider availability
  • Total successful and failed logins using password, public key, keyboard interactive authentication or supported multi-step authentications
  • Total HTTP requests served and totals for response code
  • Go's runtime details about GC, number of gouroutines and OS threads
  • Process information like CPU, memory, file descriptor usage and start time

Please check the /metrics page for more details.