UNPKG

container.ts

Version:
11 lines (10 loc) 478 B
import { IContainerModuleOpts, ContainerMetricMessage } from "../../container"; import { Metric } from "./Metric"; export declare const ENV_STATSD_HOST = "STATSD_HOST"; export declare const ENV_STATSD_PORT = "STATSD_PORT"; export declare class StatsdMetric extends Metric { private _statsd; constructor(name: string, opts: IContainerModuleOpts); /** StatsD handler for incoming metric messages. */ protected handleMetric(metric: ContainerMetricMessage): void; }