@kong-ui-public/analytics-utilities 12.40.0 → 12.40.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/dashboardSchema.v2.d.ts +24 -0
- package/dist/types/dashboardSchema.v2.d.ts.map +1 -1
- package/dist/vitals-utilities.cjs +1 -1
- package/dist/vitals-utilities.cjs.map +1 -1
- package/dist/vitals-utilities.es.js +64 -60
- package/dist/vitals-utilities.es.js.map +1 -1
- package/dist/vitals-utilities.umd.js +1 -1
- package/dist/vitals-utilities.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -56,7 +56,7 @@ const vs = [
|
|
|
56
56
|
"top_n",
|
|
57
57
|
"table",
|
|
58
58
|
"scatter"
|
|
59
|
-
], Da = ["in", "not_in", "selector"],
|
|
59
|
+
], Da = ["in", "not_in", "selector"], xs = ["=", "!="], Rs = ["=", "!=", "<", ">", "<=", ">="], Sa = ["empty", "not_empty"], Ps = ["starts_with", "ends_with"], Is = ["absolute", "relative"], Cs = [
|
|
60
60
|
"15m",
|
|
61
61
|
"1h",
|
|
62
62
|
"6h",
|
|
@@ -96,7 +96,7 @@ const vs = [
|
|
|
96
96
|
"status_code",
|
|
97
97
|
"status_code_grouped",
|
|
98
98
|
"time"
|
|
99
|
-
],
|
|
99
|
+
], Re = z(rt), Tn = [
|
|
100
100
|
"active_services",
|
|
101
101
|
"error_rate",
|
|
102
102
|
"request_count",
|
|
@@ -293,7 +293,7 @@ const vs = [
|
|
|
293
293
|
"12H",
|
|
294
294
|
"24H",
|
|
295
295
|
"7D"
|
|
296
|
-
], $t = 1e3,
|
|
296
|
+
], $t = 1e3, xa = ["platform", "platform_usage"], ks = (e) => xa.includes(e), En = [
|
|
297
297
|
...at.filter((e) => e !== "consumer_group"),
|
|
298
298
|
"a2a_context_id",
|
|
299
299
|
"a2a_error",
|
|
@@ -306,7 +306,7 @@ const vs = [
|
|
|
306
306
|
"mcp_method",
|
|
307
307
|
"mcp_session_id",
|
|
308
308
|
"mcp_tool_name"
|
|
309
|
-
], Ce = z(En),
|
|
309
|
+
], Ce = z(En), Ra = [
|
|
310
310
|
...Dn,
|
|
311
311
|
"a2a_latency_average",
|
|
312
312
|
"a2a_response_size_sum",
|
|
@@ -330,7 +330,7 @@ const vs = [
|
|
|
330
330
|
"cache_items_average",
|
|
331
331
|
"cache_memory_utilization_max"
|
|
332
332
|
], Gs = ["basic", "api_usage", "llm_usage", "agentic_usage", "platform", "platform_usage", "managed_cache_usage"], Ia = {
|
|
333
|
-
basic: new Set(
|
|
333
|
+
basic: new Set(Re),
|
|
334
334
|
api_usage: new Set(Pe),
|
|
335
335
|
llm_usage: new Set(Ie),
|
|
336
336
|
agentic_usage: new Set(Ce),
|
|
@@ -605,7 +605,7 @@ const vs = [
|
|
|
605
605
|
type: "string"
|
|
606
606
|
}, ot = {
|
|
607
607
|
type: "boolean"
|
|
608
|
-
},
|
|
608
|
+
}, xn = {
|
|
609
609
|
type: "string",
|
|
610
610
|
description: "Text rendered in the tile header. Supports the {timeframe} token, "
|
|
611
611
|
}, Ca = {
|
|
@@ -861,6 +861,10 @@ const vs = [
|
|
|
861
861
|
decimal_points: {
|
|
862
862
|
type: "number"
|
|
863
863
|
},
|
|
864
|
+
align_x: {
|
|
865
|
+
type: "string",
|
|
866
|
+
enum: ["left", "center", "right"]
|
|
867
|
+
},
|
|
864
868
|
chart_title: k
|
|
865
869
|
},
|
|
866
870
|
required: ["type"],
|
|
@@ -1051,7 +1055,7 @@ const vs = [
|
|
|
1051
1055
|
"team",
|
|
1052
1056
|
"region",
|
|
1053
1057
|
"hostname"
|
|
1054
|
-
],
|
|
1058
|
+
], Rn = () => ({
|
|
1055
1059
|
type: "array",
|
|
1056
1060
|
description: "A list of filters to apply to the platform query",
|
|
1057
1061
|
items: {
|
|
@@ -1128,7 +1132,7 @@ const vs = [
|
|
|
1128
1132
|
},
|
|
1129
1133
|
metrics: oe(Tn),
|
|
1130
1134
|
dimensions: se(rt),
|
|
1131
|
-
filters: B(
|
|
1135
|
+
filters: B(Re),
|
|
1132
1136
|
...V
|
|
1133
1137
|
},
|
|
1134
1138
|
required: ["datasource"],
|
|
@@ -1160,7 +1164,7 @@ const vs = [
|
|
|
1160
1164
|
"agentic_usage"
|
|
1161
1165
|
]
|
|
1162
1166
|
},
|
|
1163
|
-
metrics: oe(
|
|
1167
|
+
metrics: oe(Ra),
|
|
1164
1168
|
dimensions: se(En),
|
|
1165
1169
|
filters: B(Ce),
|
|
1166
1170
|
...V
|
|
@@ -1202,7 +1206,7 @@ const vs = [
|
|
|
1202
1206
|
datasource: Pn,
|
|
1203
1207
|
metrics: oe(),
|
|
1204
1208
|
dimensions: se(),
|
|
1205
|
-
filters:
|
|
1209
|
+
filters: Rn(),
|
|
1206
1210
|
...V
|
|
1207
1211
|
},
|
|
1208
1212
|
required: ["datasource"],
|
|
@@ -1222,7 +1226,7 @@ const vs = [
|
|
|
1222
1226
|
type: "string"
|
|
1223
1227
|
}
|
|
1224
1228
|
},
|
|
1225
|
-
filters:
|
|
1229
|
+
filters: Rn(),
|
|
1226
1230
|
cursor: {
|
|
1227
1231
|
type: "string"
|
|
1228
1232
|
},
|
|
@@ -1300,7 +1304,7 @@ const vs = [
|
|
|
1300
1304
|
properties: {
|
|
1301
1305
|
query: ri,
|
|
1302
1306
|
chart: ii,
|
|
1303
|
-
header_description:
|
|
1307
|
+
header_description: xn
|
|
1304
1308
|
},
|
|
1305
1309
|
required: ["query", "chart"],
|
|
1306
1310
|
additionalProperties: !1
|
|
@@ -1309,7 +1313,7 @@ const vs = [
|
|
|
1309
1313
|
properties: {
|
|
1310
1314
|
query: ai,
|
|
1311
1315
|
chart: Wa,
|
|
1312
|
-
header_description:
|
|
1316
|
+
header_description: xn
|
|
1313
1317
|
},
|
|
1314
1318
|
required: ["query", "chart"],
|
|
1315
1319
|
additionalProperties: !1
|
|
@@ -1410,7 +1414,7 @@ const vs = [
|
|
|
1410
1414
|
preset_filters: B([
|
|
1411
1415
|
.../* @__PURE__ */ new Set([
|
|
1412
1416
|
...Pe,
|
|
1413
|
-
...
|
|
1417
|
+
...Re,
|
|
1414
1418
|
...Ie,
|
|
1415
1419
|
...Ce,
|
|
1416
1420
|
...Qa,
|
|
@@ -1426,7 +1430,7 @@ const vs = [
|
|
|
1426
1430
|
additionalProperties: !1
|
|
1427
1431
|
}, Ls = (e) => {
|
|
1428
1432
|
const t = [];
|
|
1429
|
-
return
|
|
1433
|
+
return Re.includes(e) && t.push("basic"), Pe.includes(e) && t.push("api_usage"), Ie.includes(e) && t.push("llm_usage"), Ce.includes(e) && t.push("agentic_usage"), (Mn.includes(e) || On.includes(e)) && t.push("requests"), t;
|
|
1430
1434
|
}, mi = {
|
|
1431
1435
|
lessThanXSeconds: {
|
|
1432
1436
|
one: "less than a second",
|
|
@@ -1707,7 +1711,7 @@ function de(e) {
|
|
|
1707
1711
|
const r = n.width, i = r && e.matchPatterns[r] || e.matchPatterns[e.defaultMatchWidth], o = t.match(i);
|
|
1708
1712
|
if (!o)
|
|
1709
1713
|
return null;
|
|
1710
|
-
const c = o[0], l = r && e.parsePatterns[r] || e.parsePatterns[e.defaultParseWidth], f = Array.isArray(l) ?
|
|
1714
|
+
const c = o[0], l = r && e.parsePatterns[r] || e.parsePatterns[e.defaultParseWidth], f = Array.isArray(l) ? xi(l, (h) => h.test(c)) : (
|
|
1711
1715
|
// [TODO] -- I challenge you to fix the type
|
|
1712
1716
|
Ni(l, (h) => h.test(c))
|
|
1713
1717
|
);
|
|
@@ -1725,12 +1729,12 @@ function Ni(e, t) {
|
|
|
1725
1729
|
if (Object.prototype.hasOwnProperty.call(e, n) && t(e[n]))
|
|
1726
1730
|
return n;
|
|
1727
1731
|
}
|
|
1728
|
-
function
|
|
1732
|
+
function xi(e, t) {
|
|
1729
1733
|
for (let n = 0; n < e.length; n++)
|
|
1730
1734
|
if (t(e[n]))
|
|
1731
1735
|
return n;
|
|
1732
1736
|
}
|
|
1733
|
-
function
|
|
1737
|
+
function Ri(e) {
|
|
1734
1738
|
return (t, n = {}) => {
|
|
1735
1739
|
const r = t.match(e.matchPattern);
|
|
1736
1740
|
if (!r) return null;
|
|
@@ -1810,7 +1814,7 @@ const Pi = /^(\d+)(th|st|nd|rd)?/i, Ii = /\d+/i, Ci = {
|
|
|
1810
1814
|
night: /night/i
|
|
1811
1815
|
}
|
|
1812
1816
|
}, Wi = {
|
|
1813
|
-
ordinalNumber:
|
|
1817
|
+
ordinalNumber: Ri({
|
|
1814
1818
|
matchPattern: Pi,
|
|
1815
1819
|
parsePattern: Ii,
|
|
1816
1820
|
valueCallback: (e) => parseInt(e, 10)
|
|
@@ -2729,11 +2733,11 @@ function No(e, t, n) {
|
|
|
2729
2733
|
timeZoneName: e
|
|
2730
2734
|
});
|
|
2731
2735
|
}
|
|
2732
|
-
function
|
|
2736
|
+
function xo(e, t) {
|
|
2733
2737
|
const n = Ao(t);
|
|
2734
2738
|
return "formatToParts" in n ? Po(n, e) : Io(n, e);
|
|
2735
2739
|
}
|
|
2736
|
-
const
|
|
2740
|
+
const Ro = {
|
|
2737
2741
|
year: 0,
|
|
2738
2742
|
month: 1,
|
|
2739
2743
|
day: 2,
|
|
@@ -2745,7 +2749,7 @@ function Po(e, t) {
|
|
|
2745
2749
|
try {
|
|
2746
2750
|
const n = e.formatToParts(t), r = [];
|
|
2747
2751
|
for (let i = 0; i < n.length; i++) {
|
|
2748
|
-
const o =
|
|
2752
|
+
const o = Ro[n[i].type];
|
|
2749
2753
|
o !== void 0 && (r[o] = parseInt(n[i].value, 10));
|
|
2750
2754
|
}
|
|
2751
2755
|
return r;
|
|
@@ -2831,7 +2835,7 @@ function Go(e) {
|
|
|
2831
2835
|
return ct(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds());
|
|
2832
2836
|
}
|
|
2833
2837
|
function nt(e, t) {
|
|
2834
|
-
const n =
|
|
2838
|
+
const n = xo(e, t), r = ct(n[0], n[1] - 1, n[2], n[3] % 24, n[4], n[5], 0).getTime();
|
|
2835
2839
|
let i = e.getTime();
|
|
2836
2840
|
const o = i % 1e3;
|
|
2837
2841
|
return i -= o >= 0 ? o : 1e3 + o, r - i;
|
|
@@ -3193,7 +3197,7 @@ function fn(e, t = {}) {
|
|
|
3193
3197
|
function js(e, t) {
|
|
3194
3198
|
return `${fn(e.getTime())} - ${fn(t.getTime(), { includeTZ: !0 })}`;
|
|
3195
3199
|
}
|
|
3196
|
-
const
|
|
3200
|
+
const xe = {
|
|
3197
3201
|
secondly: 1e3,
|
|
3198
3202
|
tenSecondly: 10 * 1e3,
|
|
3199
3203
|
thirtySecondly: 30 * 1e3,
|
|
@@ -3222,12 +3226,12 @@ function Jo(e, t) {
|
|
|
3222
3226
|
};
|
|
3223
3227
|
}
|
|
3224
3228
|
function zs(e) {
|
|
3225
|
-
return e && bn.find((n) => e <=
|
|
3229
|
+
return e && bn.find((n) => e <= xe[n]) || null;
|
|
3226
3230
|
}
|
|
3227
3231
|
function Vn(e, t, n, r) {
|
|
3228
|
-
const i =
|
|
3232
|
+
const i = xe[n];
|
|
3229
3233
|
let o = 0;
|
|
3230
|
-
return i >=
|
|
3234
|
+
return i >= xe.daily && (r ? o = -zn(r, t) : o = t.getTimezoneOffset() * 60 * 1e3), new Date(e((t.getTime() - o) / i) * i + o);
|
|
3231
3235
|
}
|
|
3232
3236
|
function es(e, t, n) {
|
|
3233
3237
|
return Vn(Math.floor, e, t, n);
|
|
@@ -3287,7 +3291,7 @@ class Vs extends Ae {
|
|
|
3287
3291
|
return Bn(this.timeframe.rawEnd(), this.granularity, this.tz);
|
|
3288
3292
|
}
|
|
3289
3293
|
granularityMs() {
|
|
3290
|
-
return
|
|
3294
|
+
return xe[this.granularity];
|
|
3291
3295
|
}
|
|
3292
3296
|
}
|
|
3293
3297
|
class ts extends Ae {
|
|
@@ -3318,8 +3322,8 @@ me.exports;
|
|
|
3318
3322
|
var hn;
|
|
3319
3323
|
function rs() {
|
|
3320
3324
|
return hn || (hn = 1, (function(e, t) {
|
|
3321
|
-
var n = 200, r = "__lodash_hash_undefined__", i = 9007199254740991, o = "[object Arguments]", c = "[object Array]", l = "[object Boolean]", f = "[object Date]", y = "[object Error]", g = "[object Function]", h = "[object GeneratorFunction]", _ = "[object Map]", C = "[object Number]", p = "[object Object]", w = "[object Promise]", E = "[object RegExp]",
|
|
3322
|
-
T[o] = T[c] = T[lt] = T[ye] = T[l] = T[f] = T[dt] = T[mt] = T[ft] = T[ht] = T[pt] = T[_] = T[C] = T[p] = T[E] = T[
|
|
3325
|
+
var n = 200, r = "__lodash_hash_undefined__", i = 9007199254740991, o = "[object Arguments]", c = "[object Array]", l = "[object Boolean]", f = "[object Date]", y = "[object Error]", g = "[object Function]", h = "[object GeneratorFunction]", _ = "[object Map]", C = "[object Number]", p = "[object Object]", w = "[object Promise]", E = "[object RegExp]", x = "[object Set]", R = "[object String]", A = "[object Symbol]", ke = "[object WeakMap]", lt = "[object ArrayBuffer]", ye = "[object DataView]", dt = "[object Float32Array]", mt = "[object Float64Array]", ft = "[object Int8Array]", ht = "[object Int16Array]", pt = "[object Int32Array]", yt = "[object Uint8Array]", gt = "[object Uint8ClampedArray]", _t = "[object Uint16Array]", wt = "[object Uint32Array]", Xn = /[\\^$.*+?()[\]{}|]/g, Kn = /\w*$/, Jn = /^\[object .+?Constructor\]$/, er = /^(?:0|[1-9]\d*)$/, T = {};
|
|
3326
|
+
T[o] = T[c] = T[lt] = T[ye] = T[l] = T[f] = T[dt] = T[mt] = T[ft] = T[ht] = T[pt] = T[_] = T[C] = T[p] = T[E] = T[x] = T[R] = T[A] = T[yt] = T[gt] = T[_t] = T[wt] = !0, T[y] = T[g] = T[ke] = !1;
|
|
3323
3327
|
var tr = typeof Me == "object" && Me && Me.Object === Object && Me, nr = typeof self == "object" && self && self.Object === Object && self, G = tr || nr || Function("return this")(), bt = t && !t.nodeType && t, Tt = bt && !0 && e && !e.nodeType && e, rr = Tt && Tt.exports === bt;
|
|
3324
3328
|
function ar(a, s) {
|
|
3325
3329
|
return a.set(s[0], s[1]), a;
|
|
@@ -3381,7 +3385,7 @@ function rs() {
|
|
|
3381
3385
|
return a ? "Symbol(src)_1." + a : "";
|
|
3382
3386
|
})(), vt = dr.toString, H = ge.hasOwnProperty, _e = ge.toString, mr = RegExp(
|
|
3383
3387
|
"^" + vt.call(H).replace(Xn, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
3384
|
-
), Nt = rr ? G.Buffer : void 0,
|
|
3388
|
+
), Nt = rr ? G.Buffer : void 0, xt = G.Symbol, Rt = G.Uint8Array, fr = Ge(Object.getPrototypeOf, Object), hr = Object.create, pr = ge.propertyIsEnumerable, yr = lr.splice, Pt = Object.getOwnPropertySymbols, gr = Nt ? Nt.isBuffer : void 0, _r = Ge(Object.keys, Object), Fe = X(G, "DataView"), ce = X(G, "Map"), Ue = X(G, "Promise"), He = X(G, "Set"), qe = X(G, "WeakMap"), ue = X(Object, "create"), wr = j(Fe), br = j(ce), Tr = j(Ue), Dr = j(He), Sr = j(qe), It = xt ? xt.prototype : void 0, Ct = It ? It.valueOf : void 0;
|
|
3385
3389
|
function L(a) {
|
|
3386
3390
|
var s = -1, u = a ? a.length : 0;
|
|
3387
3391
|
for (this.clear(); ++s < u; ) {
|
|
@@ -3419,10 +3423,10 @@ function rs() {
|
|
|
3419
3423
|
this.set(m[0], m[1]);
|
|
3420
3424
|
}
|
|
3421
3425
|
}
|
|
3422
|
-
function
|
|
3426
|
+
function xr() {
|
|
3423
3427
|
this.__data__ = [];
|
|
3424
3428
|
}
|
|
3425
|
-
function
|
|
3429
|
+
function Rr(a) {
|
|
3426
3430
|
var s = this.__data__, u = we(s, a);
|
|
3427
3431
|
if (u < 0)
|
|
3428
3432
|
return !1;
|
|
@@ -3440,7 +3444,7 @@ function rs() {
|
|
|
3440
3444
|
var u = this.__data__, m = we(u, a);
|
|
3441
3445
|
return m < 0 ? u.push([a, s]) : u[m][1] = s, this;
|
|
3442
3446
|
}
|
|
3443
|
-
Y.prototype.clear =
|
|
3447
|
+
Y.prototype.clear = xr, Y.prototype.delete = Rr, Y.prototype.get = Pr, Y.prototype.has = Ir, Y.prototype.set = Cr;
|
|
3444
3448
|
function Q(a) {
|
|
3445
3449
|
var s = -1, u = a ? a.length : 0;
|
|
3446
3450
|
for (this.clear(); ++s < u; ) {
|
|
@@ -3580,7 +3584,7 @@ function rs() {
|
|
|
3580
3584
|
}
|
|
3581
3585
|
function We(a) {
|
|
3582
3586
|
var s = new a.constructor(a.byteLength);
|
|
3583
|
-
return new
|
|
3587
|
+
return new Rt(s).set(new Rt(a)), s;
|
|
3584
3588
|
}
|
|
3585
3589
|
function Kr(a, s) {
|
|
3586
3590
|
var u = s ? We(a.buffer) : a.buffer;
|
|
@@ -3634,7 +3638,7 @@ function rs() {
|
|
|
3634
3638
|
return Qr(u) ? u : void 0;
|
|
3635
3639
|
}
|
|
3636
3640
|
var Gt = Pt ? Ge(Pt, Object) : wa, W = Br;
|
|
3637
|
-
(Fe && W(new Fe(new ArrayBuffer(1))) != ye || ce && W(new ce()) != _ || Ue && W(Ue.resolve()) != w || He && W(new He()) !=
|
|
3641
|
+
(Fe && W(new Fe(new ArrayBuffer(1))) != ye || ce && W(new ce()) != _ || Ue && W(Ue.resolve()) != w || He && W(new He()) != x || qe && W(new qe()) != ke) && (W = function(a) {
|
|
3638
3642
|
var s = _e.call(a), u = s == p ? a.constructor : void 0, m = u ? j(u) : void 0;
|
|
3639
3643
|
if (m)
|
|
3640
3644
|
switch (m) {
|
|
@@ -3645,7 +3649,7 @@ function rs() {
|
|
|
3645
3649
|
case Tr:
|
|
3646
3650
|
return w;
|
|
3647
3651
|
case Dr:
|
|
3648
|
-
return
|
|
3652
|
+
return x;
|
|
3649
3653
|
case Sr:
|
|
3650
3654
|
return ke;
|
|
3651
3655
|
}
|
|
@@ -3681,11 +3685,11 @@ function rs() {
|
|
|
3681
3685
|
case _:
|
|
3682
3686
|
return Jr(a, m, u);
|
|
3683
3687
|
case C:
|
|
3684
|
-
case
|
|
3688
|
+
case R:
|
|
3685
3689
|
return new M(a);
|
|
3686
3690
|
case E:
|
|
3687
3691
|
return ea(a);
|
|
3688
|
-
case
|
|
3692
|
+
case x:
|
|
3689
3693
|
return ta(a, m, u);
|
|
3690
3694
|
case A:
|
|
3691
3695
|
return na(a);
|
|
@@ -4284,15 +4288,15 @@ const Js = ({
|
|
|
4284
4288
|
for (const w in t)
|
|
4285
4289
|
t[w].forEach((E) => {
|
|
4286
4290
|
h += o.next(c, l);
|
|
4287
|
-
const
|
|
4291
|
+
const x = {
|
|
4288
4292
|
[w]: E,
|
|
4289
4293
|
[e.name]: h
|
|
4290
|
-
},
|
|
4294
|
+
}, R = {
|
|
4291
4295
|
version: "1.0",
|
|
4292
4296
|
timestamp: new Date(p).toISOString(),
|
|
4293
|
-
event:
|
|
4297
|
+
event: x
|
|
4294
4298
|
};
|
|
4295
|
-
g.push(
|
|
4299
|
+
g.push(R);
|
|
4296
4300
|
});
|
|
4297
4301
|
else {
|
|
4298
4302
|
h += o.next(c, l);
|
|
@@ -4340,14 +4344,14 @@ const Js = ({
|
|
|
4340
4344
|
if (t)
|
|
4341
4345
|
for (const w in t)
|
|
4342
4346
|
t[w].forEach((E) => {
|
|
4343
|
-
const
|
|
4344
|
-
e.forEach((
|
|
4345
|
-
const A = `${w}:${E}:${
|
|
4346
|
-
h[A] = (h[A] || 0) + o.next(c, l), R
|
|
4347
|
+
const x = { [w]: E };
|
|
4348
|
+
e.forEach((R) => {
|
|
4349
|
+
const A = `${w}:${E}:${R.name}`;
|
|
4350
|
+
h[A] = (h[A] || 0) + o.next(c, l), x[R.name] = h[A];
|
|
4347
4351
|
}), g.push({
|
|
4348
4352
|
version: "1.0",
|
|
4349
4353
|
timestamp: new Date(p).toISOString(),
|
|
4350
|
-
event:
|
|
4354
|
+
event: x
|
|
4351
4355
|
});
|
|
4352
4356
|
});
|
|
4353
4357
|
else {
|
|
@@ -4387,19 +4391,19 @@ const Js = ({
|
|
|
4387
4391
|
}, ys = (e, t, n, r) => {
|
|
4388
4392
|
const i = Math.floor(Math.random() * 9991) + 10, o = new ut(i), [c, l] = r || [50, 500], f = Date.now() - 360 * 60 * 1e3, y = Date.now(), g = new Date((f + y) / 2).toISOString(), h = [];
|
|
4389
4393
|
if (t) {
|
|
4390
|
-
const p = Object.keys(t), w = Object.values(t), E = (
|
|
4391
|
-
if (
|
|
4394
|
+
const p = Object.keys(t), w = Object.values(t), E = (x, R) => {
|
|
4395
|
+
if (R === p.length) {
|
|
4392
4396
|
e.forEach((A) => {
|
|
4393
|
-
|
|
4397
|
+
x[A.name] = o.next(c, l);
|
|
4394
4398
|
}), h.push({
|
|
4395
4399
|
version: "1.0",
|
|
4396
4400
|
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
4397
|
-
event: { ...
|
|
4401
|
+
event: { ...x }
|
|
4398
4402
|
});
|
|
4399
4403
|
return;
|
|
4400
4404
|
}
|
|
4401
|
-
w[
|
|
4402
|
-
E({ ...
|
|
4405
|
+
w[R].forEach((A) => {
|
|
4406
|
+
E({ ...x, [p[R]]: A }, R + 1);
|
|
4403
4407
|
});
|
|
4404
4408
|
};
|
|
4405
4409
|
E({}, 0);
|
|
@@ -4565,9 +4569,9 @@ export {
|
|
|
4565
4569
|
bs as DEFAULT_MAX_REQUEST_RECORDS,
|
|
4566
4570
|
Bs as DeltaQueryTime,
|
|
4567
4571
|
Os as EXPORT_RECORD_LIMIT,
|
|
4568
|
-
|
|
4572
|
+
xe as Granularities,
|
|
4569
4573
|
Es as INJECT_QUERY_PROVIDER,
|
|
4570
|
-
|
|
4574
|
+
xa as PLATFORM_DATASOURCES,
|
|
4571
4575
|
Ms as REFRESH_INTERVAL_MS,
|
|
4572
4576
|
ut as SeededRandom,
|
|
4573
4577
|
Ks as TIMEFRAME_LOOKUP,
|
|
@@ -4576,7 +4580,7 @@ export {
|
|
|
4576
4580
|
d as TimeframeKeys,
|
|
4577
4581
|
Vs as TimeseriesQueryTime,
|
|
4578
4582
|
ts as UnaryQueryTime,
|
|
4579
|
-
|
|
4583
|
+
Ra as agenticExploreAggregations,
|
|
4580
4584
|
Ja as agenticUsageSchema,
|
|
4581
4585
|
Ma as aiExploreAggregations,
|
|
4582
4586
|
Us as apiRequestsQuerySchema,
|
|
@@ -4600,7 +4604,7 @@ export {
|
|
|
4600
4604
|
rc as fetchAllRequests,
|
|
4601
4605
|
Ce as filterableAgenticExploreDimensions,
|
|
4602
4606
|
Ie as filterableAiExploreDimensions,
|
|
4603
|
-
|
|
4607
|
+
Re as filterableBasicExploreDimensions,
|
|
4604
4608
|
Pe as filterableExploreDimensions,
|
|
4605
4609
|
it as filterableManagedCacheExploreDimensions,
|
|
4606
4610
|
Qa as filterablePlatformPresetFilterDimensions,
|
|
@@ -4647,8 +4651,8 @@ export {
|
|
|
4647
4651
|
Cs as relativeTimeRangeValuesV4,
|
|
4648
4652
|
Ns as reportChartTypes,
|
|
4649
4653
|
Sa as requestFilterTypeEmptyV2,
|
|
4650
|
-
|
|
4651
|
-
|
|
4654
|
+
xs as requestFilterTypeEqualsV2,
|
|
4655
|
+
Rs as requestFilterTypeMetricV2,
|
|
4652
4656
|
Ps as requestFilterTypeWildcardV2,
|
|
4653
4657
|
Ds as restoreAfterCapture,
|
|
4654
4658
|
Ua as scatterChartSchema,
|