UNPKG

pandora-metrics

Version:
16 lines (15 loc) 725 B
import { MetricName } from '../common'; import { Counter, Histogram, Meter, Timer, FastCompass } from './MetricsProxy'; import { Proxiable } from './domain'; /** * @deprecated */ export declare class MetricsManagerClient { static metricsProcessChannel: any; static register(group: any, name: MetricName | string, metric: Proxiable): void; static getCounter(group: string, name: MetricName | string): Counter; static getTimer(group: string, name: MetricName | string): Timer; static getMeter(group: string, name: MetricName | string): Meter; static getHistogram(group: string, name: MetricName | string): Histogram; static getFastCompass(group: string, name: MetricName | string): FastCompass; }