Documentation ¶
Index ¶
- func NewCRIMetricsCollector(ctx context.Context, ...) metrics.StableCollector
- func NewLogMetricsCollector(podStats func(ctx context.Context) ([]statsapi.PodStats, error)) metrics.StableCollector
- func NewResourceMetricsCollector(provider stats.SummaryProvider) metrics.StableCollector
- func NewVolumeStatsCollector(statsProvider serverstats.Provider) metrics.StableCollector
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.
Click to show internal directories.
Click to hide internal directories.