Safe Haskell | None |
---|
Implementation of the cluster metric
- data NodeValues = NodeValues {
- nv_free_mem_cv :: Double
- nv_free_disk_cv :: Double
- nv_vcpu_ratio_cv :: Double
- nv_spindles_cv :: Double
- nv_fail_n1 :: Double
- nv_reserved_mem_cv :: Double
- nv_offline_all_cnt :: Double
- nv_offline_pri_cnt :: Double
- nv_cpu_load_cv :: Double
- nv_mem_load_cv :: Double
- nv_disk_load_cv :: Double
- nv_net_load_cv :: Double
- nv_pri_tags_score :: Double
- nv_location_score :: Double
- nv_location_exclusion_score :: MapData
- nv_free_mem_cv_forth :: Double
- nv_free_disk_cv_forth :: Double
- nv_vcpu_ratio_cv_forth :: Double
- nv_spindles_cv_forth :: Double
- nv_reserved_mem_rtotal :: Double
- data ClusterStatistics = ClusterStatistics {
- cs_free_mem_cv :: StdDevStat
- cs_free_disk_cv :: StdDevStat
- cs_vcpu_ratio_cv :: StdDevStat
- cs_spindles_cv :: SumStat
- cs_fail_n1 :: SumStat
- cs_reserved_mem_cv :: StdDevStat
- cs_offline_all_cnt :: SumStat
- cs_offline_pri_cnt :: SumStat
- cs_cpu_load_cv :: StdDevStat
- cs_mem_load_cv :: StdDevStat
- cs_disk_load_cv :: StdDevStat
- cs_net_load_cv :: StdDevStat
- cs_pri_tags_score :: SumStat
- cs_location_score :: SumStat
- cs_location_exclusion_score :: MapStat
- cs_free_mem_cv_forth :: StdDevStat
- cs_free_disk_cv_forth :: StdDevStat
- cs_vcpu_ratio_cv_forth :: StdDevStat
- cs_spindles_cv_forth :: SumStat
- cs_reserved_mem_rtotal :: SumStat
- optimalCVScore :: List -> Double
- showClusterStatistics :: String -> ClusterStatistics -> String
- compCVfromStats :: ClusterStatistics -> Double
- updateClusterStatistics :: ClusterStatistics -> (Node, Node) -> ClusterStatistics
- compClusterStatistics :: [Node] -> ClusterStatistics
- getNodeValues :: Node -> NodeValues
- updateClusterStatisticsTwice :: ClusterStatistics -> (Node, Node) -> (Node, Node) -> ClusterStatistics
- compCVNodes :: [Node] -> Double
- compCV :: List -> Double
- printStats :: String -> List -> String
Documentation
data NodeValues Source
NodeValues | |
|
data ClusterStatistics Source
optimalCVScore :: List -> DoubleSource
showClusterStatistics :: String -> ClusterStatistics -> StringSource
compCVfromStats :: ClusterStatistics -> DoubleSource
updateClusterStatisticsTwice :: ClusterStatistics -> (Node, Node) -> (Node, Node) -> ClusterStatisticsSource
Update a cluster statistics twice.
compCVNodes :: [Node] -> DoubleSource
Compute the total cluster store given the nodes.
compCV :: List -> DoubleSource
Wrapper over compCVNodes
for callers that have a List
.
printStats :: String -> List -> StringSource
Shows statistics for a given node list.