Skip to content

feat(tests): add span.kind=server assertion to integration tests#1098

Open
jchrostek-dd wants to merge 1 commit intomainfrom
john/lambda-span-service-kind
Open

feat(tests): add span.kind=server assertion to integration tests#1098
jchrostek-dd wants to merge 1 commit intomainfrom
john/lambda-span-service-kind

Conversation

@jchrostek-dd
Copy link
Contributor

Summary

  • Adds integration test assertions to verify span.kind=server is present on aws.lambda spans
  • Tests all four runtimes: Node.js, Python, Java, and .NET

Changes

  • Updated base.test.ts to assert custom.span.kind === 'server' for all runtime tests

Related PRs

  • DataDog/datadog-lambda-python: Add span.kind=server to aws.lambda spans
  • DataDog/datadog-lambda-js: Add span.kind=server to aws.lambda spans

Test plan

  • All span.kind=server assertions pass for Node.js, Python, Java, and .NET runtimes
  • Tests run against deployed Lambda functions in sandbox environment

🤖 Generated with Claude Code

Verify that aws.lambda spans include span.kind=server across all
runtimes (Node.js, Python, Java, .NET).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@jchrostek-dd jchrostek-dd requested a review from a team as a code owner March 13, 2026 11:52
@jchrostek-dd jchrostek-dd requested review from litianningdatadog and removed request for litianningdatadog March 13, 2026 11:52
@duncanista duncanista changed the title Add span.kind=server assertion to integration tests feat(tests): add span.kind=server assertion to integration tests Mar 13, 2026
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