# Functions
NewDockerStatsEngine creates a new instance of the DockerStatsEngine object.
NewQueue creates a queue.
# Constants
BytesInMiB is the number of bytes in a MebiByte.
ContainerStatsBufferLength is the number of usage metrics stored in memory for a container.
DockerExecDriverPath points to the docker exec driver path.
SleepBetweenUsageDataCollection is the sleep duration between collecting usage data for a container.
# Structs
ContainerMetadata contains meta-data information for a container.
ContainerStats encapsulates the raw CPU and memory utilization from cgroup fs.
CronContainer abstracts methods to gather and aggregate utilization data for a container.
DockerContainerMetadataResolver implements ContainerMetadataResolver for DockerTaskEngine.
DockerStatsEngine is used to monitor docker container events and to report utlization metrics of the same.
LibcontainerStatsCollector implements ContainerStatsCollector.
Queue abstracts a queue using UsageStats slice.
UsageStats abstracts the format in which the queue stores data.
# Interfaces
ContainerStatsCollector defines methods to get container stats.
Engine defines methods to be implemented by the engine struct.