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.