pub trait MonitoringRepository:
Send
+ Sync
+ Debug {
// Required methods
fn health_check<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_memory_tier_distribution<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<HashMap<String, i64>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn check_migration_failures<'life0, 'async_trait>(
&'life0 self,
hours: i64,
) -> Pin<Box<dyn Future<Output = Result<i64>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_connection_pool_stats<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<ConnectionPoolStats>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
Repository abstraction for monitoring operations