Trait servers::prometheus_handler::PrometheusHandler

source ·
pub trait PrometheusHandler {
    // Required methods
    fn do_query<'life0, 'life1, 'async_trait>(
        &'life0 self,
        query: &'life1 PromQuery,
        query_ctx: QueryContextRef,
    ) -> Pin<Box<dyn Future<Output = Result<Output>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn catalog_manager(&self) -> CatalogManagerRef;
}

Required Methods§

source

fn do_query<'life0, 'life1, 'async_trait>( &'life0 self, query: &'life1 PromQuery, query_ctx: QueryContextRef, ) -> Pin<Box<dyn Future<Output = Result<Output>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn catalog_manager(&self) -> CatalogManagerRef

Implementors§