Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

feat: removed dashboard uuid is all cases be it duplicate, empty or somevalid, while import json (#6448)

SagarRajput-7c1478c4e5417
diff --git a/frontend/src/container/ListOfDashboard/ImportJSON/index.tsx b/frontend/src/container/ListOfDashboard/ImportJSON/index.tsx
index 6926db85be..eb595c204d 100644
--- a/frontend/src/container/ListOfDashboard/ImportJSON/index.tsx
+++ b/frontend/src/container/ListOfDashboard/ImportJSON/index.tsx
@@ -82,9 +82,8 @@ function ImportJSON({
const dashboardData = JSON.parse(editorValue) as DashboardData;
- // Add validation for uuid
- if (dashboardData.uuid !== undefined && dashboardData.uuid.trim() === '') {
- // silently remove uuid if it is empty
+ // Remove uuid from the dashboard data, in all cases - empty, duplicate or any valid not duplicate uuid
+ if (dashboardData.uuid !== undefined) {
delete dashboardData.uuid;
}