]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/telemetry: improve output of `ceph telemetry collection ls`
authorYaarit Hatuka <yaarit@redhat.com>
Wed, 12 Jan 2022 04:36:27 +0000 (04:36 +0000)
committerYaarit Hatuka <yaarit@redhat.com>
Thu, 13 Jan 2022 21:54:07 +0000 (21:54 +0000)
commit77a032526dfce0b1864434fdb626f240639fc584
tree02996be776054b933188ad205a0dc6930449fc51
parentb651619aff999428a674666d7cef265fad14ba4a
mgr/telemetry: improve output of `ceph telemetry collection ls`

STATUS column now indicates whether a collection is being reported, and
the reasons why it's not (either the user is not opted-in to this
collection, or its channel is off).

Also, removed the ENROLLED and DEFAULT columns due to potential
confusion they may cause.

In case a user is not opted-in to certain collections, a message will
appear above the table with the missing collections:

    New collections are available:
    ['basic_base', 'basic_mds_metadata', 'crash_base', 'device_base',
    'ident_base', 'perf_perf']
    Run `ceph telemetry on` to opt-in to these collections.

Signed-off-by: Yaarit Hatuka <yaarit@redhat.com>
doc/mgr/telemetry.rst
src/pybind/mgr/telemetry/module.py