This is an automated email from the ASF dual-hosted git repository.

zqr10159 pushed a commit to branch 2.0.0
in repository https://gitbox.apache.org/repos/asf/hertzbeat.git


The following commit(s) were added to refs/heads/2.0.0 by this push:
     new 14687f8f3c Record drilldown metadata in evidence drafts
14687f8f3c is described below

commit 14687f8f3c33698aa95a53fcc03de7cef808a1f0
Author: Logic <[email protected]>
AuthorDate: Tue Jun 9 19:45:44 2026 +0800

    Record drilldown metadata in evidence drafts
---
 web-next/lib/signal-dashboards.test.ts | 6 ++++++
 web-next/lib/signal-dashboards.ts      | 3 +++
 2 files changed, 9 insertions(+)

diff --git a/web-next/lib/signal-dashboards.test.ts 
b/web-next/lib/signal-dashboards.test.ts
index 6dc267afb3..a9354b9bfe 100644
--- a/web-next/lib/signal-dashboards.test.ts
+++ b/web-next/lib/signal-dashboards.test.ts
@@ -2408,6 +2408,9 @@ describe('signal dashboards API client', () => {
         meta: 'ERROR',
         traceId: 'trace-1',
         spanId: 'span-log',
+        operationName: 'POST /checkout',
+        resourceFilter: 'service.version=1.2.3',
+        attributeFilter: 'region:us',
         relatedSignal: 'traces'
       },
       route: 
'/log/manage?view=table&traceId=trace-1&spanId=span-log&serviceName=checkout&start=1000&end=3000',
@@ -2431,6 +2434,9 @@ describe('signal dashboards API client', () => {
       evidenceValue: 'checkout timeout',
       traceId: 'trace-1',
       spanId: 'span-log',
+      operationName: 'POST /checkout',
+      resourceFilter: 'service.version=1.2.3',
+      attributeFilter: 'region:us',
       relatedSignal: 'traces'
     }));
     expect(createSignalDashboardPanelDraftFromRuntimeEvidence({
diff --git a/web-next/lib/signal-dashboards.ts 
b/web-next/lib/signal-dashboards.ts
index fc4d3a27a1..7d1d09c36c 100644
--- a/web-next/lib/signal-dashboards.ts
+++ b/web-next/lib/signal-dashboards.ts
@@ -1254,6 +1254,9 @@ export function 
createSignalDashboardPanelDraftFromRuntimeEvidence(input: {
       evidenceValue: input.row.value,
       ...(input.row.traceId ? { traceId: input.row.traceId } : {}),
       ...(input.row.spanId ? { spanId: input.row.spanId } : {}),
+      ...(input.row.operationName ? { operationName: input.row.operationName } 
: {}),
+      ...(input.row.resourceFilter ? { resourceFilter: 
input.row.resourceFilter } : {}),
+      ...(input.row.attributeFilter ? { attributeFilter: 
input.row.attributeFilter } : {}),
       ...(input.row.relatedSignal ? { relatedSignal: input.row.relatedSignal } 
: {})
     }
   });


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to