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
PlatformInitRuntimeDone
Fields
initialization_type: InitType
Type of initialization
status: Status
Status of initalization
Platform init runtime done record
PlatformInitReport
Fields
initialization_type: InitType
Type of initialization
phase: InitPhase
Phase of initialisation
metrics: InitReportMetrics
Metrics
Platform init start record
PlatformStart
Record marking start of an invocation
PlatformRuntimeDone
Fields
request_id: String
Request identifier
status: Status
Status of the invocation
metrics: Option<RuntimeDoneMetrics>
Metrics corresponding to the runtime
tracing: Option<TraceContext>
Trace Context
Record marking the completion of an invocation
PlatformReport
Fields
request_id: String
Request identifier
status: Status
Status of the invocation
metrics: ReportMetrics
Metrics
tracing: Option<TraceContext>
Trace Context
Platfor report record
PlatformExtension
Extension-specific record
PlatformTelemetrySubscription
Telemetry processor-specific record
PlatformLogsDropped
Fields
reason: String
Reason for dropping the logs
dropped_records: u64
Number of records dropped
dropped_bytes: u64
Total size of the dropped records
Record generated when the telemetry processor is falling behind
Trait Implementations
sourceimpl Clone for LambdaTelemetryRecord
impl Clone for LambdaTelemetryRecord
sourcefn clone(&self) -> LambdaTelemetryRecord
fn clone(&self) -> LambdaTelemetryRecord
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for LambdaTelemetryRecord
impl Debug for LambdaTelemetryRecord
sourceimpl<'de> Deserialize<'de> for LambdaTelemetryRecord
impl<'de> Deserialize<'de> for LambdaTelemetryRecord
sourcefn 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
sourceimpl PartialEq<LambdaTelemetryRecord> for LambdaTelemetryRecord
impl PartialEq<LambdaTelemetryRecord> for LambdaTelemetryRecord
sourcefn eq(&self, other: &LambdaTelemetryRecord) -> bool
fn eq(&self, other: &LambdaTelemetryRecord) -> bool
impl StructuralPartialEq for LambdaTelemetryRecord
Auto Trait Implementations
impl RefUnwindSafe for LambdaTelemetryRecord
impl Send for LambdaTelemetryRecord
impl Sync for LambdaTelemetryRecord
impl Unpin for LambdaTelemetryRecord
impl UnwindSafe for LambdaTelemetryRecord
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more