
Turns out this is a bit of a pain, and we found out via a full disk. Firstly, carbon wants to rotate it's own log files, but doesn't compress or cleanup. Disable this with ENABLE_LOGROTATION=False, which has been around for a while. This is copied from the upstream example config. Secondly, we were missing the console.log file. Change the rotate to just one for "*.log", and also add "sharedscripts" so the post-rotate is only run once per rotation of all files. Thirdly, copytruncate doesn't work [2]. It needs to be "nocreate"; the file is moved and carbon starts a new one (as suggested by the config comment). This is updated in the combined rotate section. [1] https://github.com/graphite-project/carbon/pull/68 [2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733856 Change-Id: I946bb728971db79a2f4d08f2787c0768b958fb53
OpenStack Graphite Module
Overview
Configures Graphite.
Description