feat: seed root session ID in master for stable telemetry headers#345
Conversation
Points to ayan.khan/stable-session-id-headers tip for integration validation of DD-Session-ID and DD-Root-Session-ID telemetry headers. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
✅ Tests 🎉 All green!❄️ No new flaky tests detected 🎯 Code Coverage (details) 🔗 Commit SHA: 07364ec | Docs | Datadog PR Page | Was this helpful? React with 👍/👎 or give us feedback! |
Generate root_session_id in create_datadog_main_conf (master process) and pass it to TracerConfig in make_tracer (worker process). All workers inherit the same root via fork memory copy, ensuring consistent DD-Root-Session-ID across telemetry from all workers. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
/merge |
|
View all feedbacks in Devflow UI.
The expected merge time in
mergequeue build completed successfully, but the github api returned an error while merging the pr.
DetailsError: PUT https://api.github.com/repos/DataDog/nginx-datadog/pulls/345/merge: 405 2 of 2 required status checks are expected. [] (Request ID: 8092:144AB2:62E95F:199A84D:69DE526F) FullStacktrace: |
|
/merge |
|
View all feedbacks in Devflow UI.
This pull request is not mergeable according to GitHub. Common reasons include pending required checks, missing approvals, or merge conflicts — but it could also be blocked by other repository rules or settings.
The expected merge time in
|
Summary
Seed
root_session_idin the master process before workers fork, so all workers share the same root session ID for telemetry correlation per the Stable Service Instance Identifier RFC.Changes
root_session_idfield todatadog_main_conf_tRuntimeIDincreate_datadog_main_conf(master process, pre-fork)root_session_idtoTracerConfiginmake_tracer(worker process, post-fork)Dependencies
root_session_idtoTracerConfig)Related