Hi,

On Tue, 13 Oct 2015 at 10:49 'Klaus Aehlig' via ganeti-devel <
[email protected]> wrote:

> Add the new collector of the resident set size of kvm processes to
> the list of standard collectors supported by mond.
>
> Signed-off-by: Klaus Aehlig <[email protected]>
> ---
>  src/Ganeti/Constants.hs      | 1 +
>  src/Ganeti/DataCollectors.hs | 5 +++++
>  2 files changed, 6 insertions(+)
>
> diff --git a/src/Ganeti/Constants.hs b/src/Ganeti/Constants.hs
> index 34272dd..2e7e7ac 100644
> --- a/src/Ganeti/Constants.hs
> +++ b/src/Ganeti/Constants.hs
> @@ -5435,6 +5435,7 @@ dataCollectorNames =
>                        , dataCollectorLv
>                        , dataCollectorInstStatus
>                        , dataCollectorXenCpuLoad
> +                      , dataCollectorKvmRSS
>                        , dataCollectorDiagnose
>                        ]
>
> diff --git a/src/Ganeti/DataCollectors.hs b/src/Ganeti/DataCollectors.hs
> index f2cc5ce..fa35c62 100644
> --- a/src/Ganeti/DataCollectors.hs
> +++ b/src/Ganeti/DataCollectors.hs
> @@ -44,6 +44,7 @@ import qualified Ganeti.DataCollectors.Diagnose as
> Diagnose
>  import qualified Ganeti.DataCollectors.Diskstats as Diskstats
>  import qualified Ganeti.DataCollectors.Drbd as Drbd
>  import qualified Ganeti.DataCollectors.InstStatus as InstStatus
> +import qualified Ganeti.DataCollectors.KvmRSS as KvmRSS
>  import qualified Ganeti.DataCollectors.Lv as Lv
>  import qualified Ganeti.DataCollectors.XenCpuLoad as XenCpuLoad
>  import Ganeti.DataCollectors.Types (DataCollector(..),ReportBuilder(..))
> @@ -56,6 +57,7 @@ collectors :: [DataCollector]
>  collectors =
>    [ cpuLoadCollector
>    , xenCpuLoadCollector
> +  , kvmRSSCollector
>    , diskStatsCollector
>    , drdbCollector
>    , instStatusCollector
> @@ -97,3 +99,6 @@ collectors =
>        DataCollector XenCpuLoad.dcName XenCpuLoad.dcCategory
> XenCpuLoad.dcKind
>          (StatefulR XenCpuLoad.dcReport) (Just XenCpuLoad.dcUpdate)
> activeConfig
>          updateInterval
> +    kvmRSSCollector =
> +      DataCollector KvmRSS.dcName KvmRSS.dcCategory KvmRSS.dcKind
> +        (StatelessR KvmRSS.dcReport) Nothing activeConfig updateInterval
> --
> 2.6.0.rc2.230.g3dd15c0
>
>
LGTM, thanks
-- 

Helga Velroyen
Software Engineer
[email protected]

Google Germany GmbH
Dienerstraße 12
80331 München

Geschäftsführer: Matthew Scott Sucherman, Paul Terence Manicle
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg

Diese E-Mail ist vertraulich. Wenn Sie nicht der richtige Adressat sind,
leiten Sie diese bitte nicht weiter, informieren Sie den Absender und
löschen Sie die E-Mail und alle Anhänge. Vielen Dank.

This e-mail is confidential. If you are not the right addressee please do
not forward it, please inform the sender, and please erase this e-mail
including any attachments. Thanks.

Reply via email to