package
1.49.0
Repository: https://github.com/pureweb/ecs-amazon-agent.git
Documentation: pkg.go.dev

# Packages

Package mock_stats is a generated GoMock package.
No description provided by the author

# Functions

NewDockerStatsEngine creates a new instance of the DockerStatsEngine object.
NewQueue creates a queue.

# Constants

BytesInMiB is the number of bytes in a MebiByte.
No description provided by the author
No description provided by the author

# Variables

EmptyHealthMetricsError indicates an error for a task when there are no container health metrics to report.
EmptyMetricsError indicates an error for a task when there are no container metrics to report.

# 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.
No description provided by the author
NetworkStats contains the network stats information for a container.
No description provided by the author
Queue abstracts a queue using UsageStats slice.
StatsContainer abstracts methods to gather and aggregate utilization data for a container.
StatsTask abstracts methods to gather and aggregate network data for a task.
TaskMetadata contains meta-data information for a task.
UsageStats abstracts the format in which the queue stores data.

# Interfaces

Engine defines methods to be implemented by the engine struct.