AIDK API Reference / aidk-kernel / MetricAttributes
Interface: MetricAttributes ​
Defined in: packages/kernel/src/telemetry.ts:37
Attributes for metrics, used for filtering and grouping.
Example ​
typescript
counter.add(1, { model: 'gpt-4', status: 'success' });Indexable ​
ts
[key: string]: string | number | boolean