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 missing icon for nodata alerts (#11292)
Jatinderjit Singh828459ab3047
diff --git a/frontend/src/pages/AlertDetails/AlertHeader/AlertState/AlertState.tsx b/frontend/src/pages/AlertDetails/AlertHeader/AlertState/AlertState.tsxindex f02bdb2d7e..05ea7e698b 100644--- a/frontend/src/pages/AlertDetails/AlertHeader/AlertState/AlertState.tsx+++ b/frontend/src/pages/AlertDetails/AlertHeader/AlertState/AlertState.tsx@@ -17,7 +17,7 @@ export default function AlertState({let label;const isDarkMode = useIsDarkMode();switch (state) {- case 'no-data':+ case 'nodata':icon = (<CircleOffsize={18}diff --git a/frontend/src/types/api/alerts/def.ts b/frontend/src/types/api/alerts/def.tsindex 7e6ce740a0..6a977e23cc 100644--- a/frontend/src/types/api/alerts/def.ts+++ b/frontend/src/types/api/alerts/def.ts@@ -109,7 +109,8 @@ export type AlertRuleTimelineTableResponsePayload = {labels: AlertLabelsProps['labels'];};};-type AlertState = 'firing' | 'normal' | 'no-data' | 'muted';++type AlertState = 'firing' | 'normal' | 'nodata' | 'muted';export interface AlertRuleTimelineGraphResponse {start: number;diff --git a/pkg/query-service/model/alerting.go b/pkg/query-service/model/alerting.goindex 5d2d6858c1..ce77fe39b6 100644--- a/pkg/query-service/model/alerting.go+++ b/pkg/query-service/model/alerting.go@@ -134,7 +134,7 @@ type RuleStateHistory struct {// One of ["normal", "firing"]OverallState AlertState `json:"overallState" ch:"overall_state"`OverallStateChanged bool `json:"overallStateChanged" ch:"overall_state_changed"`- // One of ["normal", "firing", "no_data", "muted"]+ // One of ["normal", "firing", "nodata", "muted"]State AlertState `json:"state" ch:"state"`StateChanged bool `json:"stateChanged" ch:"state_changed"`UnixMilli int64 `json:"unixMilli" ch:"unix_milli"`