Skip to content

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

Open
pabloDeputter wants to merge 2 commits into
mainfrom
pablo/aws-lambda-span-descriptions
Open

pabloDeputter wants to merge 2 commits 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 16, 2026 12:04pm UTC

Request Review

@github-actions

github-actions Bot commented Oct 14, 2026 •

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
  • (names) Add queue.publish/create/receive/process/settle to messaging span names by pabloDeputter in #705
  • (ops) Add object.copy op by pabloDeputter in #706
  • Add view.render op by alexander-alderman-webb in #699

Bug Fixes 🐛

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

Internal Changes 🔧

  • (repo) Update CODEOWNERS to include @giortzisg by Lms24 in #708
  • Deprecate gen_ai.responses in favor of gen_ai.chat by alexander-alderman-webb in #703
  • Add deprecated messaging ops set by the Python SDK by alexander-alderman-webb in #693
  • Add view.response.render op, deprecated in favor of view.render by alexander-alderman-webb in #700
  • Add event.django op, deprecated in favor of function by alexander-alderman-webb in #698

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

Comment thread model/description/faas.json Outdated

@Lms24 Lms24 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This should be okay, given that (for better or worse) JS doesn't set the request method and route parameters. If we did set it, it would break our existing descriptions which users could filter/alert/build dashboards on.

That being said, I think its fine to include this information in the description, as that makes it more ... descriptive 😅

@pabloDeputter

Copy link
Copy Markdown
Member Author

Thanks! Yeah for now python doesn't set it as well, but it will be added in 3.0 and added in the migration guide 👌

This branch was successfully deployed

1 active deployment
Preview — 89b57df1 Deployed Oct 16, 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.

2 participants