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