# Packages
Package otel implements conversion from Telemetry API events into OpenTelemetry trace spans.
# Functions
Decode consumes all logs from json array stream and send them to the provided channel.
Run runs the Processor.
No description provided by the author
No description provided by the author
WithDestinationAddr configures host and port for telemetry HTTP server to listen Lambda API accepts only "sandbox.localdomain" host.
No description provided by the author
No description provided by the author
# Constants
PhaseInit is a Phase when Lambda runs the function initialization in most cases.
PhaseInvoke is a Phase when Lambda may re-run the function initialization code during the invoke phase in some error cases.
SpanResponseDuration span describes how long it took your Lambda function to finish sending the entire response.
SpanResponseLatency span describes how long it took your Lambda function to start sending the response.
No description provided by the author
No description provided by the author
No description provided by the author
TypeExtension event is a log line from extension code.
TypeFunction event is a log line from function code.
TypePlatformExtension event is emitted when an extension registers with the extensions API.
TypePlatformInitReport event is a report of function initialization.
TypePlatformInitRuntimeDone event is emitted when function initialization completed.
TypePlatformInitStart event is emitted when function initialization started.
TypePlatformLogsDropped event is mmited when lambda dropped log entries.
TypePlatformReport event is a report of function invocation.
TypePlatformRuntimeDone event is emitted when the runtime finished processing an event with either success or failure.
TypePlatformStart event is emitted when function invocation started.
TypePlatformTelemetrySubscription event is emitted when an extension subscribed to the Telemetry API.
# Structs
Event object that the Lambda Telemetry API supports.
InitReportMetrics contains metrics about an initialization phase.
RecordPlatformExtension is generated when an extension registers with the extensions API.
RecordPlatformInitReport event contains an overall report of the function initialization phase.
RecordPlatformInitRuntimeDone event indicates that the function initialization phase has completed.
RecordPlatformInitStart event indicates that the function initialization phase has started.
RecordPlatformLogsDropped event contains information about dropped events.
RecordPlatformReport event contains an overall report of the function completed phase.
RecordPlatformRuntimeDone event indicates that the function invocation phase has completed.
RecordPlatformStart event indicates that the function invocation phase has started.
RecordPlatformTelemetrySubscription event contains information about an extension subscription.
ReportMetrics contains metrics about a completed phase.
RuntimeDoneMetrics contains metrics about an invocation phase.
Span represents a unit of work or operation in a trace.
TraceContext describes the properties of a trace.
# Type aliases
Phase describes the phase when the initialization step occurs.
RecordExtension event contains logs from the extension code.
RecordFunction event contains logs from the function code.
No description provided by the author
Status describes the status of an initialization or invocation phase.
Type details the types of Event objects that the Lambda Telemetry API supports.