pub fn span_node_tick(node_id: u64, session_id: Option<u64>) -> SpanExpand description
Create a span for node tick operations.
§Arguments
node_id- The ID of the node performing the ticksession_id- Optional session ID
§Examples
use elara_runtime::observability::tracing::span_node_tick;
use elara_core::NodeId;
let span = span_node_tick(NodeId(1), Some(42));
let _enter = span.enter();
// ... perform tick ...