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: update API key expiration display logic in MultiIngestionSettings component (#6717)
Shaheer Kochai00abadd42977
diff --git a/frontend/src/container/IngestionSettings/MultiIngestionSettings.tsx b/frontend/src/container/IngestionSettings/MultiIngestionSettings.tsxindex 53fd5269d6..6c817a41da 100644--- a/frontend/src/container/IngestionSettings/MultiIngestionSettings.tsx+++ b/frontend/src/container/IngestionSettings/MultiIngestionSettings.tsx@@ -561,10 +561,11 @@ function MultiIngestionSettings(): JSX.Element {APIKey.created_at,formatTimezoneAdjustedTimestamp,);- const formattedDateAndTime =- APIKey &&- APIKey?.expires_at &&- getFormattedTime(APIKey?.expires_at, formatTimezoneAdjustedTimestamp);++ const expiresOn =+ !APIKey?.expires_at || APIKey?.expires_at === '0001-01-01T00:00:00Z'+ ? 'No Expiry'+ : getFormattedTime(APIKey?.expires_at, formatTimezoneAdjustedTimestamp);const updatedOn = getFormattedTime(APIKey?.updated_at,@@ -987,7 +988,7 @@ function MultiIngestionSettings(): JSX.Element {<div className="ingestion-key-last-used-at"><CalendarClock size={14} />Expires on <Minus size={12} />- <Typography.Text>{formattedDateAndTime}</Typography.Text>+ <Typography.Text>{expiresOn}</Typography.Text></div></div></div>