backend

package
v1.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type EtcdStat

type EtcdStat struct {
	// contains filtered or unexported fields
}

func (*EtcdStat) Clear

func (e *EtcdStat) Clear(beforeTimeStamp time.Time) error

func (*EtcdStat) Emit

func (e *EtcdStat) Emit(tag string, value int64) error

func (*EtcdStat) Last1Day

func (e *EtcdStat) Last1Day() (map[string]int64, error)

func (*EtcdStat) Last1Hour

func (e *EtcdStat) Last1Hour() (map[string]int64, error)

func (*EtcdStat) Last20Min

func (e *EtcdStat) Last20Min() (map[string]int64, error)

func (*EtcdStat) Last5Min

func (e *EtcdStat) Last5Min() (map[string]int64, error)

func (*EtcdStat) Last6Hour

func (e *EtcdStat) Last6Hour() (map[string]int64, error)

func (*EtcdStat) Metrics

func (e *EtcdStat) Metrics() map[string]int64

func (*EtcdStat) SetPolicy

func (e *EtcdStat) SetPolicy(policy persist_stat.Policy) error

func (*EtcdStat) Stat

func (e *EtcdStat) Stat(beg, end time.Time) (map[string]int64, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL