UNPKG

unleash-server

Version:

Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.

14 lines 594 B
import type { IUnleashConfig } from '../../../types/index.js'; import { type StoredCustomMetric } from './custom-metrics-store.js'; export declare class CustomMetricsService { private logger; private store; constructor(config: IUnleashConfig); addMetric(metric: Omit<StoredCustomMetric, 'timestamp'>): void; addMetrics(metrics: Omit<StoredCustomMetric, 'timestamp'>[]): void; getMetrics(): StoredCustomMetric[]; getMetricNames(): string[]; getPrometheusMetrics(): string; clearMetricsForTesting(): void; } //# sourceMappingURL=custom-metrics-service.d.ts.map