graphite-project / carbon

Carbon is one of the components of Graphite, and is responsible for receiving metrics over the network and writing them down to disk using a storage backend.
http://graphite.readthedocs.org/
Apache License 2.0
1.5k stars 490 forks source link

[Q] New whisper file creation is not being logged #913

Closed justinclloyd closed 3 years ago

justinclloyd commented 3 years ago

I've recently replaced an old AWS Graphite server with a new one running Ubuntu 20.04 with carbon, whisper, and graphite-web versions 1.2.0 installed via pip from their GitHub repos (via SaltStack git.installed states). I noticed during troubleshooting that whisper file creation is not being logged in creates.log files under the carbon-cache processes' log directories (/var/log/carbon/carbon-cache-{instance}). Is this possibly a bug in carbon? The previous server (running a very old version on Ubuntu 16.04) was writing these files just fine.

deniszh commented 3 years ago

Maybe defaults are changed? You need to have LOG_CREATES = True in carbon.conf because default value is False.

justinclloyd commented 3 years ago

Ah, that seems to be it. I don't see that same parameter in the old carbon.conf so it must've been added since then. Thanks!

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.