Browse Source

metrics only available in telemetry server

I do not know which version removed /metrics from the HTTP server, but it does not seem to be available in 2.4.2, so I updated the metrics documentation to reflect this. Replaced with links to telemetry configuration.

Signed-off-by: Jon Bendtsen <[email protected]>
Jon Bendtsen 2 years ago
parent
commit
6b555cf0d8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/metrics.md

+ 1 - 1
docs/metrics.md

@@ -17,4 +17,4 @@ Several counters and gauges are available, for example:
 
 
 Please check the `/metrics` page for more details.
 Please check the `/metrics` page for more details.
 
 
-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.
+The telemetry server is disabled by default in the released [sftpgo.json](https://raw.githubusercontent.com/drakkan/sftpgo/main/sftpgo.json). To enable look in [docs/full-configuration.md](https://raw.githubusercontent.com/drakkan/sftpgo/main/docs/full-configuration.md) for configuration details.