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
feat: support case insensitive operators (#4379)
Vikrant Gupta2a62982885a9
diff --git a/frontend/src/container/QueryBuilder/filters/QueryBuilderSearch/utils.ts b/frontend/src/container/QueryBuilder/filters/QueryBuilderSearch/utils.tsindex c549a6fd62..ec7eba3973 100644--- a/frontend/src/container/QueryBuilder/filters/QueryBuilderSearch/utils.ts+++ b/frontend/src/container/QueryBuilder/filters/QueryBuilderSearch/utils.ts@@ -5,7 +5,7 @@ import { parse } from 'papaparse';import { orderByValueDelimiter } from '../OrderByFilter/utils';// eslint-disable-next-line no-useless-escape-export const tagRegexp = /^\s*(.*?)\s*(IN|NOT_IN|LIKE|NOT_LIKE|REGEX|NOT_REGEX|=|!=|EXISTS|NOT_EXISTS|CONTAINS|NOT_CONTAINS|>=|>|<=|<|HAS|NHAS)\s*(.*)$/g;+export const tagRegexp = /^\s*(.*?)\s*(\bIN\b|\bNOT_IN\b|\bLIKE\b|\bNOT_LIKE\b|\bREGEX\b|\bNOT_REGEX\b|=|!=|\bEXISTS\b|\bNOT_EXISTS\b|\bCONTAINS\b|\bNOT_CONTAINS\b|>=|>|<=|<|\bHAS\b|\bNHAS\b)\s*(.*)$/gi;export function isInNInOperator(value: string): boolean {return value === OPERATORS.IN || value === OPERATORS.NIN;@@ -25,8 +25,8 @@ export function getTagToken(tag: string): ITagToken {const [, matchTagKey, matchTagOperator, matchTagValue] = match;return {tagKey: matchTagKey,- tagOperator: matchTagOperator,- tagValue: isInNInOperator(matchTagOperator)+ tagOperator: matchTagOperator.toUpperCase(),+ tagValue: isInNInOperator(matchTagOperator.toUpperCase())? parse(matchTagValue).data.flat(): matchTagValue,} as ITagToken;