Documentation ¶
Index ¶
- func NewEtcd(js jsonstore.JsonStore, dir string) persist_stat.PersistStoreStat
- type EtcdStat
- 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)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEtcd ¶
func NewEtcd(js jsonstore.JsonStore, dir string) persist_stat.PersistStoreStat
Types ¶
Click to show internal directories.
Click to hide internal directories.