From: Sebastian Harl Date: Sat, 22 Nov 2014 10:28:45 +0000 (+0100) Subject: Parse a metric's "timeseries" field. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=52c1b7821aa12fe805d754183466dd4538e2b2d0;p=sysdb%2Fgo.git Parse a metric's "timeseries" field. --- diff --git a/sysdb/store.go b/sysdb/store.go index ffe55d5..73fe0b5 100644 --- a/sysdb/store.go +++ b/sysdb/store.go @@ -216,6 +216,7 @@ type Attribute struct { // A Metric describes a metric known to SysDB. type Metric struct { Name string `json:"name"` + Timeseries bool `json:"timeseries"` LastUpdate Time `json:"last_update"` UpdateInterval Duration `json:"update_interval"` Backends []string `json:"backends"`