@localstack/appinspector-ui 1.0.103 → 1.0.105
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/index.cjs +13 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +13 -13
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -15885,15 +15885,15 @@ var buildSpansEndpoint = (request) => {
|
|
|
15885
15885
|
queryParameters.set("pagination_token", request.pagination_token);
|
|
15886
15886
|
}
|
|
15887
15887
|
for (const [key, value] of Object.entries(request)) {
|
|
15888
|
-
if (value !== void 0 && key !== "limit" && key !== "
|
|
15888
|
+
if (value !== void 0 && key !== "limit" && key !== "outgoing_link_span_ids" && key !== "incoming_link_span_ids" && key !== "pagination_token" && value !== null) {
|
|
15889
15889
|
queryParameters.set(key, String(value));
|
|
15890
15890
|
}
|
|
15891
15891
|
}
|
|
15892
|
-
if (request.
|
|
15893
|
-
queryParameters.set("
|
|
15892
|
+
if (request.outgoing_link_span_ids) {
|
|
15893
|
+
queryParameters.set("outgoing_link_span_ids", request.outgoing_link_span_ids.join(","));
|
|
15894
15894
|
}
|
|
15895
|
-
if (request.
|
|
15896
|
-
queryParameters.set("
|
|
15895
|
+
if (request.incoming_link_span_ids) {
|
|
15896
|
+
queryParameters.set("incoming_link_span_ids", request.incoming_link_span_ids.join(","));
|
|
15897
15897
|
}
|
|
15898
15898
|
const queryString = queryParameters.toString();
|
|
15899
15899
|
return queryString ? `${API_ENDPOINTS.SPANS}?${queryString}` : API_ENDPOINTS.SPANS;
|
|
@@ -30466,7 +30466,7 @@ var EventDetails = ({ onClose, selectedEvent }) => {
|
|
|
30466
30466
|
/* @__PURE__ */ (0, import_jsx_runtime140.jsx)(import_material17.Typography, { "data-testid": EVENT_DETAILS_SERVICE_NAME_TEST_ID, variant: "body2", children: selectedEvent.service_name })
|
|
30467
30467
|
] }),
|
|
30468
30468
|
/* @__PURE__ */ (0, import_jsx_runtime140.jsxs)(import_material17.Box, { children: [
|
|
30469
|
-
/* @__PURE__ */ (0, import_jsx_runtime140.jsx)(import_material17.Typography, { sx: { fontWeight: 600 }, variant: "caption", children: "
|
|
30469
|
+
/* @__PURE__ */ (0, import_jsx_runtime140.jsx)(import_material17.Typography, { sx: { fontWeight: 600 }, variant: "caption", children: "Action" }),
|
|
30470
30470
|
/* @__PURE__ */ (0, import_jsx_runtime140.jsx)(import_material17.Typography, { "data-testid": EVENT_DETAILS_OPERATION_NAME_TEST_ID, variant: "body2", children: selectedEvent.operation_name })
|
|
30471
30471
|
] })
|
|
30472
30472
|
] }),
|
|
@@ -30932,11 +30932,11 @@ var TraceGraph = ({
|
|
|
30932
30932
|
target: span.span_id
|
|
30933
30933
|
});
|
|
30934
30934
|
}
|
|
30935
|
-
for (const
|
|
30935
|
+
for (const outgoingLinkSpanId of span.outgoing_link_span_ids ?? []) {
|
|
30936
30936
|
allEdges.push({
|
|
30937
|
-
id: `e-link-${
|
|
30937
|
+
id: `e-link-${outgoingLinkSpanId}-${span.span_id}`,
|
|
30938
30938
|
markerEnd: { color: "lightgray", height: 16, type: import_react65.MarkerType.Arrow, width: 16 },
|
|
30939
|
-
source:
|
|
30939
|
+
source: outgoingLinkSpanId,
|
|
30940
30940
|
style: { stroke: "lightgray", strokeWidth: 1 },
|
|
30941
30941
|
// animated: true,
|
|
30942
30942
|
// style: { stroke: 'lightgray', strokeDasharray: '4 2', strokeWidth: 1 },
|
|
@@ -31137,12 +31137,12 @@ async function fetchConnectedTraces(api, traceIds, allSpans = /* @__PURE__ */ ne
|
|
|
31137
31137
|
for (const span of currentBatchSpans) {
|
|
31138
31138
|
allSpans.set(span.span_id, span);
|
|
31139
31139
|
}
|
|
31140
|
-
const [
|
|
31141
|
-
api.getSpans({
|
|
31142
|
-
api.getSpans({
|
|
31140
|
+
const [outgoingLinkResult, incomingLinkResult] = await Promise.all([
|
|
31141
|
+
api.getSpans({ outgoing_link_span_ids: currentSpanIds }),
|
|
31142
|
+
api.getSpans({ incoming_link_span_ids: currentSpanIds })
|
|
31143
31143
|
]);
|
|
31144
31144
|
const discoveredTraceIds = /* @__PURE__ */ new Set();
|
|
31145
|
-
for (const span of [...
|
|
31145
|
+
for (const span of [...outgoingLinkResult.spans, ...incomingLinkResult.spans]) {
|
|
31146
31146
|
if (!processedTraceIds.has(span.trace_id)) {
|
|
31147
31147
|
discoveredTraceIds.add(span.trace_id);
|
|
31148
31148
|
}
|