UNPKG

grafana-cloud-graphite

Version:
17 lines (16 loc) 483 B
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; }