1 | "use strict";
|
2 | var _a, _b, _c, _d;
|
3 | Object.defineProperty(exports, "__esModule", { value: true });
|
4 | exports.bytesRWBuckets = exports.latencyBuckets = void 0;
|
5 | const prom_client_1 = require("prom-client");
|
6 | exports.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);
|
7 | exports.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 |
|
\ | No newline at end of file |