Skip to content

fix(appsec): Add runtime family tag to appsec lambda span#9153

Merged
CarlesDD merged 1 commit into
masterfrom
ccapell/APPSEC-60752/fix-appsec-lambda-runtime
Jun 30, 2026
Merged

fix(appsec): Add runtime family tag to appsec lambda span#9153
CarlesDD merged 1 commit into
masterfrom
ccapell/APPSEC-60752/fix-appsec-lambda-runtime

Conversation

@CarlesDD

@CarlesDD CarlesDD commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

Adds a missing tag to appsec lambda span

Motivation

Align span tags with non-lambda appsec spans

@dd-octo-sts

dd-octo-sts Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Overall package size

Self size: 6.42 MB
Deduped: 7.49 MB
No deduping: 7.49 MB

Dependency sizes | name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 3.2.0 | 104.26 kB | 843.44 kB | | opentracing | 0.14.7 | 194.81 kB | 194.81 kB | | dc-polyfill | 0.1.11 | 25.74 kB | 25.74 kB |

🤖 This report was automatically generated by heaviest-objects-in-the-universe

@datadog-datadog-prod-us1

datadog-datadog-prod-us1 Bot commented Jun 30, 2026

Copy link
Copy Markdown

Tests

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 88.04% (-0.01%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 9f419d7 | Docs | Datadog PR Page | Give us feedback!

@pr-commenter

pr-commenter Bot commented Jun 30, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-06-30 12:31:41

Comparing candidate commit 9f419d7 in PR branch ccapell/APPSEC-60752/fix-appsec-lambda-runtime with baseline commit 038b5ba in branch master.

📊 Benchmarking dashboard

Found 0 performance improvements and 0 performance regressions! Performance is the same for 2242 metrics, 44 unstable metrics.

Explanation

This is an A/B test comparing a candidate commit's performance against that of a baseline commit. Performance changes are noted in the tables below as:

  • 🟩 = significantly better candidate vs. baseline
  • 🟥 = significantly worse candidate vs. baseline

We compute a confidence interval (CI) over the relative difference of means between metrics from the candidate and baseline commits, considering the baseline as the reference.

If the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD), the change is considered significant.

Feel free to reach out to #apm-benchmarking-platform on Slack if you have any questions.

More details about the CI and significant changes

You can imagine this CI as a range of values that is likely to contain the true difference of means between the candidate and baseline commits.

CIs of the difference of means are often centered around 0%, because often changes are not that big:

---------------------------------(------|---^--------)-------------------------------->
                              -0.6%    0%  0.3%     +1.2%
                                 |          |        |
         lower bound of the CI --'          |        |
sample mean (center of the CI) -------------'        |
         upper bound of the CI ----------------------'

As described above, a change is considered significant if the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD).

For instance, for an execution time metric, this confidence interval indicates a significantly worse performance:

----------------------------------------|---------|---(---------^---------)---------->
                                       0%        1%  1.3%      2.2%      3.1%
                                                  |   |         |         |
       significant impact threshold --------------'   |         |         |
                      lower bound of CI --------------'         |         |
       sample mean (center of the CI) --------------------------'         |
                      upper bound of CI ----------------------------------'

Unstable benchmarks

These benchmarks have a confidence interval too wide to call a change; treat them as noise rather than signal.

scenario:appsec-appsec-enabled-20

  • unstable execution_time [-193.095ms; +181.558ms] or [-5.184%; +4.874%]

scenario:appsec-appsec-enabled-24

  • unstable execution_time [-178.870ms; +185.952ms] or [-6.794%; +7.063%]

scenario:appsec-appsec-enabled-26

  • unstable execution_time [-201.969ms; +146.051ms] or [-8.142%; +5.888%]

scenario:appsec-appsec-enabled-with-attacks-26

  • unstable execution_time [-154.084ms; +161.027ms] or [-5.297%; +5.535%]

scenario:appsec-control-20

  • unstable execution_time [-163.825ms; +135.394ms] or [-9.450%; +7.810%]

scenario:appsec-control-24

  • unstable execution_time [-103.079ms; +106.116ms] or [-8.500%; +8.751%]

scenario:appsec-control-26

  • unstable execution_time [-110366.140µs; +110441.040µs] or [-9.167%; +9.173%]

scenario:debugger-line-probe-with-snapshot-default-24

  • unstable cpu_user_time [-2669.859ms; +2715.490ms] or [-31.424%; +31.961%]
  • unstable execution_time [-2702.136ms; +2760.406ms] or [-29.395%; +30.029%]
  • unstable instructions [-22760.0M instructions; +23247.8M instructions] or [-32.873%; +33.577%]
  • unstable max_rss_usage [-9657.941KB; +10616.341KB] or [-6.023%; +6.620%]
  • unstable throughput [-797.950op/s; +789.473op/s] or [-21.789%; +21.558%]

scenario:debugger-line-probe-with-snapshot-default-26

  • unstable cpu_user_time [-2110.954ms; +3280.636ms] or [-22.545%; +35.037%]
  • unstable execution_time [-2134.815ms; +3303.734ms] or [-21.211%; +32.825%]
  • unstable instructions [-19.0G instructions; +29.4G instructions] or [-24.409%; +37.800%]
  • unstable max_rss_usage [-6.458MB; +10.738MB] or [-4.062%; +6.754%]
  • unstable throughput [-717.690op/s; +474.618op/s] or [-21.998%; +14.548%]

scenario:debugger-line-probe-with-snapshot-minimal-24

  • unstable cpu_user_time [-1647.528ms; +524.144ms] or [-20.846%; +6.632%]
  • unstable execution_time [-1657.366ms; +545.583ms] or [-19.329%; +6.363%]
  • unstable instructions [-13.9G instructions; +4.5G instructions] or [-21.592%; +6.966%]
  • unstable throughput [-162.987op/s; +489.878op/s] or [-4.234%; +12.727%]

scenario:debugger-line-probe-with-snapshot-minimal-26

  • unstable cpu_user_time [-2893.786ms; +2987.664ms] or [-29.265%; +30.214%]
  • unstable execution_time [-2916.114ms; +3012.930ms] or [-27.598%; +28.515%]
  • unstable instructions [-25872.6M instructions; +26442.9M instructions] or [-31.257%; +31.946%]
  • unstable max_rss_usage [-9428.962KB; +8448.962KB] or [-5.837%; +5.231%]
  • unstable throughput [-671.416op/s; +638.019op/s] or [-21.171%; +20.118%]

scenario:debugger-line-probe-without-snapshot-24

  • unstable cpu_user_time [-1900.369ms; +3029.054ms] or [-23.984%; +38.228%]
  • unstable execution_time [-1909.747ms; +3047.341ms] or [-22.179%; +35.391%]
  • unstable instructions [-16.2G instructions; +25.8G instructions] or [-25.174%; +40.041%]
  • unstable max_rss_usage [-7.180MB; +10.853MB] or [-4.555%; +6.885%]
  • unstable throughput [-895.110op/s; +560.309op/s] or [-23.352%; +14.618%]

scenario:debugger-line-probe-without-snapshot-26

  • unstable cpu_user_time [-2.194s; +4.583s] or [-22.017%; +45.998%]
  • unstable execution_time [-2.279s; +4.673s] or [-21.387%; +43.848%]
  • unstable instructions [-18.9G instructions; +40.6G instructions] or [-22.662%; +48.668%]
  • unstable max_rss_usage [-6.862MB; +15.050MB] or [-4.273%; +9.373%]
  • unstable throughput [-1016.130op/s; +511.558op/s] or [-32.375%; +16.299%]

scenario:dogstatsd-with-tags-20

  • unstable cpu_user_time [-398.257ms; +240.841ms] or [-8.432%; +5.099%]
  • unstable execution_time [-398.930ms; +239.578ms] or [-8.311%; +4.991%]
  • unstable throughput [-82536.480op/s; +135837.323op/s] or [-4.721%; +7.769%]

scenario:plugin-graphql-long-with-depth-and-collapse-off-20

  • unstable max_rss_usage [-47.398MB; +21.208MB] or [-12.192%; +5.456%]

scenario:plugin-graphql-long-with-depth-off-20

  • unstable max_rss_usage [-5.365MB; +8.780MB] or [-4.104%; +6.716%]

scenario:plugin-graphql-long-with-depth-on-max-20

  • unstable cpu_user_time [-592.414ms; +771.284ms] or [-5.744%; +7.478%]
  • unstable execution_time [-596.762ms; +785.977ms] or [-5.639%; +7.427%]
  • unstable throughput [-5.233op/s; +4.167op/s] or [-6.875%; +5.475%]

@codecov

codecov Bot commented Jun 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.73%. Comparing base (038b5ba) to head (9f419d7).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #9153      +/-   ##
==========================================
- Coverage   93.73%   93.73%   -0.01%     
==========================================
  Files         892      892              
  Lines       51236    51236              
  Branches    11924    11924              
==========================================
- Hits        48026    48024       -2     
- Misses       3210     3212       +2     
Flag Coverage Δ
aiguard 34.87% <ø> (-0.08%) ⬇️
aiguard-integration 41.78% <ø> (ø)
apm-bucket-0 34.83% <ø> (-0.08%) ⬇️
apm-bucket-1 40.33% <ø> (-0.07%) ⬇️
apm-bucket-2 37.33% <ø> (-0.07%) ⬇️
apm-capabilities-tracing 48.68% <0.00%> (ø)
apm-integrations-aerospike 33.12% <ø> (-0.08%) ⬇️
apm-integrations-confluentinc-kafka-javascript 40.02% <ø> (-0.08%) ⬇️
apm-integrations-couchbase 33.24% <ø> (-0.08%) ⬇️
apm-integrations-http 41.95% <0.00%> (-0.07%) ⬇️
apm-integrations-kafkajs 40.26% <ø> (-0.12%) ⬇️
apm-integrations-next 29.50% <ø> (-0.04%) ⬇️
apm-integrations-prisma 35.03% <ø> (-0.07%) ⬇️
apm-integrations-tedious 33.89% <ø> (-0.08%) ⬇️
appsec 57.62% <100.00%> (-0.13%) ⬇️
appsec-express_fastify_graphql 53.65% <0.00%> (-0.08%) ⬇️
appsec-integration 36.22% <0.00%> (ø)
appsec-kafka_ldapjs_lodash 43.58% <ø> (-0.07%) ⬇️
appsec-mongodb-core_mongoose_mysql 48.74% <0.00%> (-0.06%) ⬇️
appsec-next 28.00% <ø> (-0.07%) ⬇️
appsec-node-serialize_passport_postgres 47.91% <0.00%> (-0.06%) ⬇️
appsec-sourcing_stripe_template 45.47% <0.00%> (-0.06%) ⬇️
debugger 44.08% <ø> (-0.33%) ⬇️
instrumentations-bucket-0 28.15% <ø> (-0.08%) ⬇️
instrumentations-bucket-1 37.40% <ø> (-0.07%) ⬇️
instrumentations-bucket-10 40.35% <0.00%> (-0.07%) ⬇️
instrumentations-bucket-11 27.95% <ø> (-0.08%) ⬇️
instrumentations-bucket-12 28.66% <ø> (-0.08%) ⬇️
instrumentations-bucket-13 27.78% <ø> (-0.08%) ⬇️
instrumentations-bucket-2 30.23% <ø> (-0.07%) ⬇️
instrumentations-bucket-3 35.90% <ø> (-0.07%) ⬇️
instrumentations-bucket-4 28.06% <ø> (-0.08%) ⬇️
instrumentations-bucket-5 36.27% <ø> (-0.07%) ⬇️
instrumentations-bucket-6 38.25% <ø> (-0.08%) ⬇️
instrumentations-bucket-7 36.01% <ø> (-0.07%) ⬇️
instrumentations-bucket-8 36.95% <ø> (-0.07%) ⬇️
instrumentations-bucket-9 39.45% <0.00%> (-0.07%) ⬇️
instrumentations-instrumentation-couchbase 46.54% <ø> (ø)
instrumentations-integration-esbuild 24.86% <ø> (ø)
llmobs-ai_anthropic_bedrock 39.53% <ø> (-0.07%) ⬇️
llmobs-google-genai_langchain_vertex-ai 36.97% <ø> (-0.06%) ⬇️
llmobs-openai 39.57% <ø> (-0.07%) ⬇️
llmobs-sdk 43.59% <ø> (-0.08%) ⬇️
master-coverage 93.73% <100.00%> (?)
openfeature 37.75% <ø> (ø)
openfeature-unit 50.39% <ø> (ø)
platform-core_esbuild_instrumentations-misc 23.36% <ø> (ø)
platform-integration 47.41% <ø> (ø)
platform-shimmer_unit-guardrails_webpack 18.89% <ø> (ø)
plugins-bucket-0 36.33% <ø> (-0.07%) ⬇️
plugins-bucket-1 39.59% <ø> (ø)
plugins-bucket-11 38.46% <ø> (-0.08%) ⬇️
plugins-bucket-17 39.15% <ø> (-0.07%) ⬇️
plugins-bucket-18 42.01% <ø> (-0.07%) ⬇️
plugins-bucket-19 39.56% <ø> (-0.07%) ⬇️
plugins-bucket-20 43.25% <ø> (-0.07%) ⬇️
plugins-bucket-4 37.71% <ø> (-0.07%) ⬇️
plugins-bullmq_cassandra_cookie 39.76% <ø> (-0.07%) ⬇️
plugins-cookie-parser_crypto_dd-trace-api 33.21% <ø> (-0.08%) ⬇️
plugins-fetch_fs_generic-pool 36.05% <ø> (-0.07%) ⬇️
plugins-google-cloud-pubsub_grpc_handlebars 43.10% <ø> (-0.07%) ⬇️
plugins-hapi_hono_ioredis 37.78% <ø> (-0.07%) ⬇️
plugins-jest_knex_langgraph 32.60% <ø> (-0.08%) ⬇️
plugins-ldapjs_light-my-request_limitd-client 27.84% <ø> (-0.08%) ⬇️
plugins-lodash_mariadb_memcached 35.17% <ø> (-0.08%) ⬇️
plugins-mongodb_mongodb-core_mongoose 36.30% <ø> (-0.09%) ⬇️
plugins-multer_mysql_mysql2 35.14% <ø> (-0.08%) ⬇️
plugins-nats_node-serialize_opensearch 37.14% <ø> (-0.02%) ⬇️
plugins-passport-http_pino_postgres 35.52% <ø> (-0.08%) ⬇️
plugins-process_pug_redis 34.26% <ø> (-0.09%) ⬇️
plugins-undici_url_valkey 35.87% <ø> (-0.08%) ⬇️
plugins-vm_winston_ws 37.55% <ø> (-0.08%) ⬇️
profiling 43.61% <ø> (-0.07%) ⬇️
serverless-aws-sdk-aws-sdk 33.29% <ø> (-0.07%) ⬇️
serverless-aws-sdk-bedrockruntime 32.16% <ø> (-0.07%) ⬇️
serverless-aws-sdk-client 37.21% <ø> (ø)
serverless-aws-sdk-dynamodb 34.14% <ø> (-0.07%) ⬇️
serverless-aws-sdk-eventbridge 27.24% <ø> (-0.07%) ⬇️
serverless-aws-sdk-kinesis 37.40% <ø> (-0.07%) ⬇️
serverless-aws-sdk-lambda 34.59% <ø> (-0.07%) ⬇️
serverless-aws-sdk-s3 32.59% <ø> (-0.07%) ⬇️
serverless-aws-sdk-serverless-peer-service 39.47% <ø> (-0.08%) ⬇️
serverless-aws-sdk-sns 38.25% <ø> (-0.07%) ⬇️
serverless-aws-sdk-sqs 37.99% <ø> (-0.07%) ⬇️
serverless-aws-sdk-stepfunctions 33.18% <ø> (-0.07%) ⬇️
serverless-aws-sdk-util 47.95% <ø> (ø)
serverless-bucket-0 39.45% <ø> (ø)
serverless-lambda 34.33% <ø> (-0.09%) ⬇️
test-optimization-cucumber 52.30% <ø> (+0.11%) ⬆️
test-optimization-cypress 49.52% <ø> (+0.06%) ⬆️
test-optimization-jest 55.40% <ø> (+0.13%) ⬆️
test-optimization-mocha 53.42% <ø> (+0.11%) ⬆️
test-optimization-playwright-playwright-atr 43.32% <ø> (+0.08%) ⬆️
test-optimization-playwright-playwright-efd 43.60% <ø> (+0.08%) ⬆️
test-optimization-playwright-playwright-final-status 43.73% <ø> (+0.08%) ⬆️
test-optimization-playwright-playwright-impacted-tests 43.15% <ø> (ø)
test-optimization-playwright-playwright-reporting 43.26% <ø> (+0.08%) ⬆️
test-optimization-playwright-playwright-test-management 44.71% <ø> (+0.08%) ⬆️
test-optimization-playwright-playwright-test-span 44.51% <ø> (+0.07%) ⬆️
test-optimization-selenium 45.28% <ø> (+0.06%) ⬆️
test-optimization-testopt 48.03% <ø> (+0.08%) ⬆️
test-optimization-vitest 50.62% <ø> (+0.07%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@CarlesDD
CarlesDD marked this pull request as ready for review June 30, 2026 12:47
@CarlesDD
CarlesDD requested a review from a team as a code owner June 30, 2026 12:47
@CarlesDD
CarlesDD merged commit 759c72c into master Jun 30, 2026
1342 of 1346 checks passed
@CarlesDD
CarlesDD deleted the ccapell/APPSEC-60752/fix-appsec-lambda-runtime branch June 30, 2026 13:27
This was referenced Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants