Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DSTypes = struct { Gauge string Counter string Absolute string Derive string }{ "GAUGE", "COUNTER", "ABSOLUTE", "DERIVE", }
DSTypes data source type
View Source
var RRATypes = struct { Average string Min string Max string Last string }{ "AVERAGE", "MIN", "MAX", "LAST", }
RRATypes rra type
Functions ¶
Types ¶
type DSConfig ¶
type DSConfig struct {
Name string
Type string
Step uint
Heartbeat uint
Max string
Min string
RRAS []RRAConfig
}
DSConfig rrd ds config
type JSONFloat ¶
type JSONFloat float64
JSONFloat float64 type json by rrd
func (JSONFloat) MarshalJSON ¶
MarshalJSON json marshalJson
Click to show internal directories.
Click to hide internal directories.