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: resize observer charts issue in alerts builder (#5436)
Vikrant Guptabf177882e61c
diff --git a/frontend/src/container/FormAlertRules/ChartPreview/index.tsx b/frontend/src/container/FormAlertRules/ChartPreview/index.tsxindex 9819690641..331a5a0fc7 100644--- a/frontend/src/container/FormAlertRules/ChartPreview/index.tsx+++ b/frontend/src/container/FormAlertRules/ChartPreview/index.tsx@@ -246,17 +246,19 @@ function ChartPreview({return (<ChartContainer>{headline}- {(queryResponse?.isError || queryResponse?.error) && (- <FailedMessageContainer color="red" title="Failed to refresh the chart">- <InfoCircleOutlined />{' '}- {queryResponse.error.message || t('preview_chart_unexpected_error')}- </FailedMessageContainer>- )}- {chartData && !queryResponse.isError && (- <div ref={graphRef} style={{ height: '100%' }}>- {queryResponse.isLoading && (- <Spinner size="large" tip="Loading..." height="100%" />- )}++ <div ref={graphRef} style={{ height: '100%' }}>+ {queryResponse.isLoading && (+ <Spinner size="large" tip="Loading..." height="100%" />+ )}+ {(queryResponse?.isError || queryResponse?.error) && (+ <FailedMessageContainer color="red" title="Failed to refresh the chart">+ <InfoCircleOutlined />{' '}+ {queryResponse.error.message || t('preview_chart_unexpected_error')}+ </FailedMessageContainer>+ )}++ {chartData && !queryResponse.isError && (<GridPanelSwitchoptions={options}panelType={graphType}@@ -268,8 +270,8 @@ function ChartPreview({query={query || initialQueriesMap.metrics}yAxisUnit={yAxisUnit}/>- </div>- )}+ )}+ </div></ChartContainer>);}