func Config() ResourceMetricsConfig {
	return ResourceMetricsConfig{
		NodeMetrics: []NodeResourceMetric{
			{
				Desc:    nodeCPUUsageDesc,
				ValueFn: getNodeCPUMetrics,
			},
			{
				Desc:    nodeMemoryUsageDesc,
				ValueFn: getNodeMemoryMetrics,
			},
		},
		ContainerMetrics: []ContainerResourceMetric{
			{
				Desc:    containerCPUUsageDesc,
				ValueFn: getContainerCPUMetrics,
			},
			{
				Desc:    containerMemoryUsageDesc,
				ValueFn: getContainerMemoryMetrics,
			},
		},
	}
}
// Config is the v1alpha1 resource metrics definition
Config is the v1alpha1 resource metrics definition
// Config is the v1alpha1 resource metrics definition
func Config() ResourceMetricsConfig {
	return ResourceMetricsConfig{
		NodeMetrics: []NodeResourceMetric{
			{
				Desc:    nodeCPUUsageDesc,
				ValueFn: getNodeCPUMetrics,
			},
			{
				Desc:    nodeMemoryUsageDesc,
				ValueFn: getNodeMemoryMetrics,
			},
		},
		ContainerMetrics: []ContainerResourceMetric{
			{
				Desc:    containerCPUUsageDesc,
				ValueFn: getContainerCPUMetrics,
			},
			{
				Desc:    containerMemoryUsageDesc,
				ValueFn: getContainerMemoryMetrics,
			},
		},
	}
}
func Config ( ) ResourceMetricsConfig { return ResourceMetricsConfig { NodeMetrics : [ ] NodeResourceMetric { { Desc : nodeCPUUsageDesc , ValueFn : getNodeCPUMetrics , } , { Desc : nodeMemoryUsageDesc , ValueFn : getNodeMemoryMetrics , } , } , ContainerMetrics : [ ] ContainerResourceMetric { { Desc : containerCPUUsageDesc , ValueFn : getContainerCPUMetrics , } , { Desc : containerMemoryUsageDesc , ValueFn : getContainerMemoryMetrics , } , } , } }
Config is the v1alpha1 resource metrics definition
Config is the v1alpha1 resource metrics definition