From 6b555cf0d86b2c9872148360d2b49dc61a4fecbd Mon Sep 17 00:00:00 2001 From: Jon Bendtsen Date: Tue, 3 Jan 2023 10:12:53 +0100 Subject: [PATCH] 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 --- docs/metrics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/metrics.md b/docs/metrics.md index 9db4ed26..22d9bf0a 100644 --- a/docs/metrics.md +++ b/docs/metrics.md @@ -17,4 +17,4 @@ Several counters and gauges are available, for example: 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.