pub trait OpenTelemetryProtocolInterceptor {
    type Error: ErrorExt;

    // Provided method
    fn pre_execute(
        &self,
        _query_ctx: QueryContextRef,
    ) -> Result<(), Self::Error> { ... }
}
Expand description

OpenTelemetryProtocolInterceptor can track life cycle of an open telemetry protocol request and customize or abort its execution at given point.

Required Associated Types§

source

type Error: ErrorExt

Provided Methods§

source

fn pre_execute(&self, _query_ctx: QueryContextRef) -> Result<(), Self::Error>

Implementations on Foreign Types§

source§

impl<E: ErrorExt> OpenTelemetryProtocolInterceptor for Option<OpenTelemetryProtocolInterceptorRef<E>>

§

type Error = E

source§

fn pre_execute(&self, query_ctx: QueryContextRef) -> Result<(), Self::Error>

Implementors§