@squidcloud/client
Version:
A typescript implementation of the Squid client
8 lines (7 loc) • 379 B
TypeScript
/**
* Type suffixes defines the type of the metric and can be used for
* metric value validation for incoming metrics.
*/
export declare const SQUID_METRIC_TYPE_SUFFIXES: readonly ["_count", "_time", "_size", "_entries", "_value"];
/** Returns true if the given metric has a valid metric type. */
export declare function hasValidMetricTypeSuffix(metricName: string): boolean;