recordWarp
Records warp-node execution metrics into this WarpMetricExporter.
Each call merges WarpNode.executions, WarpNode.duplicates, and WarpNode.failovers — which are us.tractat.kuilt.crdt.GCounters — into the corresponding SUM series. Because GCounter's join is element-wise max, this call is idempotent: calling it twice with the same node snapshot produces exactly the same result as calling it once. This is the keystone CRDT property: the exporter's SUM series and the node's counter are the same CRDT, so merge-under-retry is safe.
Metrics written: | name | kind | source | |---|---|---| | warp.tasks.executed | SUM | WarpNode.executions | | warp.tasks.duplicate | SUM | WarpNode.duplicates | | warp.failover.count | SUM | WarpNode.failovers | | warp.tasks.interpreted | SUM | WarpNode.executionsInterpreted | | warp.tasks.compiled | SUM | WarpNode.executionsCompiled |