@gravitee/gamma-lib-observability 1.27.0 → 1.27.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.
|
@@ -6,6 +6,18 @@ export interface HttpLogsSourceOptions extends HttpOptions {
|
|
|
6
6
|
* @default '/logs/search'
|
|
7
7
|
*/
|
|
8
8
|
readonly searchPath?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Template for the single-log detail endpoint (headers + body).
|
|
11
|
+
* Placeholders: `{apiId}`, `{requestId}`.
|
|
12
|
+
* @default '/apis/{apiId}/logs/{requestId}'
|
|
13
|
+
*/
|
|
14
|
+
readonly logDetailPath?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Template for the analytics detail endpoint (enriched metadata).
|
|
17
|
+
* Placeholders: `{apiId}`, `{requestId}`.
|
|
18
|
+
* @default '/apis/{apiId}/analytics/{requestId}'
|
|
19
|
+
*/
|
|
20
|
+
readonly analyticsDetailPath?: string;
|
|
9
21
|
}
|
|
10
22
|
export declare function createHttpLogsSource(baseUrl: string, options?: HttpLogsSourceOptions): LogsDataSource<unknown>;
|
|
11
23
|
//# sourceMappingURL=http-logs-source.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http-logs-source.d.ts","sourceRoot":"","sources":["../../src/data-sources/http-logs-source.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAK9D,OAAO,KAAK,EAAE,cAAc,EAAmB,MAAM,oBAAoB,CAAC;AAE1E,MAAM,WAAW,qBAAsB,SAAQ,WAAW;IACxD;;;OAGG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"http-logs-source.d.ts","sourceRoot":"","sources":["../../src/data-sources/http-logs-source.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAK9D,OAAO,KAAK,EAAE,cAAc,EAAmB,MAAM,oBAAoB,CAAC;AAE1E,MAAM,WAAW,qBAAsB,SAAQ,WAAW;IACxD;;;OAGG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,QAAQ,CAAC,mBAAmB,CAAC,EAAE,MAAM,CAAC;CACvC;AAQD,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,qBAAqB,GAAG,cAAc,CAAC,OAAO,CAAC,CAqK9G"}
|
package/dist/index.js
CHANGED
|
@@ -6552,33 +6552,51 @@ function bl(e, t) {
|
|
|
6552
6552
|
}
|
|
6553
6553
|
//#endregion
|
|
6554
6554
|
//#region src/data-sources/http-logs-source.ts
|
|
6555
|
-
var xl = "/logs/search", Sl = 10 * 365.25 * 864e5;
|
|
6556
|
-
function
|
|
6557
|
-
let n = t?.fetch ?? globalThis.fetch.bind(globalThis), r = t?.credentials, i = t?.searchPath ?? xl, a;
|
|
6558
|
-
function
|
|
6555
|
+
var xl = "/logs/search", Sl = "/apis/{apiId}/logs/{requestId}", Cl = "/apis/{apiId}/analytics/{requestId}", wl = 10 * 365.25 * 864e5;
|
|
6556
|
+
function Tl(e, t) {
|
|
6557
|
+
let n = t?.fetch ?? globalThis.fetch.bind(globalThis), r = t?.credentials, i = t?.searchPath ?? xl, a = t?.logDetailPath ?? Sl, o = t?.analyticsDetailPath ?? Cl, s, c = /* @__PURE__ */ new Map();
|
|
6558
|
+
function l(e) {
|
|
6559
6559
|
let n = {
|
|
6560
6560
|
method: "POST",
|
|
6561
6561
|
headers: al({ "Content-Type": "application/json" }, e, il(t?.headers))
|
|
6562
6562
|
};
|
|
6563
6563
|
return r && (n.credentials = r), n;
|
|
6564
6564
|
}
|
|
6565
|
-
function
|
|
6565
|
+
function u() {
|
|
6566
|
+
let e = {
|
|
6567
|
+
method: "GET",
|
|
6568
|
+
headers: al(il(t?.headers))
|
|
6569
|
+
};
|
|
6570
|
+
return r && (e.credentials = r), e;
|
|
6571
|
+
}
|
|
6572
|
+
function d(t, n) {
|
|
6566
6573
|
let r = new URLSearchParams();
|
|
6567
6574
|
t !== void 0 && r.set("page", String(t)), n !== void 0 && r.set("perPage", String(n));
|
|
6568
6575
|
let a = r.toString();
|
|
6569
6576
|
return `${e}${i}${a ? `?${a}` : ""}`;
|
|
6570
6577
|
}
|
|
6571
|
-
function
|
|
6578
|
+
function f(e) {
|
|
6572
6579
|
return {
|
|
6573
6580
|
from: new Date(e.from).toISOString(),
|
|
6574
6581
|
to: new Date(e.to).toISOString()
|
|
6575
6582
|
};
|
|
6576
6583
|
}
|
|
6577
|
-
|
|
6578
|
-
|
|
6579
|
-
|
|
6584
|
+
function p(t, n, r) {
|
|
6585
|
+
return `${e}${t.replace("{apiId}", encodeURIComponent(n)).replace("{requestId}", encodeURIComponent(r))}`;
|
|
6586
|
+
}
|
|
6587
|
+
function m(e) {
|
|
6588
|
+
for (let t of e) {
|
|
6589
|
+
let e = t;
|
|
6590
|
+
e.requestId && e.apiId && c.set(e.requestId, e);
|
|
6591
|
+
}
|
|
6592
|
+
}
|
|
6593
|
+
async function h(e, t) {
|
|
6594
|
+
let r = c.get(e);
|
|
6595
|
+
if (r) return r;
|
|
6596
|
+
let i = {
|
|
6597
|
+
timeRange: f(s ?? {
|
|
6580
6598
|
type: "absolute",
|
|
6581
|
-
from: Date.now() -
|
|
6599
|
+
from: Date.now() - wl,
|
|
6582
6600
|
to: Date.now()
|
|
6583
6601
|
}),
|
|
6584
6602
|
filters: [{
|
|
@@ -6586,59 +6604,75 @@ function Cl(e, t) {
|
|
|
6586
6604
|
operator: "EQ",
|
|
6587
6605
|
value: e
|
|
6588
6606
|
}]
|
|
6589
|
-
},
|
|
6590
|
-
|
|
6591
|
-
let
|
|
6592
|
-
if (!
|
|
6593
|
-
|
|
6607
|
+
}, a = l();
|
|
6608
|
+
a.body = JSON.stringify(i), t && (a.signal = t);
|
|
6609
|
+
let o = await n(d(1, 1), a);
|
|
6610
|
+
if (!o.ok) return null;
|
|
6611
|
+
let u = (await o.json()).data?.[0];
|
|
6612
|
+
return u?.requestId && u?.apiId ? (c.set(u.requestId, u), u) : null;
|
|
6613
|
+
}
|
|
6614
|
+
async function g(e, t) {
|
|
6615
|
+
let r = await h(e, t);
|
|
6616
|
+
if (!r) return null;
|
|
6617
|
+
let i = r.apiId, s = u();
|
|
6618
|
+
t && (s.signal = t);
|
|
6619
|
+
let [c, l] = await Promise.all([n(p(a, i, e), { ...s }), n(p(o, i, e), { ...s })]);
|
|
6620
|
+
if (!c.ok) throw Error(`[gamma-lib-observability] HTTP ${c.status} on GET ${a} (getById)`);
|
|
6621
|
+
if (!l.ok) throw Error(`[gamma-lib-observability] HTTP ${l.status} on GET ${o} (getById)`);
|
|
6622
|
+
let [d, f] = await Promise.all([c.json(), l.json()]);
|
|
6623
|
+
return {
|
|
6624
|
+
...r,
|
|
6625
|
+
...f,
|
|
6626
|
+
...d
|
|
6627
|
+
};
|
|
6594
6628
|
}
|
|
6595
6629
|
return {
|
|
6596
6630
|
async fetchLogs(e) {
|
|
6597
6631
|
let t = yi(e.timeRange);
|
|
6598
|
-
|
|
6599
|
-
let r = rl(e.filters),
|
|
6600
|
-
r && (
|
|
6601
|
-
let
|
|
6602
|
-
|
|
6603
|
-
let
|
|
6604
|
-
if (!
|
|
6605
|
-
let
|
|
6606
|
-
return {
|
|
6607
|
-
entries:
|
|
6608
|
-
totalCount:
|
|
6609
|
-
page:
|
|
6610
|
-
pageCount:
|
|
6632
|
+
s = t;
|
|
6633
|
+
let r = rl(e.filters), a = { timeRange: f(t) };
|
|
6634
|
+
r && (a.filters = r);
|
|
6635
|
+
let o = l();
|
|
6636
|
+
o.body = JSON.stringify(a), e.signal && (o.signal = e.signal);
|
|
6637
|
+
let c = await n(d(e.page, e.perPage), o);
|
|
6638
|
+
if (!c.ok) throw Error(`[gamma-lib-observability] HTTP ${c.status} on POST ${i}`);
|
|
6639
|
+
let u = await c.json(), p = u.data ?? [];
|
|
6640
|
+
return m(p), {
|
|
6641
|
+
entries: p,
|
|
6642
|
+
totalCount: u.pagination?.totalCount,
|
|
6643
|
+
page: u.pagination?.page,
|
|
6644
|
+
pageCount: u.pagination?.pageCount
|
|
6611
6645
|
};
|
|
6612
6646
|
},
|
|
6613
|
-
getById:
|
|
6647
|
+
getById: g
|
|
6614
6648
|
};
|
|
6615
6649
|
}
|
|
6616
6650
|
//#endregion
|
|
6617
6651
|
//#region src/data-sources/http-traces-source.ts
|
|
6618
|
-
var
|
|
6619
|
-
function
|
|
6652
|
+
var El = "/observability/traces/search";
|
|
6653
|
+
function Dl(e) {
|
|
6620
6654
|
return e / 1e6;
|
|
6621
6655
|
}
|
|
6622
|
-
function
|
|
6656
|
+
function Ol(e) {
|
|
6623
6657
|
return e;
|
|
6624
6658
|
}
|
|
6625
|
-
function
|
|
6659
|
+
function kl(e) {
|
|
6626
6660
|
return {
|
|
6627
6661
|
name: e.name,
|
|
6628
6662
|
timestampEpochMs: e.timestampEpochMs,
|
|
6629
|
-
attributes:
|
|
6663
|
+
attributes: Ol(e.attributes)
|
|
6630
6664
|
};
|
|
6631
6665
|
}
|
|
6632
|
-
function
|
|
6666
|
+
function Al(e) {
|
|
6633
6667
|
return {
|
|
6634
6668
|
timestampEpochMs: e.timestampEpochMs,
|
|
6635
6669
|
body: e.body,
|
|
6636
6670
|
severity: e.severity,
|
|
6637
|
-
attributes:
|
|
6671
|
+
attributes: Ol(e.attributes)
|
|
6638
6672
|
};
|
|
6639
6673
|
}
|
|
6640
|
-
function
|
|
6641
|
-
let t =
|
|
6674
|
+
function jl(e) {
|
|
6675
|
+
let t = Dl(e.durationNanos);
|
|
6642
6676
|
return {
|
|
6643
6677
|
traceId: e.traceId,
|
|
6644
6678
|
rootOperationName: e.rootOperationName,
|
|
@@ -6649,8 +6683,8 @@ function kl(e) {
|
|
|
6649
6683
|
status: e.status
|
|
6650
6684
|
};
|
|
6651
6685
|
}
|
|
6652
|
-
function
|
|
6653
|
-
let t = e.startTimeEpochMs, n =
|
|
6686
|
+
function Ml(e) {
|
|
6687
|
+
let t = e.startTimeEpochMs, n = Dl(e.durationNanos);
|
|
6654
6688
|
return {
|
|
6655
6689
|
traceId: e.traceId,
|
|
6656
6690
|
spanId: e.spanId,
|
|
@@ -6663,23 +6697,23 @@ function Al(e) {
|
|
|
6663
6697
|
status: e.status,
|
|
6664
6698
|
kind: e.kind,
|
|
6665
6699
|
attributes: e.attributes,
|
|
6666
|
-
events: e.events.map(
|
|
6667
|
-
payloadLogs: e.payloadLogs.map(
|
|
6700
|
+
events: e.events.map(kl),
|
|
6701
|
+
payloadLogs: e.payloadLogs.map(Al)
|
|
6668
6702
|
};
|
|
6669
6703
|
}
|
|
6670
|
-
function
|
|
6671
|
-
let t = e.spans.map(
|
|
6704
|
+
function Nl(e) {
|
|
6705
|
+
let t = e.spans.map(Ml);
|
|
6672
6706
|
return {
|
|
6673
|
-
...
|
|
6707
|
+
...jl(e),
|
|
6674
6708
|
spanCount: t.length,
|
|
6675
6709
|
spans: t
|
|
6676
6710
|
};
|
|
6677
6711
|
}
|
|
6678
|
-
function
|
|
6712
|
+
function Pl(e) {
|
|
6679
6713
|
return e.endsWith("/search") ? e.slice(0, -7) : e;
|
|
6680
6714
|
}
|
|
6681
|
-
function
|
|
6682
|
-
let n = t?.fetch ?? globalThis.fetch.bind(globalThis), r = t?.credentials, i = t?.searchPath ??
|
|
6715
|
+
function Fl(e, t) {
|
|
6716
|
+
let n = t?.fetch ?? globalThis.fetch.bind(globalThis), r = t?.credentials, i = t?.searchPath ?? El, a = Pl(i);
|
|
6683
6717
|
function o(e) {
|
|
6684
6718
|
let n = {
|
|
6685
6719
|
method: e,
|
|
@@ -6712,7 +6746,7 @@ function Nl(e, t) {
|
|
|
6712
6746
|
if (!u.ok) throw Error(`[gamma-lib-observability] HTTP ${u.status} on POST ${i}`);
|
|
6713
6747
|
let d = await u.json();
|
|
6714
6748
|
return {
|
|
6715
|
-
entries: (d.data ?? []).map(
|
|
6749
|
+
entries: (d.data ?? []).map(jl),
|
|
6716
6750
|
totalCount: d.pagination?.totalCount,
|
|
6717
6751
|
page: d.pagination?.page,
|
|
6718
6752
|
pageCount: d.pagination?.pageCount
|
|
@@ -6723,13 +6757,13 @@ function Nl(e, t) {
|
|
|
6723
6757
|
t.signal && (i.signal = t.signal);
|
|
6724
6758
|
let s = await n(r, i);
|
|
6725
6759
|
if (!s.ok) throw Error(`[gamma-lib-observability] HTTP ${s.status} on GET ${a}/${t.traceId}`);
|
|
6726
|
-
return
|
|
6760
|
+
return Nl(await s.json());
|
|
6727
6761
|
}
|
|
6728
6762
|
};
|
|
6729
6763
|
}
|
|
6730
6764
|
//#endregion
|
|
6731
6765
|
//#region src/routing/DashboardListPage.tsx
|
|
6732
|
-
function
|
|
6766
|
+
function Il({ templates: e }) {
|
|
6733
6767
|
let t = a(), n = O(() => Va(e, t), [e, t]), r = O(() => [{
|
|
6734
6768
|
id: "name",
|
|
6735
6769
|
accessorKey: "label",
|
|
@@ -6763,7 +6797,7 @@ function Pl({ templates: e }) {
|
|
|
6763
6797
|
}
|
|
6764
6798
|
//#endregion
|
|
6765
6799
|
//#region src/routing/detail-filter.ts
|
|
6766
|
-
function
|
|
6800
|
+
function Ll(e, t, n) {
|
|
6767
6801
|
let r = e.filter((e) => e.field !== t);
|
|
6768
6802
|
return r.push({
|
|
6769
6803
|
field: t,
|
|
@@ -6772,7 +6806,7 @@ function Fl(e, t, n) {
|
|
|
6772
6806
|
value: [n]
|
|
6773
6807
|
}), r;
|
|
6774
6808
|
}
|
|
6775
|
-
function
|
|
6809
|
+
function Rl(e, t) {
|
|
6776
6810
|
let n = nr({
|
|
6777
6811
|
conditions: [...e],
|
|
6778
6812
|
timeRange: t
|
|
@@ -6781,9 +6815,9 @@ function Il(e, t) {
|
|
|
6781
6815
|
}
|
|
6782
6816
|
//#endregion
|
|
6783
6817
|
//#region src/routing/LogsRouteElement.tsx
|
|
6784
|
-
function
|
|
6818
|
+
function zl({ columns: e, getRowId: t, onRowClickOverride: n, detailConfig: r, detailMode: i, pageSize: a, scopeFilterField: o, columnVisibilityStorageKey: s, analyticsFilterMapping: c }) {
|
|
6785
6819
|
let l = !n && !!r && !!t;
|
|
6786
|
-
return l && i === "drawer" && r && t ? /* @__PURE__ */ M(
|
|
6820
|
+
return l && i === "drawer" && r && t ? /* @__PURE__ */ M(Bl, {
|
|
6787
6821
|
columns: e,
|
|
6788
6822
|
getRowId: t,
|
|
6789
6823
|
detailConfig: r,
|
|
@@ -6791,7 +6825,7 @@ function Ll({ columns: e, getRowId: t, onRowClickOverride: n, detailConfig: r, d
|
|
|
6791
6825
|
scopeFilterField: o,
|
|
6792
6826
|
columnVisibilityStorageKey: s,
|
|
6793
6827
|
analyticsFilterMapping: c
|
|
6794
|
-
}) : /* @__PURE__ */ M(
|
|
6828
|
+
}) : /* @__PURE__ */ M(Vl, {
|
|
6795
6829
|
columns: e,
|
|
6796
6830
|
getRowId: t,
|
|
6797
6831
|
onRowClickOverride: n,
|
|
@@ -6802,13 +6836,13 @@ function Ll({ columns: e, getRowId: t, onRowClickOverride: n, detailConfig: r, d
|
|
|
6802
6836
|
analyticsFilterMapping: c
|
|
6803
6837
|
});
|
|
6804
6838
|
}
|
|
6805
|
-
function
|
|
6839
|
+
function Bl({ columns: e, getRowId: t, detailConfig: n, pageSize: r, scopeFilterField: i, columnVisibilityStorageKey: a, analyticsFilterMapping: o }) {
|
|
6806
6840
|
let [s, c] = A(void 0), [l, u] = A([]), { filters: d, setFilters: f } = eo(), p = O(() => s ? l.findIndex((e) => t(e) === s) : -1, [
|
|
6807
6841
|
s,
|
|
6808
6842
|
l,
|
|
6809
6843
|
t
|
|
6810
6844
|
]), m = w((e) => c(t(e)), [t]), h = w((e, t) => {
|
|
6811
|
-
f(
|
|
6845
|
+
f(Ll(d, e, t)), c(void 0);
|
|
6812
6846
|
}, [d, f]), g = w(() => {
|
|
6813
6847
|
let e = l[p - 1];
|
|
6814
6848
|
e && c(t(e));
|
|
@@ -6845,7 +6879,7 @@ function Rl({ columns: e, getRowId: t, detailConfig: n, pageSize: r, scopeFilter
|
|
|
6845
6879
|
hasNext: p >= 0 && p < l.length - 1
|
|
6846
6880
|
})] });
|
|
6847
6881
|
}
|
|
6848
|
-
function
|
|
6882
|
+
function Vl({ columns: e, getRowId: t, onRowClickOverride: n, builtInDetailEnabled: r, pageSize: i, scopeFilterField: a, columnVisibilityStorageKey: o, analyticsFilterMapping: s }) {
|
|
6849
6883
|
let c = Zt(), { pathname: l } = Xt();
|
|
6850
6884
|
return /* @__PURE__ */ M(jo, {
|
|
6851
6885
|
columns: e,
|
|
@@ -6871,14 +6905,14 @@ function zl({ columns: e, getRowId: t, onRowClickOverride: n, builtInDetailEnabl
|
|
|
6871
6905
|
}
|
|
6872
6906
|
//#endregion
|
|
6873
6907
|
//#region src/routing/ObservabilityDashboardPage.tsx
|
|
6874
|
-
function
|
|
6908
|
+
function Hl(e) {
|
|
6875
6909
|
let [t] = $t(), n = t.get("live");
|
|
6876
6910
|
return /* @__PURE__ */ M(ln, {
|
|
6877
6911
|
config: { defaultEnabled: n === "1" || n === "true" },
|
|
6878
|
-
children: /* @__PURE__ */ M(
|
|
6912
|
+
children: /* @__PURE__ */ M(Ul, { ...e })
|
|
6879
6913
|
});
|
|
6880
6914
|
}
|
|
6881
|
-
function
|
|
6915
|
+
function Ul({ templates: e, scopeFilterField: t, externalLinks: n }) {
|
|
6882
6916
|
let { dashboardId: r } = Qt(), i = a(), o = dn(), [, s] = $t(), c = O(() => Va(e, i), [e, i]).find((e) => e.id === r), { timeRange: l, filters: u, setTimeRange: d, setFilters: f } = eo(), p = Rn(u, mn()), m = o?.isLive ?? !1;
|
|
6883
6917
|
E(() => {
|
|
6884
6918
|
s((e) => {
|
|
@@ -6940,7 +6974,7 @@ function Vl({ templates: e, scopeFilterField: t, externalLinks: n }) {
|
|
|
6940
6974
|
}
|
|
6941
6975
|
//#endregion
|
|
6942
6976
|
//#region src/data-sources/http-traces-filter-source.ts
|
|
6943
|
-
function
|
|
6977
|
+
function Wl(e) {
|
|
6944
6978
|
return {
|
|
6945
6979
|
EQ: "eq",
|
|
6946
6980
|
IN: "in",
|
|
@@ -6953,10 +6987,10 @@ function Hl(e) {
|
|
|
6953
6987
|
CONTAINS: "contains"
|
|
6954
6988
|
}[e] ?? e.toLowerCase();
|
|
6955
6989
|
}
|
|
6956
|
-
function
|
|
6990
|
+
function Gl(e) {
|
|
6957
6991
|
return e === "ENUM" || e === "BOOLEAN" ? "enum" : "async";
|
|
6958
6992
|
}
|
|
6959
|
-
function
|
|
6993
|
+
function Kl(e, t) {
|
|
6960
6994
|
let n = t?.fetch ?? globalThis.fetch.bind(globalThis), r = t?.credentials, i = t?.module;
|
|
6961
6995
|
function a(e) {
|
|
6962
6996
|
let n = { ...e }, i = il(t?.headers);
|
|
@@ -6986,7 +7020,7 @@ function Wl(e, t) {
|
|
|
6986
7020
|
let r = await n(`${e}/observability/traces/filters/definition`, a({ signal: t }));
|
|
6987
7021
|
if (!r.ok) throw Error(`[gamma-lib-observability] HTTP ${r.status} on GET traces/filters/definition`);
|
|
6988
7022
|
return (await r.json()).data.map((e) => {
|
|
6989
|
-
let t =
|
|
7023
|
+
let t = Gl(e.type), n = e.operators.map(Wl);
|
|
6990
7024
|
if (e.type === "BOOLEAN") return {
|
|
6991
7025
|
field: e.name,
|
|
6992
7026
|
label: e.label,
|
|
@@ -7029,8 +7063,8 @@ function Wl(e, t) {
|
|
|
7029
7063
|
}
|
|
7030
7064
|
//#endregion
|
|
7031
7065
|
//#region src/routing/TracingFilterProvider.tsx
|
|
7032
|
-
function
|
|
7033
|
-
let i = O(() =>
|
|
7066
|
+
function ql({ baseUrl: e, http: t, module: n, children: r }) {
|
|
7067
|
+
let i = O(() => Kl(e, {
|
|
7034
7068
|
...t,
|
|
7035
7069
|
module: n
|
|
7036
7070
|
}), [
|
|
@@ -7052,15 +7086,15 @@ function Gl({ baseUrl: e, http: t, module: n, children: r }) {
|
|
|
7052
7086
|
}
|
|
7053
7087
|
//#endregion
|
|
7054
7088
|
//#region src/routing/TracesRouteElement.tsx
|
|
7055
|
-
function
|
|
7056
|
-
return M(e === "drawer" ?
|
|
7089
|
+
function Jl({ detailMode: e, pageSize: t, columnVisibilityStorageKey: n, toolbarStart: r, emptyVariant: i }) {
|
|
7090
|
+
return M(e === "drawer" ? Yl : Xl, {
|
|
7057
7091
|
pageSize: t,
|
|
7058
7092
|
columnVisibilityStorageKey: n,
|
|
7059
7093
|
toolbarStart: r,
|
|
7060
7094
|
emptyVariant: i
|
|
7061
7095
|
});
|
|
7062
7096
|
}
|
|
7063
|
-
function
|
|
7097
|
+
function Yl({ pageSize: e, columnVisibilityStorageKey: t, toolbarStart: n, emptyVariant: r }) {
|
|
7064
7098
|
let { apiId: i } = Qt(), [a, o] = A(void 0), [s, c] = A([]), l = O(() => a ? s.findIndex((e) => e.traceId === a) : -1, [a, s]), u = w((e) => o(e.traceId), []), d = w(() => o(void 0), []), f = w(() => {
|
|
7065
7099
|
let e = s[l - 1];
|
|
7066
7100
|
e && o(e.traceId);
|
|
@@ -7086,7 +7120,7 @@ function ql({ pageSize: e, columnVisibilityStorageKey: t, toolbarStart: n, empty
|
|
|
7086
7120
|
hasNext: l >= 0 && l < s.length - 1
|
|
7087
7121
|
})] });
|
|
7088
7122
|
}
|
|
7089
|
-
function
|
|
7123
|
+
function Xl({ pageSize: e, columnVisibilityStorageKey: t, toolbarStart: n, emptyVariant: r }) {
|
|
7090
7124
|
let i = Zt(), { pathname: a } = Xt(), { apiId: o } = Qt();
|
|
7091
7125
|
return /* @__PURE__ */ M(Ks, {
|
|
7092
7126
|
onRowClick: O(() => {
|
|
@@ -7106,7 +7140,7 @@ function Jl({ pageSize: e, columnVisibilityStorageKey: t, toolbarStart: n, empty
|
|
|
7106
7140
|
}
|
|
7107
7141
|
//#endregion
|
|
7108
7142
|
//#region src/routing/TracingScreen.tsx
|
|
7109
|
-
function
|
|
7143
|
+
function Zl(e) {
|
|
7110
7144
|
let t = e !== void 0 && ac(e), n = P({
|
|
7111
7145
|
queryKey: J.tracingApis(),
|
|
7112
7146
|
queryFn: ({ signal: t }) => e(t),
|
|
@@ -7130,19 +7164,19 @@ function Yl(e) {
|
|
|
7130
7164
|
refetch: () => {}
|
|
7131
7165
|
};
|
|
7132
7166
|
}
|
|
7133
|
-
function
|
|
7167
|
+
function Ql(e) {
|
|
7134
7168
|
return O(() => {
|
|
7135
7169
|
if (!(e === void 0 || !sc(e))) return oc(e);
|
|
7136
7170
|
}, [e]);
|
|
7137
7171
|
}
|
|
7138
|
-
function
|
|
7139
|
-
let { apiId: i } = Qt(), a = Zt(), { pathname: o } = Xt(), { options: s, loading: c, error: l, refetch: u } =
|
|
7172
|
+
function $l({ loadTracingApis: e, detailMode: t = "drawer", pageSize: n, columnVisibilityStorageKey: r }) {
|
|
7173
|
+
let { apiId: i } = Qt(), a = Zt(), { pathname: o } = Xt(), { options: s, loading: c, error: l, refetch: u } = Zl(e), d = Ql(e), f = e !== void 0, p = O(() => {
|
|
7140
7174
|
let e = o.replace(/\/+$/, "");
|
|
7141
7175
|
if (!i) return e;
|
|
7142
7176
|
let t = e.lastIndexOf("/");
|
|
7143
7177
|
return t > 0 ? e.slice(0, t) : e;
|
|
7144
7178
|
}, [o, i]), m = w((e) => a(`${p}/${encodeURIComponent(e)}`), [a, p]);
|
|
7145
|
-
return /* @__PURE__ */ M(
|
|
7179
|
+
return /* @__PURE__ */ M(Jl, {
|
|
7146
7180
|
detailMode: t,
|
|
7147
7181
|
pageSize: n,
|
|
7148
7182
|
columnVisibilityStorageKey: r,
|
|
@@ -7164,29 +7198,29 @@ function Zl({ loadTracingApis: e, detailMode: t = "drawer", pageSize: n, columnV
|
|
|
7164
7198
|
}
|
|
7165
7199
|
//#endregion
|
|
7166
7200
|
//#region src/routing/ObservabilityRoutes.tsx
|
|
7167
|
-
var
|
|
7168
|
-
function
|
|
7201
|
+
var eu = [];
|
|
7202
|
+
function tu(e, t, n) {
|
|
7169
7203
|
return e ? /* @__PURE__ */ M(g, {
|
|
7170
7204
|
dataSource: t,
|
|
7171
7205
|
children: n
|
|
7172
7206
|
}) : n;
|
|
7173
7207
|
}
|
|
7174
|
-
function
|
|
7208
|
+
function nu(e, t, n) {
|
|
7175
7209
|
return e ? /* @__PURE__ */ M(s, {
|
|
7176
7210
|
dataSource: t,
|
|
7177
7211
|
children: n
|
|
7178
7212
|
}) : n;
|
|
7179
7213
|
}
|
|
7180
|
-
function
|
|
7214
|
+
function ru({ children: e }) {
|
|
7181
7215
|
let t = mn(), { data: n, isLoading: r, isError: i } = P({
|
|
7182
7216
|
queryKey: ["observability", "filter-definitions"],
|
|
7183
7217
|
queryFn: ({ signal: e }) => t.fetchFilterDefinitions(e),
|
|
7184
7218
|
enabled: !!t,
|
|
7185
7219
|
staleTime: 300 * 1e3
|
|
7186
7220
|
});
|
|
7187
|
-
return r ? /* @__PURE__ */ M(
|
|
7221
|
+
return r ? /* @__PURE__ */ M(iu, {}) : i || !n ? /* @__PURE__ */ M(j, { children: e([]) }) : /* @__PURE__ */ M(j, { children: e(n) });
|
|
7188
7222
|
}
|
|
7189
|
-
function
|
|
7223
|
+
function iu() {
|
|
7190
7224
|
return /* @__PURE__ */ N("div", {
|
|
7191
7225
|
className: "flex items-center gap-2 p-4",
|
|
7192
7226
|
children: [
|
|
@@ -7196,35 +7230,35 @@ function nu() {
|
|
|
7196
7230
|
]
|
|
7197
7231
|
});
|
|
7198
7232
|
}
|
|
7199
|
-
function
|
|
7233
|
+
function au({ baseUrl: e, http: t, children: n }) {
|
|
7200
7234
|
let { apiId: r } = Qt();
|
|
7201
|
-
return /* @__PURE__ */ M(
|
|
7235
|
+
return /* @__PURE__ */ M(ql, {
|
|
7202
7236
|
baseUrl: e,
|
|
7203
7237
|
http: t,
|
|
7204
7238
|
module: r,
|
|
7205
7239
|
children: n
|
|
7206
7240
|
});
|
|
7207
7241
|
}
|
|
7208
|
-
function
|
|
7242
|
+
function ou({ templates: e, contextFilters: t }) {
|
|
7209
7243
|
let n = a(), r = O(() => Va(e, n), [e, n]);
|
|
7210
7244
|
return r.length === 1 && r[0] ? /* @__PURE__ */ M(qt, {
|
|
7211
7245
|
to: `./${r[0].id}`,
|
|
7212
7246
|
replace: !0
|
|
7213
7247
|
}) : /* @__PURE__ */ M(kn, {
|
|
7214
7248
|
filters: t,
|
|
7215
|
-
children: /* @__PURE__ */ M(
|
|
7249
|
+
children: /* @__PURE__ */ M(Il, { templates: e })
|
|
7216
7250
|
});
|
|
7217
7251
|
}
|
|
7218
|
-
function
|
|
7219
|
-
let b = _n(), x = r ?? b, S = a(), C = c(), ee = O(() => _l(e, x), [e, x]), te = o !== void 0 || C === null, ne = o ?? C ?? ee, w = O(() => bl(e, x), [e, x]), T = i(), E = O(() => y.features.logs?.enabled ?
|
|
7252
|
+
function su({ baseUrl: e, tracesBaseUrl: n, http: r, dataSource: o, filterProviders: s, logsPage: l, logsDataSource: u, logsColumns: d, logsOnRowClick: f, logsGetRowId: p, logsDetailBasePath: g, tracesDataSource: _, loadTracingApis: v, config: y }) {
|
|
7253
|
+
let b = _n(), x = r ?? b, S = a(), C = c(), ee = O(() => _l(e, x), [e, x]), te = o !== void 0 || C === null, ne = o ?? C ?? ee, w = O(() => bl(e, x), [e, x]), T = i(), E = O(() => y.features.logs?.enabled ? Tl(e, x) : void 0, [
|
|
7220
7254
|
e,
|
|
7221
7255
|
x,
|
|
7222
7256
|
y.features.logs?.enabled
|
|
7223
|
-
]), D = u ?? T ?? E, k = u !== void 0 || T === null, A = t(), re = n ?? e, ie = O(() => y.features.tracing?.enabled ?
|
|
7257
|
+
]), D = u ?? T ?? E, k = u !== void 0 || T === null, A = t(), re = n ?? e, ie = O(() => y.features.tracing?.enabled ? Fl(re, x) : void 0, [
|
|
7224
7258
|
re,
|
|
7225
7259
|
x,
|
|
7226
7260
|
y.features.tracing?.enabled
|
|
7227
|
-
]), ae = _ ?? A ?? ie, P = _ !== void 0 || A === null, F = y.features.dashboards, I = y.features.logs, L = y.features.tracing, oe = F?.contextFilters ??
|
|
7261
|
+
]), ae = _ ?? A ?? ie, P = _ !== void 0 || A === null, F = y.features.dashboards, I = y.features.logs, L = y.features.tracing, oe = F?.contextFilters ?? eu, R = I?.contextFilters ?? eu, z = I?.enabled, se = I?.logDetail, ce = I?.analyticsFilterMapping, le = O(() => {
|
|
7228
7262
|
if (z) return se || fs({
|
|
7229
7263
|
basePath: g ?? "",
|
|
7230
7264
|
contextChart: { analyticsFilterMapping: ce }
|
|
@@ -7239,7 +7273,7 @@ function au({ baseUrl: e, tracesBaseUrl: n, http: r, dataSource: o, filterProvid
|
|
|
7239
7273
|
children: /* @__PURE__ */ N(Yt, { children: [
|
|
7240
7274
|
F?.enabled && /* @__PURE__ */ N(j, { children: [/* @__PURE__ */ M(Jt, {
|
|
7241
7275
|
path: "dashboards",
|
|
7242
|
-
element: /* @__PURE__ */ M(
|
|
7276
|
+
element: /* @__PURE__ */ M(ou, {
|
|
7243
7277
|
templates: F.templates,
|
|
7244
7278
|
contextFilters: oe
|
|
7245
7279
|
})
|
|
@@ -7247,7 +7281,7 @@ function au({ baseUrl: e, tracesBaseUrl: n, http: r, dataSource: o, filterProvid
|
|
|
7247
7281
|
path: "dashboards/:dashboardId",
|
|
7248
7282
|
element: /* @__PURE__ */ M(kn, {
|
|
7249
7283
|
filters: oe,
|
|
7250
|
-
children: /* @__PURE__ */ M(
|
|
7284
|
+
children: /* @__PURE__ */ M(Hl, {
|
|
7251
7285
|
templates: F.templates,
|
|
7252
7286
|
scopeFilterField: F.scopeFilterField,
|
|
7253
7287
|
externalLinks: F.externalLinks
|
|
@@ -7258,7 +7292,7 @@ function au({ baseUrl: e, tracesBaseUrl: n, http: r, dataSource: o, filterProvid
|
|
|
7258
7292
|
path: "logs",
|
|
7259
7293
|
element: /* @__PURE__ */ M(kn, {
|
|
7260
7294
|
filters: R,
|
|
7261
|
-
children: l ?? (D && d ?
|
|
7295
|
+
children: l ?? (D && d ? tu(k, D, /* @__PURE__ */ M(zl, {
|
|
7262
7296
|
columns: d,
|
|
7263
7297
|
getRowId: p,
|
|
7264
7298
|
onRowClickOverride: f,
|
|
@@ -7278,16 +7312,16 @@ function au({ baseUrl: e, tracesBaseUrl: n, http: r, dataSource: o, filterProvid
|
|
|
7278
7312
|
path: "logs/:logId",
|
|
7279
7313
|
element: /* @__PURE__ */ M(kn, {
|
|
7280
7314
|
filters: R,
|
|
7281
|
-
children:
|
|
7315
|
+
children: tu(k, D, /* @__PURE__ */ M(cu, { config: le }))
|
|
7282
7316
|
})
|
|
7283
7317
|
}),
|
|
7284
7318
|
L?.enabled && S["observability.traces.read"] && ae && /* @__PURE__ */ N(j, { children: [
|
|
7285
7319
|
/* @__PURE__ */ M(Jt, {
|
|
7286
7320
|
path: "tracing",
|
|
7287
|
-
element:
|
|
7321
|
+
element: nu(P, ae, /* @__PURE__ */ M(au, {
|
|
7288
7322
|
baseUrl: re,
|
|
7289
7323
|
http: x,
|
|
7290
|
-
children: /* @__PURE__ */ M(
|
|
7324
|
+
children: /* @__PURE__ */ M($l, {
|
|
7291
7325
|
loadTracingApis: v,
|
|
7292
7326
|
detailMode: L.detailMode ?? "drawer",
|
|
7293
7327
|
pageSize: L.pageSize,
|
|
@@ -7297,10 +7331,10 @@ function au({ baseUrl: e, tracesBaseUrl: n, http: r, dataSource: o, filterProvid
|
|
|
7297
7331
|
}),
|
|
7298
7332
|
/* @__PURE__ */ M(Jt, {
|
|
7299
7333
|
path: "tracing/:apiId",
|
|
7300
|
-
element:
|
|
7334
|
+
element: nu(P, ae, /* @__PURE__ */ M(au, {
|
|
7301
7335
|
baseUrl: re,
|
|
7302
7336
|
http: x,
|
|
7303
|
-
children: /* @__PURE__ */ M(
|
|
7337
|
+
children: /* @__PURE__ */ M($l, {
|
|
7304
7338
|
loadTracingApis: v,
|
|
7305
7339
|
detailMode: L.detailMode ?? "drawer",
|
|
7306
7340
|
pageSize: L.pageSize,
|
|
@@ -7310,7 +7344,7 @@ function au({ baseUrl: e, tracesBaseUrl: n, http: r, dataSource: o, filterProvid
|
|
|
7310
7344
|
}),
|
|
7311
7345
|
/* @__PURE__ */ M(Jt, {
|
|
7312
7346
|
path: "tracing/:apiId/:traceId",
|
|
7313
|
-
element:
|
|
7347
|
+
element: nu(P, ae, /* @__PURE__ */ M(Jc, {}))
|
|
7314
7348
|
})
|
|
7315
7349
|
] }),
|
|
7316
7350
|
/* @__PURE__ */ M(Jt, {
|
|
@@ -7332,21 +7366,21 @@ function au({ baseUrl: e, tracesBaseUrl: n, http: r, dataSource: o, filterProvid
|
|
|
7332
7366
|
] })
|
|
7333
7367
|
}), fe = F?.enabled || I?.enabled ? /* @__PURE__ */ M(pn, {
|
|
7334
7368
|
source: w,
|
|
7335
|
-
children: s ? de(s) : /* @__PURE__ */ M(
|
|
7369
|
+
children: s ? de(s) : /* @__PURE__ */ M(ru, { children: (e) => de(e) })
|
|
7336
7370
|
}) : de(s ?? []);
|
|
7337
7371
|
return te ? /* @__PURE__ */ M(m, {
|
|
7338
7372
|
dataSource: ne,
|
|
7339
7373
|
children: fe
|
|
7340
7374
|
}) : fe;
|
|
7341
7375
|
}
|
|
7342
|
-
function
|
|
7376
|
+
function cu({ config: e }) {
|
|
7343
7377
|
let t = Zt(), { filters: n, timeRange: r } = eo();
|
|
7344
7378
|
return /* @__PURE__ */ M(Is, {
|
|
7345
7379
|
config: e,
|
|
7346
7380
|
onFilter: w((e, i) => {
|
|
7347
7381
|
t({
|
|
7348
7382
|
pathname: "..",
|
|
7349
|
-
search:
|
|
7383
|
+
search: Rl(Ll(n, e, i), r)
|
|
7350
7384
|
}, { relative: "path" });
|
|
7351
7385
|
}, [
|
|
7352
7386
|
n,
|
|
@@ -7357,7 +7391,7 @@ function ou({ config: e }) {
|
|
|
7357
7391
|
}
|
|
7358
7392
|
//#endregion
|
|
7359
7393
|
//#region src/routing/define-observability-features.ts
|
|
7360
|
-
var
|
|
7394
|
+
var lu = {
|
|
7361
7395
|
dashboards: {
|
|
7362
7396
|
icon: ct,
|
|
7363
7397
|
title: "Dashboards",
|
|
@@ -7377,10 +7411,10 @@ var su = {
|
|
|
7377
7411
|
showInNav: !0
|
|
7378
7412
|
}
|
|
7379
7413
|
};
|
|
7380
|
-
function
|
|
7381
|
-
let t = e.basePath ?? "observe", n =
|
|
7414
|
+
function uu(e) {
|
|
7415
|
+
let t = e.basePath ?? "observe", n = du(e), r = fu(e, n, t), i = n.map((e) => `${t}/${e}`), a = pu(n, t);
|
|
7382
7416
|
function o(t) {
|
|
7383
|
-
return C(
|
|
7417
|
+
return C(su, {
|
|
7384
7418
|
...t,
|
|
7385
7419
|
config: e
|
|
7386
7420
|
});
|
|
@@ -7409,13 +7443,13 @@ function cu(e) {
|
|
|
7409
7443
|
breadcrumbSegments: c
|
|
7410
7444
|
};
|
|
7411
7445
|
}
|
|
7412
|
-
function
|
|
7446
|
+
function du(e) {
|
|
7413
7447
|
let t = [];
|
|
7414
|
-
return e.features.dashboards?.enabled && t.push("dashboards"), e.features.logs?.enabled && t.push("logs"), e.features.tracing?.enabled && t.push("tracing"), t.sort((e, t) =>
|
|
7448
|
+
return e.features.dashboards?.enabled && t.push("dashboards"), e.features.logs?.enabled && t.push("logs"), e.features.tracing?.enabled && t.push("tracing"), t.sort((e, t) => lu[e].order - lu[t].order);
|
|
7415
7449
|
}
|
|
7416
|
-
function
|
|
7417
|
-
let r = t.filter((e) =>
|
|
7418
|
-
let r =
|
|
7450
|
+
function fu(e, t, n) {
|
|
7451
|
+
let r = t.filter((e) => lu[e].showInNav).map((t) => {
|
|
7452
|
+
let r = lu[t], i = e.nav.overrides?.[t];
|
|
7419
7453
|
return {
|
|
7420
7454
|
key: `${n}/${t}`,
|
|
7421
7455
|
title: i?.title ?? r.title,
|
|
@@ -7427,10 +7461,10 @@ function uu(e, t, n) {
|
|
|
7427
7461
|
items: r
|
|
7428
7462
|
};
|
|
7429
7463
|
}
|
|
7430
|
-
function
|
|
7464
|
+
function pu(e, t) {
|
|
7431
7465
|
let n = {};
|
|
7432
7466
|
for (let r of e) {
|
|
7433
|
-
let e =
|
|
7467
|
+
let e = lu[r], i = `${t}/${r}`;
|
|
7434
7468
|
n[i] = {
|
|
7435
7469
|
path: `${t}/${r}`,
|
|
7436
7470
|
label: e.title
|
|
@@ -7440,7 +7474,7 @@ function du(e, t) {
|
|
|
7440
7474
|
}
|
|
7441
7475
|
//#endregion
|
|
7442
7476
|
//#region src/build-observability-base-url.ts
|
|
7443
|
-
function
|
|
7477
|
+
function mu(e, t, n) {
|
|
7444
7478
|
let r = e;
|
|
7445
7479
|
if (n?.useDevProxy) try {
|
|
7446
7480
|
r = new URL(r).pathname;
|
|
@@ -7449,7 +7483,7 @@ function fu(e, t, n) {
|
|
|
7449
7483
|
}
|
|
7450
7484
|
//#endregion
|
|
7451
7485
|
//#region src/build-traces-base-url.ts
|
|
7452
|
-
function
|
|
7486
|
+
function hu(e, t, n, r) {
|
|
7453
7487
|
let i = e;
|
|
7454
7488
|
if (r?.useDevProxy) try {
|
|
7455
7489
|
i = new URL(i).pathname;
|
|
@@ -7457,4 +7491,4 @@ function pu(e, t, n, r) {
|
|
|
7457
7491
|
return i = i.replace(/\/+$/, ""), `${i}/organizations/${encodeURIComponent(t)}/environments/${encodeURIComponent(n)}`;
|
|
7458
7492
|
}
|
|
7459
7493
|
//#endregion
|
|
7460
|
-
export { Ri as BarPresentation, Zn as CODEC_VERSION, o as CapabilityProvider, $i as CartesianPresentation, kn as ContextFiltersProvider, Zi as DASHBOARD_BUCKET_TARGET, _ as DEFAULT_CAPABILITIES, on as DEFAULT_MEASURE, Wn as DEFAULT_PERIOD, sn as DEFAULT_REFRESH_INTERVAL_MS, q as DEFAULT_STALE_TIME, Qn as DEFAULT_TIME_RANGE, f as DashboardPersistenceProvider, Ua as DashboardTemplatesProvider, Fa as DashboardView, oa as DoughnutPresentation, Xa as ExplorerTable, v as FILTER_OPERATORS, pi as FilterBar, ii as FilterChip, Xr as FilterPopoverForm, h as FilterProvidersProvider, Bi as HTTP_STATUS_PALETTE, gn as HttpProvider, $a as LiveIndicator, ln as LiveRefreshProvider, Z as LogDetailCodeBlock, _s as LogDetailContextChart, Ps as LogDetailDrawer, Ss as LogDetailDrawerShell, Bo as LogDetailEmptyField, Es as LogDetailHeader, Q as LogDetailHeadersTable, Vo as LogDetailJsonTree, $ as LogDetailKeyValueGrid, Ds as LogDetailMetrics, Is as LogDetailPage, As as LogDetailSection, ks as LogDetailSections, ro as LogSeverityBadge, mo as LogTable, g as LogsDataSourceProvider, jo as LogsExplorerPage, _a as MetricGroupPresentation, Sa as MetricPresentation, m as MetricsDataSourceProvider, Jn as PERIOD_DISPLAY_LABELS, qn as PERIOD_LABELS, _c as POLICY_POST_EVENT, gc as POLICY_PRE_EVENT, Gn as PRESET_CATEGORIES, pc as PolicyAttributeDiff, Za as QueryErrorBanner, Kn as RELATIVE_PERIODS, Tc as SpanDetailPanel, fr as TimeRangePicker, Yc as TraceDetailDrawer, Jc as TraceDetailPage, Uc as TraceDetailShell, Ks as TraceExplorerPage, Fc as TraceLineage, Rs as TraceStatusBadge, Ws as TraceTable, Vc as TraceTimeline, s as TracesDataSourceProvider, nc as TracingApiSelector,
|
|
7494
|
+
export { Ri as BarPresentation, Zn as CODEC_VERSION, o as CapabilityProvider, $i as CartesianPresentation, kn as ContextFiltersProvider, Zi as DASHBOARD_BUCKET_TARGET, _ as DEFAULT_CAPABILITIES, on as DEFAULT_MEASURE, Wn as DEFAULT_PERIOD, sn as DEFAULT_REFRESH_INTERVAL_MS, q as DEFAULT_STALE_TIME, Qn as DEFAULT_TIME_RANGE, f as DashboardPersistenceProvider, Ua as DashboardTemplatesProvider, Fa as DashboardView, oa as DoughnutPresentation, Xa as ExplorerTable, v as FILTER_OPERATORS, pi as FilterBar, ii as FilterChip, Xr as FilterPopoverForm, h as FilterProvidersProvider, Bi as HTTP_STATUS_PALETTE, gn as HttpProvider, $a as LiveIndicator, ln as LiveRefreshProvider, Z as LogDetailCodeBlock, _s as LogDetailContextChart, Ps as LogDetailDrawer, Ss as LogDetailDrawerShell, Bo as LogDetailEmptyField, Es as LogDetailHeader, Q as LogDetailHeadersTable, Vo as LogDetailJsonTree, $ as LogDetailKeyValueGrid, Ds as LogDetailMetrics, Is as LogDetailPage, As as LogDetailSection, ks as LogDetailSections, ro as LogSeverityBadge, mo as LogTable, g as LogsDataSourceProvider, jo as LogsExplorerPage, _a as MetricGroupPresentation, Sa as MetricPresentation, m as MetricsDataSourceProvider, Jn as PERIOD_DISPLAY_LABELS, qn as PERIOD_LABELS, _c as POLICY_POST_EVENT, gc as POLICY_PRE_EVENT, Gn as PRESET_CATEGORIES, pc as PolicyAttributeDiff, Za as QueryErrorBanner, Kn as RELATIVE_PERIODS, Tc as SpanDetailPanel, fr as TimeRangePicker, Yc as TraceDetailDrawer, Jc as TraceDetailPage, Uc as TraceDetailShell, Ks as TraceExplorerPage, Fc as TraceLineage, Rs as TraceStatusBadge, Ws as TraceTable, Vc as TraceTimeline, s as TracesDataSourceProvider, nc as TracingApiSelector, $l as TracingScreen, Ra as WidgetGroup, ja as WidgetItem, Io as buildApiTypeLink, ei as buildChipLabel, ti as buildChipLabelParts, ni as buildChipTooltip, Lo as buildDefaultConnectionLogColumns, fs as buildDefaultLogDetailConfig, Mo as buildLogsDeepLink, mu as buildObservabilityBaseUrl, hu as buildTracesBaseUrl, cc as buildTracesDeepLink, Da as clearWidgetRenderers, Qi as computeBucketInterval, Sc as computePolicyAttributeDiff, ga as computePreviousTimeRange, ua as computeTrend, Go as connectionLogPreset, _l as createHttpDataSource, bl as createHttpFilterSource, Tl as createHttpLogsSource, Kl as createHttpTracesFilterSource, Fl as createHttpTracesSource, rr as decodeObservabilityState, za as defineDashboardTemplate, xr as defineFilterProvider, ls as defineLogDetail, uu as defineObservabilityFeatures, nr as encodeObservabilityState, ca as extractMeasureValue, da as extractSparklineData, Di as facetsToBar, Ti as facetsToDoughnut, Bs as formatDuration, zs as formatTraceTime, pr as getLocaleWeekStart, Ea as getWidgetRenderer, nn as isBarWidget, en as isCartesianWidget, tn as isDoughnutWidget, an as isMetricGroupWidget, rn as isMetricWidget, Hr as isMultiSelectForFilter, ac as isTracingApiLegacyLoader, sc as isTracingApiPaginatedLoad, ic as isTracingApiPaginatedLoader, rc as isTracingApiPaginatedLoaderConfig, ho as mapAnalyticsFilters, la as measureResultToMetric, Y as mergeFilters, Gi as mergeTimeSeriesToCartesian, Zo as messageLogPreset, Ur as normalizeMembershipOperatorForValues, J as observabilityQueryKeys, zr as operatorLabel, Br as operatorNeedsValue, ka as registerDefaultRenderers, Ta as registerWidgetRenderer, Ba as resolveDashboardFromTemplate, Hi as resolveGroupColor, us as resolveLogDetailVariant, K as resolveMeasure, ds as resolvePreset, br as resolveRelativePeriod, yi as resolveStableTimeRange, oc as resolveTracingApiPaginatedLoader, a as useCapabilities, e as useCapability, X as useContextFilters, l as useDashboardPersistence, Ga as useDashboardTemplate, Wa as useDashboardTemplates, jn as useFacetsQuery, u as useFilterProvider, p as useFilterProviders, _n as useHttpOptions, wn as useInfiniteOptions, un as useLiveRefresh, ys as useLogDetailDrawerExpand, Mn as useLogDetailQuery, r as useLogsDataSource, In as useLogsPagedQuery, Nn as useLogsQuery, Ln as useMeasuresQuery, Oi as useMergedWidgetFilters, n as useMetricsDataSource, dn as useOptionalLiveRefresh, i as useOptionalLogsDataSource, c as useOptionalMetricsDataSource, t as useOptionalTracesDataSource, xi as useStableTimeRange, zn as useTimeSeriesQuery, Bn as useTraceDetailQuery, d as useTracesDataSource, Un as useTracesPagedQuery, _i as useWidgetGroupContext, ns as webhookLogPreset };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gravitee/gamma-lib-observability",
|
|
3
|
-
"version": "1.27.
|
|
3
|
+
"version": "1.27.1",
|
|
4
4
|
"description": "Shared observability library for Gamma modules — dashboards, logs, tracing UI components and integration with business rules.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"packageManager": "yarn@4.14.1",
|