]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/telemetry: update `basic_pool_usage` collection desc
authorLaura Flores <lflores@redhat.com>
Tue, 8 Feb 2022 00:42:37 +0000 (00:42 +0000)
committerLaura Flores <lflores@redhat.com>
Mon, 14 Feb 2022 18:52:02 +0000 (18:52 +0000)
- 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 <lflores@redhat.com>
(cherry picked from commit c71a54ec1ab804de8408bdf39fe8727192d23492)

doc/mgr/telemetry.rst
src/pybind/mgr/telemetry/module.py

index 9ef993a909e3319a590b63a18da92b1269f12f16..e0498e5c326f6280c503dce68bd7e1a02cc132c1 100644 (file)
@@ -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
index 66794b00f32e27bc5580a38375e8881a58db3731..214c475e92a84709164a2ddebb393d2047a1e75e 100644 (file)
@@ -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']: