Documentation ¶
Index ¶
- func AggloMetrics()
- func GetSystemMetrics()
- func Init()
- func InitAggl()
- func MergeMetric(SetOperation string, currentValue int, newValue int, avgIndex int) int
- func ModuloTime(start time.Time, modulo time.Duration) time.Time
- func PushSetMetric(key string, value int, def DataDef)
- func Run()
- func SaveMetrics()
- type DataDef
- type DataDefDB
- type DataDefDBEntry
- type DataPush
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AggloMetrics ¶
func AggloMetrics()
func GetSystemMetrics ¶
func GetSystemMetrics()
func MergeMetric ¶
func PushSetMetric ¶
func SaveMetrics ¶
func SaveMetrics()
Types ¶
type DataDefDB ¶
type DataDefDB struct { Values []DataDefDBEntry ValuesAggl map[string]DataDefDBEntry LastUpdate time.Time Max uint64 Label string Key string AggloType string }
type DataDefDBEntry ¶
Click to show internal directories.
Click to hide internal directories.