Versions in this module Expand all Collapse all v1 v1.0.1 Aug 15, 2024 Changes in this version + func NewEtcd(js jsonstore.JsonStore, dir string) persist_stat.PersistStoreStat + type EtcdStat struct + func (e *EtcdStat) Clear(beforeTimeStamp time.Time) error + func (e *EtcdStat) Emit(tag string, value int64) error + func (e *EtcdStat) Last1Day() (map[string]int64, error) + func (e *EtcdStat) Last1Hour() (map[string]int64, error) + func (e *EtcdStat) Last20Min() (map[string]int64, error) + func (e *EtcdStat) Last5Min() (map[string]int64, error) + func (e *EtcdStat) Last6Hour() (map[string]int64, error) + func (e *EtcdStat) Metrics() map[string]int64 + func (e *EtcdStat) SetPolicy(policy persist_stat.Policy) error + func (e *EtcdStat) Stat(beg, end time.Time) (map[string]int64, error)