#pragma once #include #include #include namespace DB { struct MetadataStorageMetrics { const ProfileEvents::Event directory_created = ProfileEvents::end(); const ProfileEvents::Event directory_removed = ProfileEvents::end(); CurrentMetrics::Metric directory_map_size = CurrentMetrics::end(); CurrentMetrics::Metric unique_filenames_count = CurrentMetrics::end(); CurrentMetrics::Metric file_count = CurrentMetrics::end(); template static MetadataStorageMetrics create() { return MetadataStorageMetrics{}; } }; }