containers

package
v1.34.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2026 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container struct {
	ID          string
	Name        string
	DisplayName string
	Image       string
	Kind        Kind
	PID         uint32
	PIDs        []uint32

	StartedAt    time.Time
	RestartCount int64
	// contains filtered or unexported fields
}

func (*Container) Collect

func (c *Container) Collect(ch chan<- prometheus.Metric)

func (*Container) Describe

func (c *Container) Describe(ch chan<- *prometheus.Desc)

type Kind

type Kind string
const (
	KindService Kind = "service"
	KindDocker  Kind = "docker"
)

type Registry

type Registry struct {
	// contains filtered or unexported fields
}

func NewRegistry

func NewRegistry(discoveryInterval time.Duration) *Registry

func (*Registry) Start

func (r *Registry) Start(registerer prometheus.Registerer)

func (*Registry) Stop

func (r *Registry) Stop()

type Stats

type Stats struct {
	CPUSeconds     float64
	MemoryRSSBytes uint64
	IOReadBytes    uint64
	IOWriteBytes   uint64
	IOReadOps      uint64
	IOWriteOps     uint64
}

Jump to

Keyboard shortcuts

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