mirror of
https://github.com/XRPLF/rippled.git
synced 2026-09-29 00:08:10 +00:00
Merge branch 'pratik/otel-phase4-consensus-tracing' into pratik/otel-phase5-docs-deployment
This commit is contained in:
@@ -31,7 +31,6 @@
|
||||
#endif
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
namespace xrpl::telemetry {
|
||||
|
||||
@@ -807,9 +807,13 @@ TxQ::apply(
|
||||
{
|
||||
span.setAttribute(txq_span::attr::terCode, transToken(directApplied->ter).c_str());
|
||||
if (directApplied->applied)
|
||||
{
|
||||
span.setAttribute(txq_span::attr::txqStatus, txq_span::val::appliedDirect);
|
||||
}
|
||||
else
|
||||
{
|
||||
span.setAttribute(txq_span::attr::txqStatus, txq_span::val::failed);
|
||||
}
|
||||
}
|
||||
return *directApplied;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user