Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PerfMetrics ¶
PerfMetrics show perf date for the cgroup
type PerfStore ¶
type PerfStore interface { PerfStoreInterface Name() string Run(stop <-chan struct{}) }
PerfStore describe common interface for perf resource inherit from state store
func NewPerfStoreManager ¶
func NewPerfStoreManager(cacheTTL time.Duration, config *types.MetricsPerfConfig, cgroupSt cgstore.CgroupStoreInterface, cpuLock sync.Locker) PerfStore
NewPerfStoreManager new perf store manager
type PerfStoreInterface ¶
type PerfStoreInterface interface { GetPerfResourceRangeStats(key string, start, end time.Time, count int) ([]*PerfMetrics, error) GetPerfResourceRecentState(key string) (*PerfMetrics, error) ListPerfResourceRangeStats(start, end time.Time, count int) (map[string][]*PerfMetrics, error) ListPerfResourceRecentStats() ([]*PerfMetrics, error) }
PerfStoreInterface describe perf special interface
Click to show internal directories.
Click to hide internal directories.