pub enum LambdaTelemetryRecord<L = String> {
Function(L),
Extension(L),
PlatformInitStart {
initialization_type: InitType,
phase: InitPhase,
runtime_version: Option<String>,
runtime_version_arn: Option<String>,
},
PlatformInitRuntimeDone {
initialization_type: InitType,
phase: Option<InitPhase>,
status: Status,
error_type: Option<String>,
spans: Vec<Span>,
},
PlatformInitReport {
initialization_type: InitType,
phase: InitPhase,
metrics: InitReportMetrics,
spans: Vec<Span>,
},
PlatformStart {
request_id: String,
version: Option<String>,
tracing: Option<TraceContext>,
},
PlatformRuntimeDone {
request_id: String,
status: Status,
error_type: Option<String>,
metrics: Option<RuntimeDoneMetrics>,
spans: Vec<Span>,
tracing: Option<TraceContext>,
},
PlatformReport {
request_id: String,
status: Status,
error_type: Option<String>,
metrics: ReportMetrics,
spans: Vec<Span>,
tracing: Option<TraceContext>,
},
PlatformExtension {
name: String,
state: String,
events: Vec<String>,
},
PlatformTelemetrySubscription {
name: String,
state: String,
types: Vec<String>,
},
PlatformLogsDropped {
reason: String,
dropped_records: u64,
dropped_bytes: u64,
},
}Expand description
Record in a LambdaTelemetry entry
Variants§
Function(L)
Function log records
Extension(L)
Extension log records
PlatformInitStart
Platform init start record
Fields
PlatformInitRuntimeDone
Platform init runtime done record
Fields
PlatformInitReport
Platform init start record
Fields
§
metrics: InitReportMetricsMetrics
PlatformStart
Record marking start of an invocation
Fields
§
tracing: Option<TraceContext>Trace Context
PlatformRuntimeDone
Record marking the completion of an invocation
Fields
§
metrics: Option<RuntimeDoneMetrics>Metrics corresponding to the runtime
§
tracing: Option<TraceContext>Trace Context
PlatformReport
Platfor report record
PlatformExtension
Extension-specific record
Fields
PlatformTelemetrySubscription
Telemetry processor-specific record
Fields
PlatformLogsDropped
Record generated when the telemetry processor is falling behind
Trait Implementations§
Source§impl<L: Clone> Clone for LambdaTelemetryRecord<L>
impl<L: Clone> Clone for LambdaTelemetryRecord<L>
Source§fn clone(&self) -> LambdaTelemetryRecord<L>
fn clone(&self) -> LambdaTelemetryRecord<L>
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<L: Debug> Debug for LambdaTelemetryRecord<L>
impl<L: Debug> Debug for LambdaTelemetryRecord<L>
Source§impl<'de, L> Deserialize<'de> for LambdaTelemetryRecord<L>where
L: Deserialize<'de>,
impl<'de, L> Deserialize<'de> for LambdaTelemetryRecord<L>where
L: Deserialize<'de>,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<L: PartialEq> PartialEq for LambdaTelemetryRecord<L>
impl<L: PartialEq> PartialEq for LambdaTelemetryRecord<L>
Source§impl<L> Serialize for LambdaTelemetryRecord<L>where
L: Serialize,
impl<L> Serialize for LambdaTelemetryRecord<L>where
L: Serialize,
impl<L> StructuralPartialEq for LambdaTelemetryRecord<L>
Auto Trait Implementations§
impl<L> Freeze for LambdaTelemetryRecord<L>where
L: Freeze,
impl<L> RefUnwindSafe for LambdaTelemetryRecord<L>where
L: RefUnwindSafe,
impl<L> Send for LambdaTelemetryRecord<L>where
L: Send,
impl<L> Sync for LambdaTelemetryRecord<L>where
L: Sync,
impl<L> Unpin for LambdaTelemetryRecord<L>where
L: Unpin,
impl<L> UnsafeUnpin for LambdaTelemetryRecord<L>where
L: UnsafeUnpin,
impl<L> UnwindSafe for LambdaTelemetryRecord<L>where
L: UnwindSafe,
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