UNPKG

@netlify/build

Version:
13 lines (12 loc) 426 B
import { InputStatsDOptions } from '../report/statsd.js'; export type Metric = { type: 'increment'; name: string; value: number; tags: Record<string, string | string[]>; }; /** * Record number of functions build and differentiate between autogenerated and user generated. * Sends to statsd daemon. */ export declare const reportMetrics: (statsdOpts: InputStatsDOptions, metrics: Metric[]) => Promise<void>;