Wavexfront.Item (Wavexfront v0.2.0) View Source
This is the representation of metric item as a structure
name
: The name of your metrictype
: The type of metric. Must be one of :histogram_1m, histogram_1h, histogram_1d, :counter or :gaugetimestamp
: The timestamp of the metrics. May be nil and will be then resolved by the proxysource
: The host it was sent fromlabels
: Keyword list of extra labelsdelta
: Only applies to counters if they are delta counters
The serialization of the metrics is done by using the Item.to_text
function.