]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mon: extensible output format for health checks
authorJohn Spray <john.spray@redhat.com>
Fri, 28 Jul 2017 15:18:07 +0000 (11:18 -0400)
committerJohn Spray <john.spray@redhat.com>
Mon, 31 Jul 2017 13:33:12 +0000 (09:33 -0400)
commitf8068cd438002743a39300efc1f198684951236c
treef6c57fc34578d378a152d01052fde61008165fb3
parentfa70335db25f2b661b329d5d8f37039b77f2d1ae
mon: extensible output format for health checks

The summary field can be extended with the fields
used to construct the message (e.g. including
the down osd count in the message about osds
being down).

The detail entries, similarly, can be extended
with machine-readable fields like the PG ID
for a damaged PG.

For the moment all the internal stuff is just
strings still, but we change the output format
so that we don't break it later when we
add things.

Signed-off-by: John Spray <john.spray@redhat.com>
src/mon/health_check.h
src/pybind/mgr/dashboard/health.html