# 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.
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.
DockerContainerMetadataResolver implements ContainerMetadataResolver for DockerTaskEngine.
DockerStatsEngine is used to monitor docker container events and to report utlization metrics of the same.
Queue abstracts a queue using UsageStats slice.
StatsContainer abstracts methods to gather and aggregate utilization data for a container.
UsageStats abstracts the format in which the queue stores data.
# Interfaces
Engine defines methods to be implemented by the engine struct.