collectors

package
v1.21.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2021 License: Apache-2.0 Imports: 7 Imported by: 24

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogMetricsCollector added in v1.13.0

func NewLogMetricsCollector(podStats func() ([]statsapi.PodStats, error)) metrics.StableCollector

NewLogMetricsCollector implements the metrics.StableCollector interface and exposes metrics about container's log volume size.

func NewResourceMetricsCollector added in v1.18.0

func NewResourceMetricsCollector(provider stats.SummaryProvider) metrics.StableCollector

NewResourceMetricsCollector returns a metrics.StableCollector which exports resource metrics

func NewVolumeStatsCollector

func NewVolumeStatsCollector(statsProvider serverstats.Provider) metrics.StableCollector

NewVolumeStatsCollector creates a volume stats metrics.StableCollector.

Types

This section is empty.

Jump to

Keyboard shortcuts

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