UNPKG

784 BJavaScriptView Raw
1"use strict";
2var _a, _b, _c, _d;
3Object.defineProperty(exports, "__esModule", { value: true });
4exports.bytesRWBuckets = exports.latencyBuckets = void 0;
5const prom_client_1 = require("prom-client");
6exports.latencyBuckets = (_b = (_a = process.env['NODE_METRICS_GATHERER_LATENCY_BUCKETS']) === null || _a === void 0 ? void 0 : _a.split(',').map(s => parseInt(s, 10))) !== null && _b !== void 0 ? _b : prom_client_1.exponentialBuckets(0.004, Math.SQRT2, 29).map(Math.round);
7exports.bytesRWBuckets = (_d = (_c = process.env['NODE_METRICS_GATHERER_BYTES_RW_BUCKETS']) === null || _c === void 0 ? void 0 : _c.split(',').map(s => parseInt(s, 10))) !== null && _d !== void 0 ? _d : prom_client_1.exponentialBuckets(256, Math.SQRT2, 49).map(Math.round);
8//# sourceMappingURL=config.js.map
\No newline at end of file