Skip to content

fix(serverless): flush configured telemetry on Vercel - #9735

Open
wconti27 wants to merge 33 commits into
masterfrom
conti/vercel-waituntil-flush-callback
Open

fix(serverless): flush configured telemetry on Vercel#9735
wconti27 wants to merge 33 commits into
masterfrom
conti/vercel-waituntil-flush-callback

Conversation

@wconti27

@wconti27 wconti27 commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add one callback-based flushAll path for configured trace, OTLP log, and OTLP metric pipelines
  • retain Vercel requests through native waitUntil until telemetry delivery completes
  • verify traces, logs, and metrics through a real local intake round trip

Verification

  • npx mocha packages/dd-trace/test/serverless.spec.js packages/dd-trace/test/opentelemetry/logs.spec.js packages/dd-trace/test/opentelemetry/metrics.spec.js packages/datadog-plugin-http/test/server.spec.js (138 passing)
  • git diff --check
  • node --check for changed source files

Not yet deployed and verified on Vercel.

@dd-octo-sts

dd-octo-sts Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Overall package size

Self size: 8.24 MB
Deduped: 9.02 MB
No deduping: 9.02 MB

Dependency sizes | name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 3.3.3 | 125.43 kB | 445.14 kB | | opentracing | 0.14.7 | 194.81 kB | 194.81 kB | | https-proxy-agent | 7.0.6 | 27.71 kB | 101.18 kB | | dc-polyfill | 0.1.11 | 25.74 kB | 25.74 kB | | proxy-from-env | 2.1.0 | 15.64 kB | 15.64 kB |

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

@datadog-prod-us1-5

datadog-prod-us1-5 Bot commented Aug 7, 2026

Copy link
Copy Markdown

Pipelines  Tests

⚠️ Warnings

🚦 3 Pipeline jobs failed

System Tests | main / parametric / parametric (4) — ❄️ 1 known flaky test

View in Datadog · View in GitHub Actions

Connection reset by peer while checking if nodejs-test-client-b0b90a09b13253fe is alive.

↳ ❄️ tests.parametric.test_otel_logs.Test_FR11_Telemetry.test_telemetry_metrics[library_env0, parametric-nodejs] from system_tests_suite   View in Datadog

All Green | all-green

View in Datadog · View in GitHub Actions

DataDog/apm-reliability/dd-trace-js | benchmark-serverless

View in Datadog · View in GitLab

ℹ️ Info

No other issues found (see more)

❄️ No new flaky tests detected

🎯 Code Coverage (details)
Patch Coverage: 99.38%
Overall Coverage: 98.55% (+0.38%)

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 27b2693 | Docs | View more details | Give us feedback!

@codecov

codecov Bot commented Aug 7, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 99.37792% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 98.54%. Comparing base (6f638b1) to head (27b2693).

Files with missing lines Patch % Lines
...-trace/src/runtime_metrics/otlp_runtime_metrics.js 40.00% 3 Missing ⚠️
.../src/opentelemetry/otlp/otlp_http_exporter_base.js 98.43% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #9735      +/-   ##
==========================================
+ Coverage   98.17%   98.54%   +0.37%     
==========================================
  Files         981      984       +3     
  Lines      144762   145344     +582     
  Branches    12478    12852     +374     
==========================================
+ Hits       142118   143235    +1117     
+ Misses       2644     2109     -535     
Flag Coverage Δ
aiguard 57.20% <57.30%> (+<0.01%) ⬆️
aiguard-integration 55.21% <39.61%> (-0.05%) ⬇️
apm-bucket-0 57.37% <57.69%> (+<0.01%) ⬆️
apm-bucket-1 62.51% <57.30%> (-0.93%) ⬇️
apm-bucket-2 61.34% <57.30%> (+2.79%) ⬆️
apm-bucket-3 59.01% <57.30%> (?)
apm-capabilities-tracing 62.42% <99.37%> (+0.19%) ⬆️
apm-integrations-aerospike 55.10% <57.30%> (+0.01%) ⬆️
apm-integrations-confluentinc-kafka-javascript 60.30% <57.30%> (-0.02%) ⬇️
apm-integrations-couchbase 55.97% <57.30%> (+<0.01%) ⬆️
apm-integrations-http 61.10% <57.30%> (-0.02%) ⬇️
apm-integrations-kafkajs 60.84% <57.30%> (-0.02%) ⬇️
apm-integrations-next 58.62% <57.30%> (-0.01%) ⬇️
apm-integrations-prisma 58.09% <58.07%> (+<0.01%) ⬆️
apm-integrations-tedious ?
appsec 71.15% <57.69%> (-0.06%) ⬇️
appsec-express_fastify_graphql 68.61% <57.69%> (-0.05%) ⬇️
appsec-integration 49.52% <50.38%> (+<0.01%) ⬆️
appsec-kafka_ldapjs_lodash 62.60% <57.69%> (-0.03%) ⬇️
appsec-mongodb-core_mongoose_mysql 66.08% <57.69%> (-0.04%) ⬇️
appsec-next 56.05% <57.30%> (+<0.01%) ⬆️
appsec-node-serialize_passport_postgres 65.48% <57.69%> (-0.04%) ⬇️
appsec-sourcing_stripe_template 63.93% <57.69%> (-0.03%) ⬇️
debugger 63.36% <58.46%> (-0.05%) ⬇️
instrumentations-bucket-0 51.07% <56.92%> (+0.03%) ⬆️
instrumentations-bucket-1 58.86% <57.30%> (-0.01%) ⬇️
instrumentations-bucket-10 60.13% <57.30%> (-0.02%) ⬇️
instrumentations-bucket-11 60.78% <57.30%> (-0.02%) ⬇️
instrumentations-bucket-12 50.98% <56.92%> (+0.03%) ⬆️
instrumentations-bucket-13 51.83% <56.92%> (+0.02%) ⬆️
instrumentations-bucket-14 51.08% <56.92%> (+0.03%) ⬆️
instrumentations-bucket-2 52.31% <56.92%> (+0.02%) ⬆️
instrumentations-bucket-3 52.94% <56.92%> (+0.02%) ⬆️
instrumentations-bucket-4 57.96% <57.30%> (-0.01%) ⬇️
instrumentations-bucket-5 48.70% <56.92%> (+0.04%) ⬆️
instrumentations-bucket-6 59.46% <57.30%> (-0.01%) ⬇️
instrumentations-bucket-7 51.27% <56.92%> (+0.03%) ⬆️
instrumentations-bucket-8 57.68% <57.30%> (+<0.01%) ⬆️
instrumentations-bucket-9 56.54% <57.30%> (+<0.01%) ⬆️
instrumentations-instrumentation-couchbase 49.86% <56.92%> (+0.04%) ⬆️
instrumentations-integration-esbuild 33.88% <40.68%> (+0.02%) ⬆️
llmobs-ai_anthropic_bedrock 62.05% <57.30%> (-0.02%) ⬇️
llmobs-bucket-1 60.59% <57.30%> (-0.02%) ⬇️
llmobs-openai 61.25% <57.30%> (-0.02%) ⬇️
llmobs-openai-agents_vertex-ai 59.31% <57.30%> (-0.01%) ⬇️
llmobs-sdk 67.48% <58.07%> (-0.05%) ⬇️
master-coverage 98.54% <99.37%> (?)
openfeature 55.04% <40.00%> (-0.05%) ⬇️
openfeature-unit 52.97% <56.92%> (+0.02%) ⬆️
platform-core_esbuild_instrumentations-misc 40.84% <56.92%> (+0.04%) ⬆️
platform-integration 59.62% <52.08%> (-0.04%) ⬇️
platform-shimmer_unit-guardrails_webpack 38.51% <56.92%> (+0.05%) ⬆️
plugins-browser-bunyan_bullmq_cassandra 60.73% <57.30%> (-0.02%) ⬇️
plugins-bucket-0 56.22% <57.30%> (+<0.01%) ⬆️
plugins-bucket-1 53.32% <51.53%> (+0.01%) ⬆️
plugins-bucket-11 61.12% <57.30%> (-0.02%) ⬇️
plugins-bucket-18 60.68% <57.30%> (-0.02%) ⬇️
plugins-bucket-19 58.91% <57.30%> (-0.02%) ⬇️
plugins-bucket-20 60.83% <57.30%> (-0.02%) ⬇️
plugins-bucket-4 55.62% <65.38%> (+0.04%) ⬆️
plugins-cookie_cookie-parser_crypto 50.60% <56.92%> (+0.03%) ⬆️
plugins-fastify_fetch_fs 59.80% <57.69%> (+0.01%) ⬆️
plugins-generic-pool_google-cloud-pubsub_grpc 63.27% <57.30%> (-0.03%) ⬇️
plugins-handlebars_hapi_hono 57.80% <57.30%> (-0.01%) ⬇️
plugins-ioredis_knex_langgraph 56.27% <57.30%> (+<0.01%) ⬆️
plugins-ldapjs_light-my-request_limitd-client 57.50% <57.30%> (+<0.01%) ⬆️
plugins-lodash_mariadb_memcached 57.20% <57.30%> (+<0.01%) ⬆️
plugins-moleculer_mongodb_mongodb-core 60.61% <57.30%> (-0.02%) ⬇️
plugins-mongoose_multer_mysql 58.48% <57.30%> (-0.01%) ⬇️
plugins-mysql2_nats_node-serialize 60.07% <57.30%> (-0.02%) ⬇️
plugins-opensearch_passport-http_pino 58.34% <57.30%> (-0.01%) ⬇️
plugins-postgres_process_pug 57.50% <57.30%> (+<0.01%) ⬆️
plugins-redis_router_sequelize 60.68% <57.30%> (-0.02%) ⬇️
plugins-test-and-upstream-rhea_undici_url 60.27% <57.30%> (-0.02%) ⬇️
plugins-valkey_vm_winston 56.94% <57.30%> (+<0.01%) ⬆️
plugins-ws 58.47% <57.30%> (-0.01%) ⬇️
profiling 60.88% <58.46%> (-0.02%) ⬇️
serverless-aws-sdk-aws-sdk 54.22% <57.30%> (+0.01%) ⬆️
serverless-aws-sdk-base-inject-field 50.31% <56.92%> (+0.03%) ⬆️
serverless-aws-sdk-bedrockruntime 54.00% <57.30%> (+0.01%) ⬆️
serverless-aws-sdk-client 55.49% <57.30%> (+0.01%) ⬆️
serverless-aws-sdk-dynamodb 54.81% <57.30%> (+<0.01%) ⬆️
serverless-aws-sdk-eventbridge 56.28% <57.30%> (+<0.01%) ⬆️
serverless-aws-sdk-kinesis 58.30% <57.30%> (-0.01%) ⬇️
serverless-aws-sdk-lambda 56.50% <57.30%> (+<0.01%) ⬆️
serverless-aws-sdk-s3 54.91% <57.30%> (+0.01%) ⬆️
serverless-aws-sdk-serverless-peer-service 58.87% <57.30%> (-0.01%) ⬇️
serverless-aws-sdk-sns 59.08% <57.30%> (-0.01%) ⬇️
serverless-aws-sdk-sqs 59.49% <57.30%> (-0.01%) ⬇️
serverless-aws-sdk-stepfunctions 54.74% <57.30%> (+0.01%) ⬆️
serverless-aws-sdk-util 50.82% <56.92%> (+0.03%) ⬆️
serverless-bucket-0 52.91% <45.38%> (-0.02%) ⬇️
serverless-bucket-1 58.10% <57.69%> (-0.01%) ⬇️
test-optimization-cucumber 70.24% <56.25%> (-0.05%) ⬇️
test-optimization-cypress 64.48% <50.96%> (+0.06%) ⬆️
test-optimization-jest 71.63% <46.53%> (-0.07%) ⬇️
test-optimization-mocha 71.71% <55.00%> (+<0.01%) ⬆️
test-optimization-playwright-playwright-atr 59.28% <47.11%> (-0.01%) ⬇️
test-optimization-playwright-playwright-efd 59.44% <48.74%> (+<0.01%) ⬆️
test-optimization-playwright-playwright-final-status 59.60% <48.74%> (-0.03%) ⬇️
test-optimization-playwright-playwright-impacted-tests 59.16% <48.74%> (+0.14%) ⬆️
test-optimization-playwright-playwright-reporting 60.62% <50.96%> (-0.05%) ⬇️
test-optimization-playwright-playwright-test-management 60.08% <48.74%> (-0.12%) ⬇️
test-optimization-playwright-playwright-test-span 59.33% <47.11%> (-0.07%) ⬇️
test-optimization-selenium 58.56% <47.11%> (-0.14%) ⬇️
test-optimization-testopt 57.25% <51.92%> (+0.06%) ⬆️
test-optimization-vitest 72.40% <56.25%> (+0.02%) ⬆️
test-optimization-vitest-browser 58.42% <48.74%> (+<0.01%) ⬆️
test-optimization-webdriverio 64.63% <56.92%> (+0.03%) ⬆️

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.

@pr-commenter

pr-commenter Bot commented Aug 7, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-08-18 16:03:24

Comparing candidate commit 7caaca0 in PR branch conti/vercel-waituntil-flush-callback with baseline commit fe6a4a0 in branch master.

📊 Benchmarking dashboard

Found 0 performance improvements and 0 performance regressions! Performance is the same for 2305 metrics, 53 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-24

  • unstable execution_time [-197.973ms; +122.398ms] or [-7.341%; +4.539%]

scenario:appsec-appsec-enabled-26

  • unstable execution_time [-236.021ms; +228.449ms] or [-9.011%; +8.722%]

scenario:appsec-appsec-enabled-with-attacks-24

  • unstable execution_time [-161195.848µs; +163183.114µs] or [-5.071%; +5.133%]

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

  • unstable execution_time [-194.088ms; +217.347ms] or [-6.556%; +7.342%]

scenario:appsec-control-20

  • unstable execution_time [-112.168ms; +129.855ms] or [-6.743%; +7.806%]

scenario:appsec-control-24

  • unstable execution_time [-121.243ms; +118.838ms] or [-9.559%; +9.369%]

scenario:appsec-control-26

  • unstable execution_time [-131321.931µs; +132023.464µs] or [-10.399%; +10.455%]

scenario:appsec-iast-no-vulnerability-control-20

  • unstable execution_time [-14.334ms; +20.189ms] or [-5.501%; +7.748%]

scenario:appsec-iast-with-vulnerability-iast-enabled-always-active-20

  • unstable execution_time [-32.085ms; +35.597ms] or [-5.748%; +6.378%]

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

  • unstable cpu_user_time [-32.592s; +10.653s] or [-137.282%; +44.873%]
  • unstable execution_time [-41.385s; +13.526s] or [-150.015%; +49.029%]
  • unstable instructions [-122.6G instructions; +40.1G instructions] or [-83.651%; +27.354%]
  • unstable max_rss_usage [-31.266MB; +10.002MB] or [-17.683%; +5.657%]
  • unstable throughput [-220.691op/s; +624.922op/s] or [-10.275%; +29.095%]

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

  • unstable cpu_user_time [-28.825s; +9.269s] or [-125.625%; +40.396%]
  • unstable execution_time [-38.186s; +12.291s] or [-141.329%; +45.490%]
  • unstable instructions [-79.0G instructions; +24.6G instructions] or [-60.544%; +18.867%]
  • unstable max_rss_usage [-69.434MB; +21.031MB] or [-33.268%; +10.077%]
  • unstable throughput [-211.190op/s; +653.508op/s] or [-10.223%; +31.636%]

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

  • unstable cpu_user_time [-41111.296ms; +42504.887ms] or [-136.794%; +141.431%]
  • unstable execution_time [-52934.065ms; +54357.271ms] or [-147.541%; +151.508%]
  • unstable instructions [-139.5G instructions; +152.9G instructions] or [-86.432%; +94.770%]
  • unstable max_rss_usage [-103.157MB; +112.018MB] or [-45.114%; +48.989%]
  • unstable throughput [-1173.364op/s; +1059.017op/s] or [-57.901%; +52.259%]

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

  • unstable cpu_user_time [-14.404s; +22.855s] or [-89.133%; +141.427%]
  • unstable execution_time [-18.351s; +29.071s] or [-101.536%; +160.849%]
  • unstable instructions [-34.3G instructions; +54.5G instructions] or [-30.735%; +48.888%]
  • unstable max_rss_usage [-37.781MB; +60.190MB] or [-22.874%; +36.441%]
  • unstable throughput [-1100.926op/s; +707.385op/s] or [-47.286%; +30.383%]

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

  • unstable cpu_user_time [-13.619s; +21.650s] or [-80.850%; +128.533%]
  • unstable execution_time [-17.451s; +27.742s] or [-92.979%; +147.807%]
  • unstable instructions [-33.0G instructions; +53.0G instructions] or [-29.056%; +46.618%]
  • unstable max_rss_usage [-77.675MB; +124.687MB] or [-39.513%; +63.428%]
  • unstable throughput [-1001.889op/s; +632.533op/s] or [-46.217%; +29.179%]

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

  • unstable instructions [-10.8G instructions; +25.1G instructions] or [-6.017%; +13.992%]

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

  • unstable instructions [-12.0G instructions; +24.0G instructions] or [-5.761%; +11.485%]

scenario:dogstatsd-with-tags-20

  • unstable cpu_user_time [-201.803ms; +425.396ms] or [-4.107%; +8.658%]
  • unstable execution_time [-202.082ms; +425.205ms] or [-4.051%; +8.524%]
  • unstable throughput [-150591.952op/s; +72555.536op/s] or [-8.953%; +4.314%]

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

  • unstable max_rss_usage [-20820.667KB; +19797.867KB] or [-5.226%; +4.969%]

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

  • unstable max_rss_usage [-7127.747KB; +6924.889KB] or [-5.526%; +5.368%]

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

  • unstable max_rss_usage [-25181.226KB; +27027.072KB] or [-14.796%; +15.881%]

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

  • unstable cpu_user_time [-597.033ms; +581.518ms] or [-5.177%; +5.042%]
  • unstable execution_time [-612.547ms; +592.765ms] or [-5.205%; +5.037%]
  • unstable throughput [-3.491op/s; +3.580op/s] or [-5.106%; +5.236%]

scenario:plugin-memcached-hashring-24

  • unstable cpu_user_time [-157.433ms; +258.919ms] or [-6.079%; +9.998%]
  • unstable execution_time [-159.071ms; +261.455ms] or [-6.127%; +10.071%]
  • unstable throughput [-1154933.434op/s; +695342.938op/s] or [-7.810%; +4.702%]

scenario:plugin-mongodb-core-plain-find-26

  • unstable execution_time [-74.123ms; +157.959ms] or [-3.618%; +7.710%]

scenario:plugin-pg-service-20

  • unstable cpu_usage_percentage [-9.363%; +5.812%]
  • unstable execution_time [-151.936ms; +239.154ms] or [-9.211%; +14.498%]
  • unstable throughput [-360071.617op/s; +230090.761op/s] or [-9.764%; +6.239%]

scenario:test-optimization-large-suite-20

  • unstable max_rss_usage [-3.315MB; +7.073MB] or [-4.217%; +8.999%]

@wconti27
wconti27 marked this pull request as ready for review August 11, 2026 18:33
@wconti27
wconti27 requested review from a team as code owners August 11, 2026 18:33
@wconti27
wconti27 requested review from BridgeAR and crysmags and removed request for a team August 11, 2026 18:33

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: cc6dcbd862

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/dd-trace/src/opentelemetry/logs/batch_log_processor.js Outdated
Comment thread packages/dd-trace/src/serverless.js Outdated
Comment thread packages/dd-trace/test/serverless.spec.js Outdated
Comment thread packages/datadog-plugin-http/src/server.js Outdated
Comment thread packages/dd-trace/src/serverless.js Outdated
Comment thread packages/dd-trace/src/tracer.js Outdated

@BridgeAR BridgeAR 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.

Just had a first look at it

Comment thread packages/dd-trace/src/opentelemetry/logs/batch_log_processor.js Outdated
Comment thread packages/dd-trace/src/opentelemetry/logs/logger_provider.js Outdated
Comment thread packages/dd-trace/src/opentelemetry/metrics/meter_provider.js Outdated
Comment thread packages/dd-trace/src/opentelemetry/metrics/otlp_http_metric_exporter.js Outdated
Comment thread packages/dd-trace/src/tracer.js Outdated
Comment thread packages/dd-trace/src/opentelemetry/logs/batch_log_processor.js Outdated
Comment thread packages/dd-trace/src/opentelemetry/logs/index.js Outdated
Comment thread packages/dd-trace/src/opentelemetry/metrics/index.js Outdated
@wconti27
wconti27 force-pushed the conti/vercel-waituntil-flush-callback branch from cc6dcbd to e849252 Compare August 12, 2026 12:23

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: dd39861d12

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/dd-trace/src/serverless.js Outdated
Comment thread packages/dd-trace/src/flush.js Outdated
@wconti27
wconti27 requested a review from BridgeAR August 12, 2026 13:00
Comment thread packages/dd-trace/src/flush.js Outdated
Comment thread packages/dd-trace/src/opentelemetry/logs/batch_log_processor.js Outdated
@wconti27
wconti27 force-pushed the conti/vercel-waituntil-flush-callback branch from dd39861 to 7503c6d Compare August 12, 2026 20:11

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7503c6d757

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/dd-trace/src/serverless.js Outdated
Comment thread packages/dd-trace/src/flush.js Outdated
Comment thread packages/dd-trace/src/flush.js Outdated
Comment thread packages/dd-trace/src/opentelemetry/otlp/otlp_http_exporter_base.js Outdated

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f1a166f14a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/dd-trace/src/span_stats.js

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 85359007fd

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/dd-trace/src/flush.js Outdated
Comment thread packages/dd-trace/src/flush.js Outdated

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b25b8a7178

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/dd-trace/src/serverless/vercel.js Outdated
Comment thread packages/dd-trace/src/opentelemetry/logs/batch_log_processor.js Outdated

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: df79a3d789

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/dd-trace/src/serverless/vercel.js Outdated
Comment thread packages/dd-trace/src/flush.js Outdated
Comment thread packages/dd-trace/test/serverless.spec.js Outdated

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7caaca0c08

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/dd-trace/src/span_stats.js Outdated
@wconti27
wconti27 requested review from a team as code owners August 18, 2026 17:52
@gh-worker-ownership-write-b05516
gh-worker-ownership-write-b05516 Bot removed the request for review from a team August 18, 2026 17:55

@datadog-prod-us1-5 datadog-prod-us1-5 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.

Datadog Autotest: FAIL

Vercel retention is skipped entirely for telemetry-only configurations with tracing disabled, allowing configured OTLP logs and metrics to be lost. Runtime-metric flushing also does not retain DogStatsD sends that were already in flight.

Open Bits AI session

🤖 Datadog Autotest · Commit 2360f69 · What is Autotest? · @DataDog review to ask questions · Any feedback? Reach out in #autotest

Comment thread packages/dd-trace/src/proxy.js Outdated
Comment thread packages/dd-trace/src/dogstatsd.js Outdated

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1bb364d044

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/dd-trace/src/exporters/agent/index.js
Comment thread packages/dd-trace/src/dogstatsd.js Outdated
Comment thread packages/dd-trace/src/exporters/span-stats/index.js

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 859506db87

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/dd-trace/src/span_stats.js Outdated
Comment thread packages/dd-trace/src/flush.js
Comment thread packages/dd-trace/src/dogstatsd.js
Comment thread packages/dd-trace/src/exporters/span-stats/index.js
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.

3 participants