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: threshold value is handled for undefined case (#3473)
Palash Gupta176725a4b484
diff --git a/frontend/src/container/FormAlertRules/ChartPreview/utils.ts b/frontend/src/container/FormAlertRules/ChartPreview/utils.tsindex 0dbcc21603..dd9406b275 100644--- a/frontend/src/container/FormAlertRules/ChartPreview/utils.ts+++ b/frontend/src/container/FormAlertRules/ChartPreview/utils.ts@@ -20,6 +20,10 @@ export function covertIntoDataFormats({sourceUnit,targetUnit,}: IUnit): number {+ if (sourceUnit === undefined || targetUnit === undefined) {+ return value;+ }+if (Object.values(BooleanFormats).includes(sourceUnit as BooleanFormats)) {return 1;}