UNPKG

realm-object-server

Version:

Realm Object Server

18 lines (17 loc) 341 B
export declare enum MetricType { Counter = "c", Gauge = "g", Histogram = "ms" } export interface Stat { type: MetricType; value: string; } export interface Metric { name: string; labels: { [key: string]: string; }; stats: Stat[]; } export declare function parseMetricName(metric: Metric): string;