grafana-cloud-graphite
Version:
NodeJS client for Grafana Cloud Graphite API
17 lines (16 loc) • 483 B
TypeScript
import { MetricSchema } from "../types";
export declare class GraphiteHTTP {
private readonly authToken;
private readonly ingestEndpointURL;
private readonly retryLimit;
private readonly retryDelay;
constructor(options: {
userId: string;
token: string;
ingestEndpointURL: string;
retryLimit?: number;
retryDelay?: number;
});
sendMetrics(data: MetricSchema | MetricSchema[]): Promise<void>;
private HttpSend;
}