2020-03-04 22:10:58 +00:00
# Metrics
2020-12-18 15:04:42 +00:00
SFTPGo exposes [Prometheus ](https://prometheus.io/ ) metrics at the `/metrics` HTTP endpoint of the telemetry server.
2020-03-04 22:10:58 +00:00
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
2020-04-09 21:32:42 +00:00
- Total successful and failed logins using password, public key, keyboard interactive authentication or supported multi-step authentications
2020-03-04 22:10:58 +00:00
- Total HTTP requests served and totals for response code
2022-05-05 16:26:22 +00:00
- Go's runtime details about GC, number of goroutines and OS threads
2020-03-04 22:10:58 +00:00
- Process information like CPU, memory, file descriptor usage and start time
2020-06-15 21:46:11 +00:00
Please check the `/metrics` page for more details.
2020-12-18 15:04:42 +00:00
We expose the `/metrics` endpoint in both HTTP server and the telemetry server, you should use the one from the telemetry server. The HTTP server `/metrics` endpoint is deprecated and it will be removed in future releases.