Commit 2dfda7f
authored
feat: seed root session ID in master for stable telemetry headers (#345)
chore: update dd-trace-cpp submodule to stable session ID headers branch
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>
feat: seed root session ID in master before workers fork
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>
chore: update dd-trace-cpp submodule to latest
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
fix: remove submodule pin, keep only src changes
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Merge branch 'master' into ayan.khan/stable-session-id-headers
chore: update dd-trace-cpp submodule to main (includes #295)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Merge branch 'master' into ayan.khan/stable-session-id-headers
Co-authored-by: ayan.khan <ayan.khan@datadoghq.com>1 parent 5e9ab01 commit 2dfda7f
4 files changed
Lines changed: 9 additions & 1 deletion
Submodule dd-trace-cpp updated 40 files
- .github/CODEOWNERS+1-1
- .github/dependabot.yml.disabled
- .github/workflows/dev.yml+3-8
- .gitignore+10-11
- .gitlab-ci.yml+3-3
- .gitlab/config-registry.yml+1-1
- BUILD.bazel+1
- CMakeLists.txt+8-3
- Dockerfile+1-3
- README.md+10-18
- bin/README.md+6-10
- bin/check+1-1
- bin/check-format+1-1
- bin/format+8-1
- bin/test+1-1
- binding/c/CMakeLists.txt+66
- binding/c/README.md+17
- binding/c/include/datadog/c/tracer.h+216
- binding/c/src/tracer.cpp+310
- binding/c/test/test_c_binding.cpp+258
- doc/maintainers.md-22
- examples/README.md+2
- include/datadog/environment.h+13-7
- include/datadog/telemetry/configuration.h+5
- include/datadog/tracer_config.h+6
- include/datadog/tracer_signature.h+14-4
- src/datadog/root_session_id.h+12
- src/datadog/telemetry/configuration.cpp+22
- src/datadog/telemetry/telemetry_impl.cpp+53-10
- src/datadog/telemetry/telemetry_impl.h+8
- src/datadog/trace_segment.cpp+18-3
- src/datadog/tracer.cpp+5-2
- src/datadog/tracer_config.cpp+2-4
- supported-configurations.json+77-70
- test/mocks/http_clients.h+4-1
- test/telemetry/test_configuration.cpp+27
- test/telemetry/test_telemetry.cpp+174-1
- test/test_span.cpp+8-8
- test/test_trace_segment.cpp+15-5
- tools/config-inversion/main.cpp+64-23
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| |||
408 | 410 | | |
409 | 411 | | |
410 | 412 | | |
| 413 | + | |
411 | 414 | | |
412 | 415 | | |
413 | 416 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
58 | 62 | | |
59 | 63 | | |
60 | 64 | | |
| |||
0 commit comments