From: Laura Flores Date: Tue, 8 Feb 2022 00:42:37 +0000 (+0000) Subject: mgr/telemetry: update `basic_pool_usage` collection desc X-Git-Tag: v18.0.0~1386^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c71a54ec1ab804de8408bdf39fe8727192d23492;p=ceph.git mgr/telemetry: update `basic_pool_usage` collection desc - Added the word "default" since we are only collecting default pool applications - Removed the word "data" since we are actually collecting usage *statistics* Signed-off-by: Laura Flores --- diff --git a/doc/mgr/telemetry.rst b/doc/mgr/telemetry.rst index 9ef993a909e..e0498e5c326 100644 --- a/doc/mgr/telemetry.rst +++ b/doc/mgr/telemetry.rst @@ -186,7 +186,7 @@ List all collections with:: NAME STATUS DESC basic_base REPORTING Basic information about the cluster (capacity, number and type of daemons, version, etc.) basic_mds_metadata NOT REPORTING: NOT OPTED-IN MDS metadata - basic_pool_usage NOT REPORTING: NOT OPTED-IN Pool application and data usage metrics + basic_pool_usage NOT REPORTING: NOT OPTED-IN Default pool application and usage statistics crash_base REPORTING Information about daemon crashes (daemon type and version, backtrace, etc.) device_base REPORTING Information about device health metrics ident_base NOT REPORTING: CHANNEL ident IS OFF User-provided identifying information about the cluster diff --git a/src/pybind/mgr/telemetry/module.py b/src/pybind/mgr/telemetry/module.py index 66794b00f32..214c475e92a 100644 --- a/src/pybind/mgr/telemetry/module.py +++ b/src/pybind/mgr/telemetry/module.py @@ -106,7 +106,7 @@ MODULE_COLLECTION : List[Dict] = [ }, { "name": Collection.basic_pool_usage, - "description": "Pool application and data usage metrics", + "description": "Default pool application and usage statistics", "channel": "basic", "nag": False } @@ -910,7 +910,7 @@ class Module(MgrModule): 'cache_mode': pool['cache_mode'], } - # basic_pool_usage collection (1/2) + # basic_pool_usage collection if self.is_enabled_collection(Collection.basic_pool_usage): pool_data['application'] = [] for application in pool['application_metadata']: