UNPKG

grafana-cloud-graphite

Version:
14 lines (13 loc) 458 B
import { MetricSchema, Stats } from "../../types"; export declare class GraphiteStats implements Stats { readonly name: string; readonly interval: number; readonly tags?: Record<string, string> | undefined; private count; private values; constructor(name: string, interval: number, tags?: Record<string, string> | undefined); get(): MetricSchema[]; clear(): MetricSchema[]; add(value?: number): void; reset(): void; }