Skip to content
Snippets Groups Projects
Commit ea322c27 authored by Michele Tartara's avatar Michele Tartara
Browse files

Describe format of the monitoring agent HTTP queries


The previous patch was incomplete when erroneously pushed.

This patch, originally intended as part of the previous one, fixes it.

Signed-off-by: default avatarMichele Tartara <mtartara@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent b166dcfc
No related branches found
No related tags found
No related merge requests found
...@@ -590,17 +590,22 @@ version 1. ...@@ -590,17 +590,22 @@ version 1.
If requested through GET, the null JSON value will be returned. If requested through GET, the null JSON value will be returned.
``/1/full`` ``/1/list/collectors``
+++++++++++ ++++++++++++++++++++++
The full report of all the data collectors, as described in the section Returns a list of tuples (kind, category, name) showing all the collectors
available in the system.
``/1/report/all``
+++++++++++++++++
A list of the reports of all the data collectors, as described in the section
`Format of the report`_. `Format of the report`_.
`Status reporting collectors`_ will provide their output in non-verbose format. `Status reporting collectors`_ will provide their output in non-verbose format.
The verbose format can be requested by adding the parameter ``verbose=1`` to the The verbose format can be requested by adding the parameter ``verbose=1`` to the
request. request.
``/[category]/[collector_name]`` ``/1/report/[category]/[collector_name]``
++++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++++++++++++++++
Returns the report of the collector ``[collector_name]`` that belongs to the Returns the report of the collector ``[collector_name]`` that belongs to the
specified ``[category]``. specified ``[category]``.
...@@ -689,7 +694,6 @@ impact functionality. ...@@ -689,7 +694,6 @@ impact functionality.
The libekg library should be looked at for easily providing metrics in The libekg library should be looked at for easily providing metrics in
json format. json format.
Implementation order Implementation order
-------------------- --------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment