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