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: alerts links are broken when there is a space in value (#6043)
Vikrant Gupta0218f701b261
diff --git a/frontend/src/hooks/queryBuilder/useGetCompositeQueryParam.ts b/frontend/src/hooks/queryBuilder/useGetCompositeQueryParam.tsindex 442531a15b..efef00022a 100644--- a/frontend/src/hooks/queryBuilder/useGetCompositeQueryParam.ts+++ b/frontend/src/hooks/queryBuilder/useGetCompositeQueryParam.ts@@ -13,7 +13,11 @@ export const useGetCompositeQueryParam = (): Query | null => {try {if (!compositeQuery) return null;- parsedCompositeQuery = JSON.parse(decodeURIComponent(compositeQuery));+ // MDN reference - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/decodeURIComponent#decoding_query_parameters_from_a_url+ // MDN reference to support + characters using encoding - https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams#preserving_plus_signs add later+ parsedCompositeQuery = JSON.parse(+ decodeURIComponent(compositeQuery.replace(/\+/g, ' ')),+ );} catch (e) {parsedCompositeQuery = null;}