pub enum LambdaTelemetryRecord {
Function(String),
Extension(String),
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(String)
Function log records
Extension(String)
Extension log records
PlatformInitStart
Platform init start record
Fields
PlatformInitRuntimeDone
Platform init runtime done record
Fields
PlatformInitReport
Platform init start record
Fields
§
metrics: InitReportMetrics
Metrics
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 Clone for LambdaTelemetryRecord
impl Clone for LambdaTelemetryRecord
Source§fn clone(&self) -> LambdaTelemetryRecord
fn clone(&self) -> LambdaTelemetryRecord
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 LambdaTelemetryRecord
impl Debug for LambdaTelemetryRecord
Source§impl<'de> Deserialize<'de> for LambdaTelemetryRecord
impl<'de> Deserialize<'de> for LambdaTelemetryRecord
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 PartialEq for LambdaTelemetryRecord
impl PartialEq for LambdaTelemetryRecord
Source§impl Serialize for LambdaTelemetryRecord
impl Serialize for LambdaTelemetryRecord
impl StructuralPartialEq for LambdaTelemetryRecord
Auto Trait Implementations§
impl Freeze for LambdaTelemetryRecord
impl RefUnwindSafe for LambdaTelemetryRecord
impl Send for LambdaTelemetryRecord
impl Sync for LambdaTelemetryRecord
impl Unpin for LambdaTelemetryRecord
impl UnwindSafe for LambdaTelemetryRecord
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