Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add ARN-tracking attributes to Lambda traces and spans #2586

Open
mrickard opened this issue Sep 17, 2024 · 1 comment
Open

feat: Add ARN-tracking attributes to Lambda traces and spans #2586

mrickard opened this issue Sep 17, 2024 · 1 comment
Labels

Comments

@mrickard
Copy link
Member

mrickard commented Sep 17, 2024

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 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.

@workato-integration
Copy link

@mrickard mrickard added the points: 3 A few days label Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Triage Needed: Unprioritized Features
Development

No branches or pull requests

1 participant