UNPKG

grafana-cloud-graphite

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