diff options
author | Elizabeth Hunt <me@liz.coffee> | 2025-08-17 23:56:14 -0700 |
---|---|---|
committer | Elizabeth Hunt <me@liz.coffee> | 2025-08-17 23:56:40 -0700 |
commit | 3a303475b763cbbf4d3491146582faccd8b93c99 (patch) | |
tree | af7fb2811a7ce48cbec32df8075c19fc6f977d12 /lib/trace/metric/index.ts | |
parent | d9656076ec5c4138201080f0a250b57533357165 (diff) | |
download | pengueno-3a303475b763cbbf4d3491146582faccd8b93c99.tar.gz pengueno-3a303475b763cbbf4d3491146582faccd8b93c99.zip |
Trace metrics by name which 'should' be unique
Diffstat (limited to 'lib/trace/metric/index.ts')
-rw-r--r-- | lib/trace/metric/index.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/trace/metric/index.ts b/lib/trace/metric/index.ts index aebc890..35a0693 100644 --- a/lib/trace/metric/index.ts +++ b/lib/trace/metric/index.ts @@ -25,6 +25,7 @@ export const IMetricTag = 'IMetric' as const; export type IMetricTag = typeof IMetricTag; export const isIMetric = (t: unknown): t is IMetric => isTagged(t, IMetricTag); export interface IMetric extends Tagged<IMetricTag> { + readonly name: string; readonly count: IEmittableMetric; readonly time: IEmittableMetric; readonly parent: undefined | IMetric; |