Skip to content

Commit dd3b4f8

Browse files
khanayan123claude
andcommitted
chore: remove unnecessary comments
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent d808a0a commit dd3b4f8

2 files changed

Lines changed: 0 additions & 5 deletions

File tree

src/datadog/root_session_id.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ namespace datadog {
66
namespace tracing {
77
namespace root_session_id {
88

9-
// Meyer's singleton for the root session ID. The first call initializes the
10-
// value; subsequent calls return the same value regardless of the argument.
11-
// Thread-safe via atomic CAS. Immutable after init, so fork-safe.
129
const std::string& get_or_init(const std::string& runtime_id);
1310

1411
} // namespace root_session_id

test/telemetry/test_telemetry.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -373,12 +373,10 @@ TELEMETRY_IMPLEMENTATION_TEST("session ID headers") {
373373
auto scheduler = std::make_shared<FakeEventScheduler>();
374374
auto url = HTTPClient::URL::parse("http://localhost:8000");
375375

376-
// Acquire the root session ID from the singleton.
377376
auto init_rid = RuntimeID::generate();
378377
const auto& root_id = root_session_id::get_or_init(init_rid.string());
379378

380379
SECTION("root process: DD-Session-ID present, DD-Root-Session-ID absent") {
381-
// Simulate root process: session_id == root_session_id
382380
auto session_rid = RuntimeID::generate();
383381
const TracerSignature sig{session_rid, session_rid.string(), "testsvc",
384382
"test"};

0 commit comments

Comments
 (0)