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
Fields
Platform init start record
PlatformInitRuntimeDone
Fields
Platform init runtime done record
PlatformInitReport
Fields
§
metrics: InitReportMetrics
Metrics
Platform init start record
PlatformStart
Fields
§
tracing: Option<TraceContext>
Trace Context
Record marking start of an invocation
PlatformRuntimeDone
Fields
§
metrics: Option<RuntimeDoneMetrics>
Metrics corresponding to the runtime
§
tracing: Option<TraceContext>
Trace Context
Record marking the completion of an invocation
PlatformReport
Platfor report record
PlatformExtension
Fields
Extension-specific record
PlatformTelemetrySubscription
Fields
Telemetry processor-specific record
PlatformLogsDropped
Fields
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 copy 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<LambdaTelemetryRecord> for LambdaTelemetryRecord
impl PartialEq<LambdaTelemetryRecord> for LambdaTelemetryRecord
source§fn eq(&self, other: &LambdaTelemetryRecord) -> bool
fn eq(&self, other: &LambdaTelemetryRecord) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.