code: func Register(containerCache kubecontainer.RuntimeCache, collectors ...prometheus.Collector) {
  	// Register the metrics.
  	registerMetrics.Do(func() {
  		prometheus.MustRegister(NodeName)
  		prometheus.MustRegister(PodWorkerDuration)
  		prometheus.MustRegister(PodStartDuration)
  		prometheus.MustRegister(CgroupManagerDuration)
  		prometheus.MustRegister(PodWorkerStartDuration)
  		prometheus.MustRegister(ContainersPerPodCount)
  		prometheus.MustRegister(newPodAndContainerCollector(containerCache))
  		prometheus.MustRegister(PLEGRelistDuration)
  		prometheus.MustRegister(PLEGDiscardEvents)
  		prometheus.MustRegister(PLEGRelistInterval)
  		prometheus.MustRegister(RuntimeOperations)
  		prometheus.MustRegister(RuntimeOperationsDuration)
  		prometheus.MustRegister(RuntimeOperationsErrors)
  		prometheus.MustRegister(EvictionStatsAge)
  		prometheus.MustRegister(DevicePluginRegistrationCount)
  		prometheus.MustRegister(DevicePluginAllocationDuration)
  		prometheus.MustRegister(DeprecatedPodWorkerLatency)
  		prometheus.MustRegister(DeprecatedPodStartLatency)
  		prometheus.MustRegister(DeprecatedCgroupManagerLatency)
  		prometheus.MustRegister(DeprecatedPodWorkerStartLatency)
  		prometheus.MustRegister(DeprecatedPLEGRelistLatency)
  		prometheus.MustRegister(DeprecatedPLEGRelistInterval)
  		prometheus.MustRegister(DeprecatedRuntimeOperations)
  		prometheus.MustRegister(DeprecatedRuntimeOperationsLatency)
  		prometheus.MustRegister(DeprecatedRuntimeOperationsErrors)
  		prometheus.MustRegister(DeprecatedEvictionStatsAge)
  		prometheus.MustRegister(DeprecatedDevicePluginRegistrationCount)
  		prometheus.MustRegister(DeprecatedDevicePluginAllocationLatency)
  		if utilfeature.DefaultFeatureGate.Enabled(features.DynamicKubeletConfig) {
  			prometheus.MustRegister(AssignedConfig)
  			prometheus.MustRegister(ActiveConfig)
  			prometheus.MustRegister(LastKnownGoodConfig)
  			prometheus.MustRegister(ConfigError)
  		}
  		for _, collector := range collectors {
  			prometheus.MustRegister(collector)
  		}
  	})
  }
docs: // Register all metrics.