package
1.5.7
Repository: https://github.com/elastic/apm-aws-lambda.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
NewBatch creates a new BatchData which can accept a maximum number of entries as specified by the arguments.
ProcessMetadata return a byte array containing the Metadata marshaled in JSON In case we want to update the Metadata values, usage of https://github.com/tidwall/sjson is advised.

# Variables

ErrBatchFull signfies that the batch has reached full capacity and cannot accept more entries.
ErrInvalidEncoding is returned for any APMData that is encoded with any encoding format.
ErrMetadataUnavailable is returned when a lambda data is added to the batch without metadata being set.

# Structs

APMData represents data to be sent to APMServer.
Batch manages the data that needs to be shipped to APM Server.
Invocation holds data for each function invocation and finalizes the data when `platform.report` type log is received for the specific invocation identified by request ID.