kubernetes: k8s.io/kubernetes/pkg/kubelet/metrics/collectors Index | Files

package collectors

import "k8s.io/kubernetes/pkg/kubelet/metrics/collectors"

Index

Package Files

log_metrics.go resource_metrics.go volume_stats.go

func NewLogMetricsCollector Uses

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 Uses

func NewResourceMetricsCollector(provider stats.SummaryProvider) metrics.StableCollector

NewResourceMetricsCollector returns a metrics.StableCollector which exports resource metrics

func NewVolumeStatsCollector Uses

func NewVolumeStatsCollector(statsProvider serverstats.Provider) metrics.StableCollector

NewVolumeStatsCollector creates a volume stats metrics.StableCollector.

Package collectors imports 7 packages (graph) and is imported by 2 packages. Updated 2020-10-01. Refresh now. Tools for package owners.