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.
TypeScript apmapplication-monitoringdistributed-tracinggogood-first-issuejaegerloglogsmetricsmonitoringnextjsobservabilityopen-sourceopentelemetryprometheusreactreactjsself-hostedtracingtypescript
Revert "fix: Logs UI: querybuildersearch: avoid emptying out query on sourceK…" (#4473)
Yunus M457380c0650a
diff --git a/frontend/src/container/QueryBuilder/filters/QueryBuilderSearch/index.tsx b/frontend/src/container/QueryBuilder/filters/QueryBuilderSearch/index.tsxindex d12bc18add..975c79a4a8 100644--- a/frontend/src/container/QueryBuilder/filters/QueryBuilderSearch/index.tsx+++ b/frontend/src/container/QueryBuilder/filters/QueryBuilderSearch/index.tsx@@ -150,20 +150,6 @@ function QueryBuilderSearch({(item) => item.key as BaseAutocompleteData,);- // Avoid updating query with onChange at the bottom of this useEffect- // if there are no `tags` that need to be normalized after receiving- // the latest `sourceKeys`.- //- // Executing the following logic for empty tags leads to emptying- // out of `query` via `onChange`.- // `tags` can contain stale empty value while being updated by `useTag`- // which maintains it as a state and updates it via useEffect when props change.- // This was observed when pipeline filters were becoming empty after- // returning from logs explorer.- if ((tags?.length || 0) < 1) {- return;- }-initialTagFilters.items = tags.map((tag, index) => {const isJsonTrue = query.filters?.items[index]?.key?.isJSON;