Documentation / @agentick/core / setMetric
Function: setMetric() ​
setMetric(
ctx,key,value):void
Defined in: kernel/src/metrics-helpers.ts:23
Set a metric value (overwrites). Supports dot notation for nested paths: 'usage.inputTokens'
Parameters ​
ctx ​
key ​
string
value ​
number
Returns ​
void