Documentation ¶
Overview ¶
Package metrics registers all the different collectors for container-related metrics.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var GetProvider = provider.GetProvider
GetProvider returns the metrics provider singleton
Functions ¶
This section is empty.
Types ¶
type CollectorMetadata ¶
type CollectorMetadata = provider.CollectorMetadata
CollectorMetadata contains the characteristics of a collector to be registered with RegisterCollector
type ContainerCPUStats ¶
type ContainerCPUStats = provider.ContainerCPUStats
ContainerCPUStats stores CPU stats.
type ContainerIOStats ¶
type ContainerIOStats = provider.ContainerIOStats
ContainerIOStats store I/O statistics about a container.
type ContainerMemStats ¶
type ContainerMemStats = provider.ContainerMemStats
ContainerMemStats stores memory statistics.
type ContainerNetworkStats ¶
type ContainerNetworkStats = provider.ContainerNetworkStats
ContainerNetworkStats stores network statistics about a container per interface
type ContainerPIDStats ¶
type ContainerPIDStats = provider.ContainerPIDStats
ContainerPIDStats stores stats about threads & processes.
type ContainerStats ¶
type ContainerStats = provider.ContainerStats
ContainerStats wraps all container metrics
type DeviceIOStats ¶
type DeviceIOStats = provider.DeviceIOStats
DeviceIOStats stores Device IO stats.
type InterfaceNetStats ¶
type InterfaceNetStats = provider.InterfaceNetStats
InterfaceNetStats stores network statistics about a network interface
Directories ¶
Path | Synopsis |
---|---|
Package containerd implements the containerd metrics collector
|
Package containerd implements the containerd metrics collector |
Package cri implements the CRI metrics collector.
|
Package cri implements the CRI metrics collector. |
Package docker implements the Docker metrics collector.
|
Package docker implements the Docker metrics collector. |
Package ecsfargate implements the ECS Fargate metrics collector.
|
Package ecsfargate implements the ECS Fargate metrics collector. |
Package kubelet implements the Kubelet metrics collector.
|
Package kubelet implements the Kubelet metrics collector. |
Package provider defines the Provider interface which allows to get metrics collectors for the different container runtimes supported (Docker, containerd, etc.).
|
Package provider defines the Provider interface which allows to get metrics collectors for the different container runtimes supported (Docker, containerd, etc.). |
Package system implements the system metrics collector, which is based on Linux cgroups.
|
Package system implements the system metrics collector, which is based on Linux cgroups. |