Description
Crete an instrumentation module implementing RequestHandler and RequestStreamHandler in the com.amazonaws:aws-lambda-java-events library to creata a transaction based on the agent spec.
In addition the instrumentation should capture the following metadata to be added into telemetry payloads according to the agent spec:
- Function version which should be captured in the
function_version field
- Function ARN which should be captured in the
arn field
If those fields are not available, they should be configurable via our agent config and defaults should be provided.
Link to the agent spec is inside the JIRA ticket