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
fix: empty string search doesn't return all exceptions (#4346)
Yunus M1e679a0d64bc
diff --git a/frontend/src/container/AllError/index.tsx b/frontend/src/container/AllError/index.tsxindex 4bc7d199e1..e8c13d88cd 100644--- a/frontend/src/container/AllError/index.tsx+++ b/frontend/src/container/AllError/index.tsx@@ -48,6 +48,15 @@ import {urlKey,} from './utils';+type QueryParams = {+ order: string;+ offset: number;+ orderParam: string;+ pageSize: number;+ exceptionType?: string;+ serviceName?: string;+};+function AllErrors(): JSX.Element {const { maxTime, minTime, loading } = useSelector<AppState, GlobalReducer>((state) => state.globalTime,@@ -162,16 +171,23 @@ function AllErrors(): JSX.Element {filterKey,filterValue || '',);- history.replace(- `${pathname}?${createQueryParams({- order: updatedOrder,- offset: getUpdatedOffset,- orderParam: getUpdatedParams,- pageSize: getUpdatedPageSize,- exceptionType: exceptionFilterValue,- serviceName: serviceFilterValue,- })}`,- );++ const queryParams: QueryParams = {+ order: updatedOrder,+ offset: getUpdatedOffset,+ orderParam: getUpdatedParams,+ pageSize: getUpdatedPageSize,+ };++ if (exceptionFilterValue && exceptionFilterValue !== 'undefined') {+ queryParams.exceptionType = exceptionFilterValue;+ }++ if (serviceFilterValue && serviceFilterValue !== 'undefined') {+ queryParams.serviceName = serviceFilterValue;+ }++ history.replace(`${pathname}?${createQueryParams(queryParams)}`);confirm();},[@@ -198,8 +214,10 @@ function AllErrors(): JSX.Element {<Inputplaceholder={placeholder}value={selectedKeys[0]}- onChange={(e): void =>- setSelectedKeys(e.target.value ? [e.target.value] : [])+ onChange={+ (e): void => setSelectedKeys(e.target.value ? [e.target.value] : [])++ // Need to fix this logic, when the value in empty, it's setting undefined string as value}allowCleardefaultValue={getDefaultFilterValue(