merge: bring the childSpan pseudocode fix forward from phase1b-telemetry-infra

This commit is contained in:
Pratik Mankawde
2026-09-07 14:56:32 +01:00

View File

@@ -75,7 +75,7 @@ namespace xrpl::telemetry {
* @code
* // With an active parent span, startSpan() inherits the parent's trace_id
* // and the SDK does NOT call GenerateTraceId(), so no PendingTraceId is used.
* // auto child = parentGuard.childSpan(rpc_span::op::process); // random/parent trace_id
* // auto child = parentGuard.childSpan(rpc_span::prefix::command); // random/parent trace_id
* @endcode
*/
class DeterministicIdGenerator final : public opentelemetry::sdk::trace::IdGenerator