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.

fix: queries B and C coupling in a dashboard panel (#2218)

GitStartae37a608f837
diff --git a/frontend/src/container/NewWidget/LeftContainer/QuerySection/index.tsx b/frontend/src/container/NewWidget/LeftContainer/QuerySection/index.tsx
index 333888c86b..ffa9a49635 100644
--- a/frontend/src/container/NewWidget/LeftContainer/QuerySection/index.tsx
+++ b/frontend/src/container/NewWidget/LeftContainer/QuerySection/index.tsx
@@ -74,7 +74,6 @@ function QuerySection({
setLocalQueryChanges(cloneDeep(query) as Query);
}, [query]);
-
const queryDiff = (
queryA: Query,
queryB: Query,
@@ -142,7 +141,7 @@ function QuerySection({
const handleLocalQueryUpdate = ({
updatedQuery,
}: IHandleUpdatedQuery): void => {
- setLocalQueryChanges(updatedQuery);
+ setLocalQueryChanges(cloneDeep(updatedQuery));
};
return (