From the course: Graphite and Grafana: Visualizing Application Performance

Unlock the full course today

Join today to access over 24,800 courses taught by industry experts.

Configuring carbon

Configuring carbon

- [Narrator] To configure Carbon, we'll first look at carbon.conf. We'll become route by typing sudo-s, type in a password, and open the file located etc/carbon/carbon.conf. Once the file is open, we can explore the various configuration options we may want to tune. The first thing to note is the local data directory variable. And if I set the lines, located on line 34. This is where Whisper files will be written. It's important to ensure enough space exists to accommodate the growth of your Whisper files, a topic we'll explore in an upcoming video. Also important to note is the option to enable log rotation located on line 41. This ensures that Carbon rotates its logs daily, which may be useful to you, or you may wish to keep this feature turned off, and rotate these logs through a log rotate tool provided by Ubuntu. Lastly, the line receiver interface and line receiver port variables configure the interface and port on which Carbon cache listens. So we see those on lines 82 and 83…

Contents