On Wed, Aug 21, 2013 at 5:27 PM, Spyros Trigazis <[email protected]> wrote:

> Add "MonD data" sub-section.
>
> Signed-off-by: Spyros Trigazis <[email protected]>
> ---
>  doc/design-monitoring-agent.rst |    2 ++
>  doc/iallocator.rst              |   10 ++++++++++
>  2 files changed, 12 insertions(+)
>
> diff --git a/doc/design-monitoring-agent.rst
> b/doc/design-monitoring-agent.rst
> index c416758..9c4871b 100644
> --- a/doc/design-monitoring-agent.rst
> +++ b/doc/design-monitoring-agent.rst
> @@ -49,6 +49,8 @@ The monitoring agent system will report on the following
> basic information:
>  - Node OS CPU load average report
>  - Information from a plugin system
>
> +.. _monitoring-agent-format-of-the-report:
> +
>  Format of the report
>  --------------------
>
> diff --git a/doc/iallocator.rst b/doc/iallocator.rst
> index f62f549..be346dd 100644
> --- a/doc/iallocator.rst
> +++ b/doc/iallocator.rst
> @@ -325,6 +325,16 @@ As for ``node-evacuate``, it needs the following
> request arguments:
>    instances
>      a list of request dicts
>
> +MonD data
> ++++++++++
> +
> +Additional information is available from mond. Mond's data collectors
> +provide information that can help an allocator script make better
> +decisions when allocating a new instance. Mond's information may also be
> +accessible from a mock file mainly for testing purposes. The file will
> +be in JSON format and will present an array of :ref:`report objects
> +<monitoring-agent-format-of-the-report>`.
> +
>  Response message
>  ~~~~~~~~~~~~~~~~
>
> --
> 1.7.10.4
>
>
LGTM, thanks.

Another small design doc should be written to describe how you plan to use
this data to make actual decisions inside hail. But if you feel that before
making a final decision you prefer to write some code and try out different
algorithms, feel free to start with the code. Just send the design doc
together with the first patch, in that case.

Thanks,
Michele

-- 
Google Germany GmbH
Dienerstr. 12
80331 München

Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Graham Law, Christine Elizabeth Flores

Reply via email to