mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-04 01:06:48 +00:00
fix(telemetry): qualify tx_span with telemetry:: namespace in apply()
The apply() function doesn't have a `using namespace telemetry` directive (unlike processTransaction), so tx_span attrs need explicit qualification. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1565,8 +1565,9 @@ NetworkOPsImp::apply(std::unique_lock<std::mutex>& batchLock)
|
||||
{
|
||||
if (e.span && *e.span)
|
||||
{
|
||||
e.span->setAttribute(tx_span::attr::terResult, transToken(e.result).c_str());
|
||||
e.span->setAttribute(tx_span::attr::applied, e.applied);
|
||||
e.span->setAttribute(
|
||||
telemetry::tx_span::attr::terResult, transToken(e.result).c_str());
|
||||
e.span->setAttribute(telemetry::tx_span::attr::applied, e.applied);
|
||||
}
|
||||
e.transaction->clearSubmitResult();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user