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 Default pool application and usage statistics
+ basic_usage_by_class NOT REPORTING: NOT OPTED-IN Default device class 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
perf_perf = 'perf_perf'
basic_mds_metadata = 'basic_mds_metadata'
basic_pool_usage = 'basic_pool_usage'
+ basic_usage_by_class = 'basic_usage_by_class'
MODULE_COLLECTION : List[Dict] = [
{
"description": "Default pool application and usage statistics",
"channel": "basic",
"nag": False
+ },
+ {
+ "name": Collection.basic_usage_by_class,
+ "description": "Default device class usage statistics",
+ "channel": "basic",
+ "nag": False
}
]
'total_bytes': df['stats']['total_bytes'],
'total_avail_bytes': df['stats']['total_avail_bytes']
}
- # basic_pool_usage collection (2/2)
- if self.is_enabled_collection(Collection.basic_pool_usage):
+ # basic_usage_by_class collection
+ if self.is_enabled_collection(Collection.basic_usage_by_class):
report['usage']['stats_by_class'] = {} # type: ignore
for device_class in df['stats_by_class']:
if device_class in ['hdd', 'ssd', 'nvme']: