pub trait OpenTelemetryProtocolHandler: PipelineHandler {
// 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,
table_name: String,
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§
sourcefn 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 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
sourcefn traces<'life0, 'async_trait>(
&'life0 self,
request: ExportTraceServiceRequest,
table_name: String,
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,
table_name: String,
ctx: QueryContextRef,
) -> Pin<Box<dyn Future<Output = Result<Output>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Handling opentelemetry traces request