Docker-DocumentServer icon indicating copy to clipboard operation
Docker-DocumentServer copied to clipboard

Disable Metrics

Open Quadrubo opened this issue 2 years ago • 2 comments

How do I disable the metrics?

What is the current behavior?

I currently have the env variable METRICS_ENABLED set to false. The metrics/out.log still reports the Flushing of stats which causes CPU spikes of my server in 10 minutes intervals which cause the fans to spin up for a second which I'd like to avoid if I'm not doing anything.

What is the expected behavior?

Metrics should not be reported if METRICS_ENABLED is set to false.

DocumentServer Docker tag: latest

Host Operating System: Unraid

Quadrubo avatar May 19 '23 19:05 Quadrubo

What would happen if we remove the file /etc/supervisor/conf.d/ds-metrics.conf manually? Is anything depending on the process var/www/onlyoffice/documentserver/server/Metrics/metrics ./config/config.js?

sebrhex avatar Dec 07 '23 08:12 sebrhex

Hello @Quadrubo, sorry for the late reply. I created ticket #65410 with your suggestion.

@sebrhex as far as I can see, nothing depends on this service except statistics. You can stop the service and will not receive message in the logs.

igwyd avatar Dec 07 '23 10:12 igwyd