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: remove incorrect API request on the logs explorer page (#3266)

Danil Nazarenkodaebea701d0b
diff --git a/frontend/src/container/LogsContextList/index.tsx b/frontend/src/container/LogsContextList/index.tsx
index 0433a5f636..7037a386aa 100644
--- a/frontend/src/container/LogsContextList/index.tsx
+++ b/frontend/src/container/LogsContextList/index.tsx
@@ -103,6 +103,7 @@ function LogsContextList({
PANEL_TYPES.LIST,
{
keepPreviousData: true,
+ enabled: !!requestData,
onSuccess: handleSuccess,
},
);
diff --git a/frontend/src/container/LogsExplorerViews/index.tsx b/frontend/src/container/LogsExplorerViews/index.tsx
index d0fb3e4c20..6eb50af93d 100644
--- a/frontend/src/container/LogsExplorerViews/index.tsx
+++ b/frontend/src/container/LogsExplorerViews/index.tsx
@@ -154,7 +154,7 @@ function LogsExplorerViews(): JSX.Element {
panelType,
{
keepPreviousData: true,
- enabled: !isLimit,
+ enabled: !isLimit && !!requestData,
},
{
...(timeRange &&