pub struct ApiGatewayV1Extractor;Expand description
Extractor for API Gateway REST API (v1) events.
Similar to v2 but handles the different event structure. Uses the globally configured OpenTelemetry propagator for trace context extraction.
Implementations§
Trait Implementations§
Source§impl Clone for ApiGatewayV1Extractor
impl Clone for ApiGatewayV1Extractor
Source§fn clone(&self) -> ApiGatewayV1Extractor
fn clone(&self) -> ApiGatewayV1Extractor
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ApiGatewayV1Extractor
impl Debug for ApiGatewayV1Extractor
Source§impl Default for ApiGatewayV1Extractor
impl Default for ApiGatewayV1Extractor
Source§fn default() -> ApiGatewayV1Extractor
fn default() -> ApiGatewayV1Extractor
Returns the “default value” for a type. Read more
Source§impl TraceContextExtractor<ApiGatewayProxyRequest> for ApiGatewayV1Extractor
impl TraceContextExtractor<ApiGatewayProxyRequest> for ApiGatewayV1Extractor
Source§fn extract_context(&self, event: &ApiGatewayProxyRequest) -> Context
fn extract_context(&self, event: &ApiGatewayProxyRequest) -> Context
Extracts parent context for creating child spans. Read more
Source§fn trigger_type(&self) -> &'static str
fn trigger_type(&self) -> &'static str
Returns the FaaS trigger type for semantic conventions. Read more
Source§fn span_name(
&self,
event: &ApiGatewayProxyRequest,
lambda_ctx: &LambdaContext,
) -> String
fn span_name( &self, event: &ApiGatewayProxyRequest, lambda_ctx: &LambdaContext, ) -> String
Generates span name based on event and Lambda context. Read more
Source§fn record_attributes(&self, event: &ApiGatewayProxyRequest, span: &Span)
fn record_attributes(&self, event: &ApiGatewayProxyRequest, span: &Span)
Records event-specific attributes on the span. Read more
Auto Trait Implementations§
impl Freeze for ApiGatewayV1Extractor
impl RefUnwindSafe for ApiGatewayV1Extractor
impl Send for ApiGatewayV1Extractor
impl Sync for ApiGatewayV1Extractor
impl Unpin for ApiGatewayV1Extractor
impl UnwindSafe for ApiGatewayV1Extractor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more