Documentation ¶
Index ¶
Constants ¶
View Source
const ( ContainerPlanningType containerTag = "planning_type" ContainerTime containerTag = "time" ContainerNamespace containerTag = "namespace" ContainerName containerTag = "name" ContainerPodName containerTag = "pod_name" ContainerGranularity containerTag = "granularity" ContainerPolicy containerField = "policy" ContainerPolicyTime containerField = "policy_time" ContainerResourceRequestCPU containerField = "resource_request_cpu" ContainerResourceRequestMemory containerField = "resource_request_memory" ContainerResourceLimitCPU containerField = "resource_limit_cpu" ContainerResourceLimitMemory containerField = "resource_limit_memory" ContainerInitialResourceRequestCPU containerField = "initial_resource_request_cpu" ContainerInitialResourceRequestMemory containerField = "initial_resource_request_memory" ContainerInitialResourceLimitCPU containerField = "initial_resource_limit_cpu" ContainerInitialResourceLimitMemory containerField = "initial_resource_limit_memory" ContainerStartTime containerField = "start_time" ContainerEndTime containerField = "end_time" ContainerTopControllerName containerField = "top_controller_name" ContainerTopControllerKind containerField = "top_controller_kind" ContainerPodTotalCost containerField = "pod_total_cost" )
View Source
const ( ContainerMetricKindLimit = "limit" ContainerMetricKindRequest = "request" ContainerMetricKindInitLimit = "initLimit" ContainerMetricKindInitRequest = "initRequest" )
View Source
const ( ControllerPlanningType controllerTag = "planning_type" ControllerTime controllerTag = "time" ControllerNamespace controllerTag = "namespace" ControllerName controllerTag = "name" ControllerType controllerTag = "type" ControllerKind controllerField = "kind" ControllerCurrentReplicas controllerField = "current_replicas" ControllerDesiredReplicas controllerField = "desired_replicas" ControllerCreateTime controllerField = "create_time" ControllerCurrentCPURequest controllerField = "current_cpu_requests" ControllerCurrentMEMRequest controllerField = "current_mem_requests" ControllerCurrentCPULimit controllerField = "current_cpu_limits" ControllerCurrentMEMLimit controllerField = "current_mem_limits" ControllerDesiredCPULimit controllerField = "desired_cpu_limits" ControllerDesiredMEMLimit controllerField = "desired_mem_limits" ControllerTotalCost controllerField = "total_cost" )
Variables ¶
View Source
var ( ContainerTags = []containerTag{ ContainerPlanningType, ContainerTime, ContainerNamespace, ContainerName, ContainerPodName, ContainerGranularity, } ContainerFields = []containerField{ ContainerPolicy, ContainerResourceRequestCPU, ContainerResourceRequestMemory, ContainerResourceLimitCPU, ContainerResourceLimitMemory, ContainerInitialResourceRequestCPU, ContainerInitialResourceRequestMemory, ContainerInitialResourceLimitCPU, ContainerInitialResourceLimitMemory, ContainerStartTime, ContainerEndTime, ContainerTopControllerName, ContainerTopControllerKind, } )
View Source
var ( // ControllerTags is list of tags of alameda_controller_recommendation measurement ControllerTags = []controllerTag{ ControllerTime, ControllerNamespace, ControllerName, ControllerType, } // ControllerFields is list of fields of alameda_controller_recommendation measurement ControllerField = []controllerField{ ControllerPlanningType, ControllerCurrentReplicas, ControllerDesiredReplicas, ControllerCreateTime, ControllerKind, ControllerCurrentCPURequest, ControllerCurrentMEMRequest, ControllerCurrentCPULimit, ControllerCurrentMEMLimit, ControllerDesiredCPULimit, ControllerDesiredMEMLimit, ControllerTotalCost, } )
View Source
var ( ContainerMetricKinds = []string{ ContainerMetricKindLimit, ContainerMetricKindRequest, ContainerMetricKindInitLimit, ContainerMetricKindInitRequest, } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.