realm-object-server
Version:
18 lines (17 loc) • 341 B
TypeScript
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;