pub trait OpenTelemetryProtocolHandler: LogHandler {
    // Required methods
    fn metrics<'life0, 'async_trait>(
        &'life0 self,
        request: ExportMetricsServiceRequest,
        ctx: QueryContextRef,
    ) -> Pin<Box<dyn Future<Output = Result<Output>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn traces<'life0, 'async_trait>(
        &'life0 self,
        request: ExportTraceServiceRequest,
        ctx: QueryContextRef,
    ) -> Pin<Box<dyn Future<Output = Result<Output>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn logs<'life0, 'async_trait>(
        &'life0 self,
        request: ExportLogsServiceRequest,
        pipeline: PipelineWay,
        table_name: String,
        ctx: QueryContextRef,
    ) -> Pin<Box<dyn Future<Output = Result<Output>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

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

Handling opentelemetry metrics request

source

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

Handling opentelemetry traces request

source

fn logs<'life0, 'async_trait>( &'life0 self, request: ExportLogsServiceRequest, pipeline: PipelineWay, table_name: String, ctx: QueryContextRef, ) -> Pin<Box<dyn Future<Output = Result<Output>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§