Add the query button on Alerting page (#501)

This commit is contained in:
Fine0830
2025-09-30 10:41:06 +08:00
committed by GitHub
parent a834cdb2eb
commit 4f95dd9807
3 changed files with 21 additions and 11 deletions

View File

@@ -148,6 +148,7 @@ limitations under the License. -->
const timestamp = new Date().toISOString().replace(/[:.]/g, "-");
const baseFilename = `trace-${trace.traceId}-${timestamp}`;
const spans = trace.spans.map((span) => {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const { duration, label, ...newSpan } = span;
return newSpan;
});