grafana-cloud-graphite
Version:
NodeJS client for Grafana Cloud Graphite API
15 lines (14 loc) • 500 B
TypeScript
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;
}