[Pkg-ganeti-devel] [ganeti] 81/165: Add sum of relative reserved memory to the cluster metrics
Apollon Oikonomopoulos
apoikos at moszumanska.debian.org
Tue Aug 11 13:53:15 UTC 2015
This is an automated email from the git hooks/post-receive script.
apoikos pushed a commit to branch master
in repository ganeti.
commit 14f744ad155e9ad7b7c2ab03448070bd35d1e946
Author: Klaus Aehlig <aehlig at google.com>
Date: Mon Mar 16 16:41:53 2015 +0100
Add sum of relative reserved memory to the cluster metrics
Signed-off-by: Klaus Aehlig <aehlig at google.com>
Reviewed-by: Petr Pudlak <pudlak at google.com>
---
src/Ganeti/HTools/Cluster.hs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/Ganeti/HTools/Cluster.hs b/src/Ganeti/HTools/Cluster.hs
index 351d81b..b62a426 100644
--- a/src/Ganeti/HTools/Cluster.hs
+++ b/src/Ganeti/HTools/Cluster.hs
@@ -382,6 +382,7 @@ detailedCVInfoExt = [ ((0.5, "free_mem_cv"), (getStdDevStatistics, True))
, (getStdDevStatistics, True))
, ((0.5, "spindles_cv_forth"), (getStdDevStatistics, True))
, ((1, "location_score"), (getSumStatistics, True))
+ , ((0.25, "reserved_mem_rtotal"), (getSumStatistics, True))
]
-- | The names and weights of the individual elements in the CV list.
@@ -430,6 +431,7 @@ compDetailedCVNode node =
, pri_tags, spindles
, memF, dskF, cpuF, spindlesF
, location_score
+ , res
]
-- | Compute the statistics of a cluster.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ganeti/ganeti.git
More information about the Pkg-ganeti-devel
mailing list