feat: disable stats endpoint if enableMetrics is false

This commit is contained in:
SamTV12345 2025-07-27 21:54:24 +02:00 committed by SamTV12345
parent 45a906e19d
commit 40884fa96b
11 changed files with 462 additions and 647 deletions

View file

@ -171,6 +171,14 @@
*/
"showSettingsInAdminPage": "${SHOW_SETTINGS_IN_ADMIN_PAGE:true}",
/*
* Enable/disable the metrics endpoint.
*
* This is used by the monitoring plugins to collect metrics about Etherpad.
* If you do not use any monitoring plugins, you can disable this.
*/
"enableMetrics": ${ENABLE_METRICS:true},
/*
* Settings for cleanup of pads
*/