From the course: Graphite and Grafana: Visualizing Application Performance

Unlock the full course today

Join today to access over 22,700 courses taught by industry experts or purchase this course individually.

Whisper files

Whisper files

From the course: Graphite and Grafana: Visualizing Application Performance

Start my 1-month free trial

Whisper files

- [Narrator] As explained in the Graphite overview section, Whisper is a fixed size database file format where data is stored in a way that guarantees a high degree of accuracy. In this section we'll look at how Carbon writes Whisper files, as well as discuss Whisper capacity planning and share some performance tips. When Carbon begins the process of writing metrics to disc it first must receive a metric, then it will check for the presence of an existing Whisper file associated with that metric. If it does not find one, it will create a new Whisper file to hold that metric datapoint, as well as all future datapoints that arrive for this metric. To create this file, Carbon first searches the rules in the storage-schema's configuration file, locates an associated retention configuration, and uses those settings to create a database file with the proper metadata and archive definitions. Once this file is created, Whisper then pre-populates it with a null datapoint for each predetermined…

Contents