From d682220305a07d2fa31825a4d377d20eb0e1f1fb Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Sun, 10 Aug 2025 21:14:25 +0200 Subject: [PATCH] chore: remove GUI "debugging" toggle, debug HTTP metrics (#10235) This removes the `debugging` bool under GUI configuration, and two no longer relevant development endpoints: `httpmetrics` (which I can't imagine anyone using for anything -- if we need such metrics today, the right place is the Prometheus exported metrics) and the `peerCompletion` endpoint (previously used by integration tests). The debugging bool initially enabled just those two endpoints, which are not for end users. Then we added profiling and support bundles, which are very useful indeed for end users to access, and they were hidden behind the same debug flag. I don't see any reason for keeping that flag now that these methods are more generally useful. https://github.com/syncthing/docs/pull/949 --- gui/default/index.html | 11 +++-- lib/api/api.go | 79 +--------------------------------- lib/config/guiconfiguration.go | 1 - lib/ur/usage_report.go | 3 -- test/h1/config.xml | 2 +- test/h2/config.xml | 2 +- 6 files changed, 9 insertions(+), 89 deletions(-) diff --git a/gui/default/index.html b/gui/default/index.html index bb072f1ea..4a59693df 100644 --- a/gui/default/index.html +++ b/gui/default/index.html @@ -108,7 +108,7 @@
  •  About
  • -