Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable Metrics #630

Open
Quadrubo opened this issue May 19, 2023 · 2 comments
Open

Disable Metrics #630

Quadrubo opened this issue May 19, 2023 · 2 comments
Labels
feature request Issues that request new features to be added to OnlyOffice

Comments

@Quadrubo
Copy link

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

@sebrhex
Copy link

sebrhex commented Dec 7, 2023

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?

@igwyd
Copy link
Member

igwyd commented Dec 7, 2023

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.

@Rita-Bubnova Rita-Bubnova added the feature request Issues that request new features to be added to OnlyOffice label Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Issues that request new features to be added to OnlyOffice
Projects
None yet
Development

No branches or pull requests

4 participants