UNPKG

@allspark-js/core

Version:
19 lines (18 loc) 349 B
type TLabel = { [labelName: string]: string; }; export type TRtaIncArgs = { metric: string; value?: number; labels?: TLabel; }; export type TRtaRecordArgs = { metric: string; value: number; labels?: TLabel; }; export interface IRta { inc(args: TRtaIncArgs): void; record(args: TRtaRecordArgs): void; } export {};