diff --git a/OpenTelemetryPlan/Phase3_taskList.md b/OpenTelemetryPlan/Phase3_taskList.md index e4beec9e51..a0a27c3434 100644 --- a/OpenTelemetryPlan/Phase3_taskList.md +++ b/OpenTelemetryPlan/Phase3_taskList.md @@ -97,7 +97,8 @@ - Inject current trace context into outgoing `TMTransaction::trace_context` - Set `xrpl.tx.relay_count` attribute -- Include `TracingInstrumentation.h` and use `XRPL_TRACE_TX` macro +- Use `SpanGuard::span(TraceCategory::Transactions, "tx", "receive")` factory + (Phase 1c replaced macros with the SpanGuard factory pattern) **Key modified files**: diff --git a/OpenTelemetryPlan/Phase4_taskList.md b/OpenTelemetryPlan/Phase4_taskList.md index a5ef457efd..7a44d23e0c 100644 --- a/OpenTelemetryPlan/Phase4_taskList.md +++ b/OpenTelemetryPlan/Phase4_taskList.md @@ -25,7 +25,7 @@ - Edit `src/xrpld/app/consensus/RCLConsensus.cpp`: - In `RCLConsensus::startRound()` (or the Adaptor's startRound): - - Create `consensus.round` span using `XRPL_TRACE_CONSENSUS` macro + - Create `consensus.round` span using `SpanGuard::span(TraceCategory::Consensus, ...)` - Set attributes: - `xrpl.consensus.ledger.prev` — previous ledger hash - `xrpl.consensus.ledger.seq` — target ledger sequence