You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Serverless spec has been updated for tracking entity relationships, and agents are now expected to add two attributes to Lambda traces and spans, if they're available: cloud.platform should be the string aws_lambda cloud.resource_id: the Lambda function's ARN, if available
Segments are defined in lib/serverless/aws-lambda.js, which is where we can add the cloud property containing these. ARN is available as the function's context.invokedFunctionArn.
Additional context
See the agent specs for Entity Relationships and AWS SDK.
The text was updated successfully, but these errors were encountered:
Description
The Serverless spec has been updated for tracking entity relationships, and agents are now expected to add two attributes to Lambda traces and spans, if they're available:
cloud.platform
should be the stringaws_lambda
cloud.resource_id
: the Lambda function's ARN, if availableSegments are defined in
lib/serverless/aws-lambda.js
, which is where we can add thecloud
property containing these. ARN is available as the function'scontext.invokedFunctionArn
.Additional context
See the agent specs for Entity Relationships and AWS SDK.
The text was updated successfully, but these errors were encountered: