pub trait PromStoreProtocolHandler {
    // Required methods
    fn write<'life0, 'async_trait>(
        &'life0 self,
        request: RowInsertRequests,
        ctx: QueryContextRef,
        with_metric_engine: bool,
    ) -> Pin<Box<dyn Future<Output = Result<Output>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn read<'life0, 'async_trait>(
        &'life0 self,
        request: ReadRequest,
        ctx: QueryContextRef,
    ) -> Pin<Box<dyn Future<Output = Result<PromStoreResponse>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn ingest_metrics<'life0, 'async_trait>(
        &'life0 self,
        metrics: Metrics,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn write<'life0, 'async_trait>( &'life0 self, request: RowInsertRequests, ctx: QueryContextRef, with_metric_engine: bool, ) -> Pin<Box<dyn Future<Output = Result<Output>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Handling prometheus remote write requests

source

fn read<'life0, 'async_trait>( &'life0 self, request: ReadRequest, ctx: QueryContextRef, ) -> Pin<Box<dyn Future<Output = Result<PromStoreResponse>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Handling prometheus remote read requests

source

fn ingest_metrics<'life0, 'async_trait>( &'life0 self, metrics: Metrics, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Handling push gateway requests

Implementors§