# Functions
GetResourceStats sums resources' statistics.
NewContainersStats creates a new hot spot cache.
NewContainerStatisticsMap create a container statistics map.
NewHotCache creates a new hot spot cache.
NewHotStat creates the container to hold cluster's hotspot statistics.
NewLabelStatistics creates a new LabelStatistics.
NewResourceStatistics creates a new ResourceStatistics.
NewTopN returns a k-dimensional TopN with given TTL.
# Constants
Different Container statistics kinds.
Different Container statistics kinds.
Different Container statistics kinds.
ContainerHeartBeatReportInterval is the heartbeat report interval of a container.
Different Container statistics kinds.
Different Container statistics kinds.
Different Container statistics kinds.
Different Container statistics kinds.
Different Container statistics kinds.
DefaultAotSize is default size of average over time.
DefaultReadMfSize is default size of read median filter.
DefaultWriteMfSize is default size of write median filter.
resource status type.
resource status type.
resource status type.
HotResourceReportMinInterval is used for the simulator and test.
HotThresholdRatio is used to calculate hot thresholds.
resource status type.
resource status type.
resource status type.
resource status type.
Flags for flow.
ResourceHeartBeatReportInterval is the heartbeat report interval of a resource.
TopNN is the threshold which means we can get hot threshold from store.
Flags for flow.
# Variables
Denoising is an option to calculate flow base on the real heartbeats.
# Structs
ContainerHotPeersInfos is used to get human-readable description for hot resources.
ContainersStats is a cache hold hot resources.
HotCache is a cache hold hot resources.
HotPeersStat records all hot resources statistics.
HotPeerStat records each hot peer's statistics.
HotStat contains cluster's hotspot statistics.
LabelStatistics is the statistics of the level of labels.
ResourceStatistics is used to record the status of resources.
ResourceStats records a list of resources' statistics and distribution status.
RollingContainerStats are multiple sets of recent historical records with specified windows size.
TopN maintains the N largest items of multiple dimensions.
# Interfaces
ContainerStatInformer provides access to a shared informer of statistics.
ResourceStatInformer provides access to a shared informer of statistics.
TopNItem represents a single object in TopN.
# Type aliases
ContainerHotPeersStat is used to record the hot resource statistics group by container.
ContainerStatKind represents the statistics type of Container.
FlowKind is a identify Flow types.
ResourceStatisticType represents the type of the resource's status.