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: step interval not getting updated on time range change (#4944)

Vikrant Gupta5c1c09c79088
diff --git a/frontend/src/container/GridCardLayout/GridCard/index.tsx b/frontend/src/container/GridCardLayout/GridCard/index.tsx
index 43f7768412..e50c3a5e53 100644
--- a/frontend/src/container/GridCardLayout/GridCard/index.tsx
+++ b/frontend/src/container/GridCardLayout/GridCard/index.tsx
@@ -125,6 +125,13 @@ function GridCardGraph({
};
});
+ useEffect(() => {
+ setRequestData((prev) => ({
+ ...prev,
+ query: updatedQuery,
+ }));
+ }, [updatedQuery]);
+
const queryResponse = useGetQueryRange(
{
...requestData,