• Home
  • Raw
  • Download

Lines Matching refs:MetricsStorage

75     Storage::Storage as MetricsStorage,
1027 storage_type: MetricsStorage, in do_table_size_query() argument
1043 MetricsStorage::DATABASE, in get_total_size()
1054 storage_type: MetricsStorage, in get_table_size() argument
1069 pub fn get_storage_stat(&mut self, storage_type: MetricsStorage) -> Result<StorageStats> { in get_storage_stat()
1073 MetricsStorage::DATABASE => self.get_total_size(), in get_storage_stat()
1074 MetricsStorage::KEY_ENTRY => { in get_storage_stat()
1077 MetricsStorage::KEY_ENTRY_ID_INDEX => { in get_storage_stat()
1080 MetricsStorage::KEY_ENTRY_DOMAIN_NAMESPACE_INDEX => { in get_storage_stat()
1083 MetricsStorage::BLOB_ENTRY => { in get_storage_stat()
1086 MetricsStorage::BLOB_ENTRY_KEY_ENTRY_ID_INDEX => { in get_storage_stat()
1089 MetricsStorage::KEY_PARAMETER => { in get_storage_stat()
1092 MetricsStorage::KEY_PARAMETER_KEY_ENTRY_ID_INDEX => { in get_storage_stat()
1095 MetricsStorage::KEY_METADATA => { in get_storage_stat()
1098 MetricsStorage::KEY_METADATA_KEY_ENTRY_ID_INDEX => { in get_storage_stat()
1101 MetricsStorage::GRANT => self.get_table_size(storage_type, "persistent", "grant"), in get_storage_stat()
1102 MetricsStorage::AUTH_TOKEN => { in get_storage_stat()
1113 MetricsStorage::BLOB_METADATA => { in get_storage_stat()
1116 MetricsStorage::BLOB_METADATA_BLOB_ENTRY_ID_INDEX => { in get_storage_stat()
5498 fn get_valid_statsd_storage_types() -> Vec<MetricsStorage> { in get_valid_statsd_storage_types()
5500 MetricsStorage::KEY_ENTRY, in get_valid_statsd_storage_types()
5501 MetricsStorage::KEY_ENTRY_ID_INDEX, in get_valid_statsd_storage_types()
5502 MetricsStorage::KEY_ENTRY_DOMAIN_NAMESPACE_INDEX, in get_valid_statsd_storage_types()
5503 MetricsStorage::BLOB_ENTRY, in get_valid_statsd_storage_types()
5504 MetricsStorage::BLOB_ENTRY_KEY_ENTRY_ID_INDEX, in get_valid_statsd_storage_types()
5505 MetricsStorage::KEY_PARAMETER, in get_valid_statsd_storage_types()
5506 MetricsStorage::KEY_PARAMETER_KEY_ENTRY_ID_INDEX, in get_valid_statsd_storage_types()
5507 MetricsStorage::KEY_METADATA, in get_valid_statsd_storage_types()
5508 MetricsStorage::KEY_METADATA_KEY_ENTRY_ID_INDEX, in get_valid_statsd_storage_types()
5509 MetricsStorage::GRANT, in get_valid_statsd_storage_types()
5510 MetricsStorage::AUTH_TOKEN, in get_valid_statsd_storage_types()
5511 MetricsStorage::BLOB_METADATA, in get_valid_statsd_storage_types()
5512 MetricsStorage::BLOB_METADATA_BLOB_ENTRY_ID_INDEX, in get_valid_statsd_storage_types()
5528 if let MetricsStorage::AUTH_TOKEN = t { in test_query_all_valid_table_sizes()
5547 increased_storage_types: Vec<MetricsStorage>, in assert_storage_increased() argument
5602 MetricsStorage::KEY_ENTRY, in test_verify_key_table_size_reporting()
5603 MetricsStorage::KEY_ENTRY_ID_INDEX, in test_verify_key_table_size_reporting()
5604 MetricsStorage::KEY_ENTRY_DOMAIN_NAMESPACE_INDEX, in test_verify_key_table_size_reporting()
5615 MetricsStorage::BLOB_ENTRY, in test_verify_key_table_size_reporting()
5616 MetricsStorage::BLOB_ENTRY_KEY_ENTRY_ID_INDEX, in test_verify_key_table_size_reporting()
5617 MetricsStorage::BLOB_METADATA, in test_verify_key_table_size_reporting()
5618 MetricsStorage::BLOB_METADATA_BLOB_ENTRY_ID_INDEX, in test_verify_key_table_size_reporting()
5627 vec![MetricsStorage::KEY_PARAMETER, MetricsStorage::KEY_PARAMETER_KEY_ENTRY_ID_INDEX], in test_verify_key_table_size_reporting()
5636 vec![MetricsStorage::KEY_METADATA, MetricsStorage::KEY_METADATA_KEY_ENTRY_ID_INDEX], in test_verify_key_table_size_reporting()
5644 let total = db.get_storage_stat(MetricsStorage::DATABASE)?.size; in test_verify_key_table_size_reporting()
5662 assert_storage_increased(&mut db, vec![MetricsStorage::AUTH_TOKEN], &mut working_stats); in test_verify_auth_table_size_reporting()
5686 assert_storage_increased(&mut db, vec![MetricsStorage::GRANT], &mut working_stats); in test_verify_grant_table_size_reporting()