unleash-server
Version:
Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.
12 lines • 387 B
JavaScript
import { Histogram as PromHistogram, } from 'prom-client';
export const createHistogram = (options) => {
const histogram = new PromHistogram(options);
const labels = (labels) => histogram.labels(labels);
const observe = (value) => histogram.observe(value);
return {
histogram,
labels,
observe,
};
};
//# sourceMappingURL=createHistogram.js.map