Metric Data Format

Hosted Graphite metrics should use the following format:

metricname value [timestamp]

   

You can send multiple metric values at the same time by putting them on separate lines in the same message:

conc_users 59
free_ram 33

   

Here’s an example of a metric with the optional UNIX timestamp. This means that the metric will be stored as being measured at that time, instead of the arrival time at our server. This is good for sending us historical data, or when you need the timestamps to match up exactly with the timestamps on your system logs.

conc_users 59 1340981282

   

Remember that UTC time must be used, not local time. The appropriate time zone adjustments can be applied when you create your graphs.