Versions in this module Expand all Collapse all v1 v1.16.3 Oct 23, 2019 Changes in this version + const ActiveConfigKey + const AssignedConfigKey + const CgroupManagerOperationsKey + const ConfigErrorKey + const ConfigResourceVersionLabelKey + const ConfigSourceLabelKey + const ConfigSourceLabelValueLocal + const ConfigUIDLabelKey + const DeprecatedCgroupManagerOperationsKey + const DeprecatedDevicePluginAllocationLatencyKey + const DeprecatedDevicePluginRegistrationCountKey + const DeprecatedEvictionStatsAgeKey + const DeprecatedPLEGRelistIntervalKey + const DeprecatedPLEGRelistLatencyKey + const DeprecatedPodStartLatencyKey + const DeprecatedPodWorkerLatencyKey + const DeprecatedPodWorkerStartLatencyKey + const DeprecatedRuntimeOperationsErrorsKey + const DeprecatedRuntimeOperationsKey + const DeprecatedRuntimeOperationsLatencyKey + const DevicePluginAllocationDurationKey + const DevicePluginRegistrationCountKey + const EvictionStatsAgeKey + const EvictionsKey + const KubeletConfigKeyLabelKey + const KubeletSubsystem + const LastKnownGoodConfigKey + const NodeLabelKey + const NodeNameKey + const PLEGDiscardEventsKey + const PLEGRelistDurationKey + const PLEGRelistIntervalKey + const PodStartDurationKey + const PodWorkerDurationKey + const PodWorkerStartDurationKey + const PreemptionsKey + const RunPodSandboxDurationKey + const RunPodSandboxErrorsKey + const RuntimeOperationsDurationKey + const RuntimeOperationsErrorsKey + const RuntimeOperationsKey + const VolumeStatsAvailableBytesKey + const VolumeStatsCapacityBytesKey + const VolumeStatsInodesFreeKey + const VolumeStatsInodesKey + const VolumeStatsInodesUsedKey + const VolumeStatsUsedBytesKey + var ActiveConfig = metrics.NewGaugeVec(&metrics.GaugeOpts{ ... }, []string{ ... }) + var AssignedConfig = metrics.NewGaugeVec(&metrics.GaugeOpts{ ... }, []string{ ... }) + var CgroupManagerDuration = metrics.NewHistogramVec(&metrics.HistogramOpts{ ... }, []string{ ... }) + var ConfigError = metrics.NewGauge(&metrics.GaugeOpts{ ... }) + var ContainersPerPodCount = metrics.NewHistogram(&metrics.HistogramOpts{ ... }) + var DeprecatedCgroupManagerLatency = metrics.NewSummaryVec(&metrics.SummaryOpts{ ... }, []string{ ... }) + var DeprecatedDevicePluginAllocationLatency = metrics.NewSummaryVec(&metrics.SummaryOpts{ ... }, []string{ ... }) + var DeprecatedDevicePluginRegistrationCount = metrics.NewCounterVec(&metrics.CounterOpts{ ... }, []string{ ... }) + var DeprecatedEvictionStatsAge = metrics.NewSummaryVec(&metrics.SummaryOpts{ ... }, []string{ ... }) + var DeprecatedPLEGRelistInterval = metrics.NewSummary(&metrics.SummaryOpts{ ... }) + var DeprecatedPLEGRelistLatency = metrics.NewSummary(&metrics.SummaryOpts{ ... }) + var DeprecatedPodStartLatency = metrics.NewSummary(&metrics.SummaryOpts{ ... }) + var DeprecatedPodWorkerLatency = metrics.NewSummaryVec(&metrics.SummaryOpts{ ... }, []string{ ... }) + var DeprecatedPodWorkerStartLatency = metrics.NewSummary(&metrics.SummaryOpts{ ... }) + var DeprecatedRuntimeOperations = metrics.NewCounterVec(&metrics.CounterOpts{ ... }, []string{ ... }) + var DeprecatedRuntimeOperationsErrors = metrics.NewCounterVec(&metrics.CounterOpts{ ... }, []string{ ... }) + var DeprecatedRuntimeOperationsLatency = metrics.NewSummaryVec(&metrics.SummaryOpts{ ... }, []string{ ... }) + var DevicePluginAllocationDuration = metrics.NewHistogramVec(&metrics.HistogramOpts{ ... }, []string{ ... }) + var DevicePluginRegistrationCount = metrics.NewCounterVec(&metrics.CounterOpts{ ... }, []string{ ... }) + var EvictionStatsAge = metrics.NewHistogramVec(&metrics.HistogramOpts{ ... }, []string{ ... }) + var Evictions = metrics.NewCounterVec(&metrics.CounterOpts{ ... }, []string{ ... }) + var LastKnownGoodConfig = metrics.NewGaugeVec(&metrics.GaugeOpts{ ... }, []string{ ... }) + var NodeName = metrics.NewGaugeVec(&metrics.GaugeOpts{ ... }, []string{ ... }) + var PLEGDiscardEvents = metrics.NewCounterVec(&metrics.CounterOpts{ ... }, []string{}) + var PLEGRelistDuration = metrics.NewHistogram(&metrics.HistogramOpts{ ... }) + var PLEGRelistInterval = metrics.NewHistogram(&metrics.HistogramOpts{ ... }) + var PodStartDuration = metrics.NewHistogram(&metrics.HistogramOpts{ ... }) + var PodWorkerDuration = metrics.NewHistogramVec(&metrics.HistogramOpts{ ... }, []string{ ... }) + var PodWorkerStartDuration = metrics.NewHistogram(&metrics.HistogramOpts{ ... }) + var Preemptions = metrics.NewCounterVec(&metrics.CounterOpts{ ... }, []string{ ... }) + var RunPodSandboxDuration = metrics.NewHistogramVec(&metrics.HistogramOpts{ ... }, []string{ ... }) + var RunPodSandboxErrors = metrics.NewCounterVec(&metrics.CounterOpts{ ... }, []string{ ... }) + var RunningContainerCount = metrics.NewGaugeVec(&metrics.GaugeOpts{ ... }, []string{ ... }) + var RunningPodCount = metrics.NewGauge(&metrics.GaugeOpts{ ... }) + var RuntimeOperations = metrics.NewCounterVec(&metrics.CounterOpts{ ... }, []string{ ... }) + var RuntimeOperationsDuration = metrics.NewHistogramVec(&metrics.HistogramOpts{ ... }, []string{ ... }) + var RuntimeOperationsErrors = metrics.NewCounterVec(&metrics.CounterOpts{ ... }, []string{ ... }) + func Register(containerCache kubecontainer.RuntimeCache, collectors ...metrics.Collector) + func SetActiveConfig(source *corev1.NodeConfigSource) error + func SetAssignedConfig(source *corev1.NodeConfigSource) error + func SetConfigError(err bool) + func SetLastKnownGoodConfig(source *corev1.NodeConfigSource) error + func SetNodeName(name types.NodeName) + func SinceInMicroseconds(start time.Time) float64 + func SinceInSeconds(start time.Time) float64