collectors

package
v1.29.3 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 10 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCRIMetricsCollector added in v1.26.0

func NewCRIMetricsCollector(ctx context.Context, listPodSandboxMetricsFn func(context.Context) ([]*runtimeapi.PodSandboxMetrics, error), listMetricDescriptorsFn func(context.Context) ([]*runtimeapi.MetricDescriptor, error)) metrics.StableCollector

NewCRIMetricsCollector implements the metrics.Collector interface

func NewLogMetricsCollector added in v1.13.0

func NewLogMetricsCollector(podStats func(ctx context.Context) ([]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