UNPKG

grafana-cloud-graphite

Version:
15 lines (14 loc) 500 B
import { Gauge, MetricSchema } from "../../types"; export declare class GraphiteGauge implements Gauge { 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[]; set(value?: number): void; inc(value?: number): void; dec(value?: number): void; reset(): void; }