mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-01-23 02:35:34 +00:00
feat: disable stats endpoint if enableMetrics is false
This commit is contained in:
parent
45a906e19d
commit
40884fa96b
11 changed files with 462 additions and 647 deletions
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue