metrics

package
v0.0.0-...-6850d53 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2024 License: Apache-2.0 Imports: 7 Imported by: 4

Documentation

Overview

Package metrics registers all the different collectors for container-related metrics.

Index

Constants

This section is empty.

Variables

View Source
var GetProvider = provider.GetProvider

GetProvider returns the metrics provider singleton

Functions

This section is empty.

Types

type Collector

type Collector = provider.Collector

Collector defines an interface allowing to get stats from a containerID.

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

type Provider

type Provider = provider.Provider

Provider interface allows to mock the metrics provider

type Runtime

type Runtime = provider.Runtime

Runtime is a typed string with all supported runtimes

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL