mirror of
https://github.com/XRPLF/rippled.git
synced 2026-09-27 15:28:03 +00:00
Moving the tx.receive span past the duplicate check removed the only record of why a relayed copy was dropped. A labelled counter restores it, and covers the inner-batch reject the span never usefully reached. The count itself was never span-derived: transactions_duplicate already totals the dropped copies and predates the telemetry work. What was missing is the split between ordinary relay overlap and a peer sending traffic it should not. A counter also survives sampling and runs with tracing off, which the span attribute did not.