Skip to content

Add upstream S3 and DynamoDB pointers to native Lambda traces - #13253

Draft
joeyzhao2018 wants to merge 1 commit into
joey/lambda-08-dsm-flushfrom
joey/lambda-09-span-pointers
Draft

joeyzhao2018 wants to merge 1 commit into
joey/lambda-08-dsm-flushfrom
joey/lambda-09-span-pointers

Conversation

@joeyzhao2018

@joeyzhao2018 joeyzhao2018 commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

What Does This Do

Attach upstream S3 and DynamoDB span pointers to native Lambda traces with compatible hashing and direction, preserving downstream pointer behavior.

Motivation

Keep trigger linkage when invocation tracing moves into Java, including events without a trace parent.

Additional Notes

Retains first-record pointer selection. Uses the existing DD_TRACE_AWSADD_SPAN_POINTERS setting, including its established spelling.

Validation: Revised complete stack: 513 focused core tests, 12 forked Lambda tests and 40 handler tests passed; the handler total includes two zero-lifecycle-HTTP cases. Independent P3 lifecycle, P8b DSM and P10 legacy/native boundary checks also passed. Spotless applied. Core validation uses a local init script to omit an unused private container dependency; repository build settings are unchanged. Deployed certification remains pending.

Contributor Checklist

  • Focused local validation and formatting.
  • Required labels and Lambda ownership patterns retained.
  • Deployment, platform compatibility and performance gates before rollout.

Jira ticket: APMSVLS-689.

Previous: #13252

Next: #13254

@joeyzhao2018 joeyzhao2018 added type: feature Enhancements and improvements tag: serverless Serverless support inst: aws lambda AWS Lambda instrumentation tag: ai generated Largely based on code generated by an AI or LLM labels Nov 5, 2026
@dd-octo-sts

dd-octo-sts Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

🟢 Java Benchmark SLOs — All performance SLOs passed

Suite Status
Startup 🟢 pass

SLO thresholds are defined here based on automatically generated metrics. A warning is raised when results are within 5% of the threshold.

PR vs. master results
Scenario Candidate master Δ (95% CI of mean)
startup:insecure-bank:iast:Agent 13.93 s 14.00 s [-1.3%; +0.2%] (no difference)
startup:insecure-bank:tracing:Agent 12.91 s 13.02 s [-1.7%; -0.1%] (maybe better)
startup:petclinic:appsec:Agent 17.14 s 17.01 s [-0.1%; +1.5%] (no difference)
startup:petclinic:iast:Agent 16.43 s 17.12 s [-8.3%; +0.2%] (no difference)
startup:petclinic:profiling:Agent 16.79 s 16.80 s [-0.9%; +0.8%] (no difference)
startup:petclinic:sca:Agent 17.14 s 16.94 s [+0.6%; +1.8%] (maybe worse)
startup:petclinic:tracing:Agent 16.35 s 16.25 s [-0.3%; +1.5%] (no difference)

Commit: 592a194c · CI Pipeline · Benchmarking Platform UI


Load and DaCapo benchmarks can be triggered manually in the GitLab pipeline. Results will appear in the Benchmarking Platform UI after completion.

@datadog-prod-us1-5

datadog-prod-us1-5 Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

🎯 Code Coverage (details)
• Patch Coverage: 77.27%
• Overall Coverage: 60.20% (+0.81%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 592a194 | Docs | Give us feedback!

@joeyzhao2018
joeyzhao2018 force-pushed the joey/lambda-08-dsm-flush branch from 194069a to 6e59dad Compare November 6, 2026 11:37
@joeyzhao2018
joeyzhao2018 force-pushed the joey/lambda-09-span-pointers branch from 06dfa43 to 592a194 Compare November 6, 2026 11:37

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

inst: aws lambda AWS Lambda instrumentation tag: ai generated Largely based on code generated by an AI or LLM tag: serverless Serverless support type: feature Enhancements and improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant