Skip to content

feat(descriptions): AWS Lambda function descriptions - #720

Open
pabloDeputter wants to merge 1 commit into
mainfrom
pablo/aws-lambda-span-descriptions
Open

pabloDeputter wants to merge 1 commit into
mainfrom
pablo/aws-lambda-span-descriptions

Conversation

@pabloDeputter

Copy link
Copy Markdown
Member

Description

Describes HTTP-triggered function.aws spans by the function and the route:
{{faas.name}} {{http.request.method}} {{http.route}}, e.g. checkout GET /orders/{id}. function.azure keeps its previous template as a separate description.

Why

Previously, the description was the function name, the same as the span name, so every HTTP route showed as function.aws checkout in the trace waterfall.

@vercel

vercel Bot commented Oct 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
sentry-conventions Ready Ready Preview Oct 14, 2026 3:09pm UTC

Request Review

@github-actions

Copy link
Copy Markdown

Semver Impact of This PR

🟡 Minor (new features)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

  • (attributes) Add http.request.duration by loewenheim in #697
  • (descriptions) AWS Lambda function descriptions by pabloDeputter in #720

Bug Fixes 🐛

  • (attributes) Apply consistent scrubbing across deprecations by mjq in #692

Internal Changes 🔧

  • (repo) Update CODEOWNERS to include @giortzisg by Lms24 in #708

🤖 This preview updates automatically when you update the PR.

@pabloDeputter
pabloDeputter marked this pull request as ready for review October 14, 2026 15:13

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 8032d1a. Configure here.

"name": "AWS Lambda function execution",
"brief": "The invocation of an AWS Lambda function.",
"ops": ["function.aws"],
"templates": ["{{faas.name}} {{http.request.method}} {{http.route}}"],

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing AWS description fallback templates

Medium Severity

The new function.aws description requires http.request.method and http.route with no fallback. A template only applies when every referenced attribute is present, so non-HTTP Lambda invocations no longer receive a description. The function.gcp rules in the same file fall back to faas.name.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 8032d1a. Configure here.

This branch was successfully deployed

1 active deployment
Preview — 8032d1a2 Deployed Oct 14, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant