From c0f739af0ab48ea5de6eb49f4511122aa21e8036 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Abel=20Fern=C3=A1ndez?=
<44572727+abefernan@users.noreply.github.com>
Date: Wed, 18 Sep 2024 15:11:13 +0200
Subject: [PATCH] List all spans instead of only root ones
---
components/txs-data.tsx | 30 ++++++++++++++----------------
1 file changed, 14 insertions(+), 16 deletions(-)
diff --git a/components/txs-data.tsx b/components/txs-data.tsx
index ac25aa1..5c304a4 100644
--- a/components/txs-data.tsx
+++ b/components/txs-data.tsx
@@ -21,22 +21,20 @@ export default function TxsData() {
Transactions
- {data.txs
- .filter((tx: Tx) => !tx._source.references.length)
- .map((tx: Tx) => (
- -
-
- {tx._source.traceID} - {tx._source.operationName} -{" "}
- {
- data.txs.filter(
- (txToFilter: Tx) =>
- txToFilter._source.traceID === tx._source.traceID,
- ).length
- }{" "}
- spans - {tx._source.tags.length} tags
-
-
- ))}
+ {data.txs.map((tx: Tx) => (
+ -
+
+ {tx._source.traceID} - {tx._source.operationName} -{" "}
+ {
+ data.txs.filter(
+ (txToFilter: Tx) =>
+ txToFilter._source.traceID === tx._source.traceID,
+ ).length
+ }{" "}
+ spans - {tx._source.tags.length} tags
+
+
+ ))}
);