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
This commit is contained in:
Jakob Borg
2025-08-10 21:14:25 +02:00
committed by GitHub
parent 29e10e00d2
commit d682220305
6 changed files with 9 additions and 89 deletions

View File

@@ -65,7 +65,7 @@
<remoteGUIPort>0</remoteGUIPort>
<numConnections>3</numConnections>
</device>
<gui enabled="true" tls="false" debugging="true" sendBasicAuthPrompt="false">
<gui enabled="true" tls="false" sendBasicAuthPrompt="false">
<address>127.0.0.1:8081</address>
<user>testuser</user>
<password>$2a$10$7tKL5uvLDGn5s2VLPM2yWOK/II45az0mTel8hxAUJDRQN1Tk2QYwu</password>

View File

@@ -65,7 +65,7 @@
<remoteGUIPort>0</remoteGUIPort>
<numConnections>3</numConnections>
</device>
<gui enabled="true" tls="false" debugging="true" sendBasicAuthPrompt="false">
<gui enabled="true" tls="false" sendBasicAuthPrompt="false">
<address>127.0.0.1:8082</address>
<metricsWithoutAuth>false</metricsWithoutAuth>
<apikey>abc123</apikey>