# Constants
CGroupV1 is set for cgroups v1.
CGroupV2 is set for cgroups v2.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DefaultPollsPerMinute is the default number polls to perform per minute.
No description provided by the author
No description provided by the author
DefaultSampleBufferSize is the default number of samples to keep.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
DefaultContainerCacheSyncInterval is how frequently to sync the list of known containers.
No description provided by the author
Transformations to cgroup -> pod mapping.
DefaultMetricsReaderCPUPathsV1 is the default paths for reading cpu metrics on cgroupv1.
DefaultMetricsReaderMemoryPathsV1 is the default paths for reading memory metrics on cgroupv1.
DefaultMetricsReaderUnifiedPathV2 is the single unified path for reading all metrics on cgroupv2 On v2, the file tree is unified and we do not need to look for cpu/memory in subdirectories.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Buffer configures the window of buffered metric samples.
No description provided by the author
MetricsNodeSampler configures a metrics-node-sampler.
Reader configures how a single sample of cgroup metrics are read from the filesystem.
# Type aliases
CGroupVersion is the version of cgroups being used -- either v1 or v2.
MetricsFilepath is a filepath to walk for metrics -- e.g.
No description provided by the author