Skip to content

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.

fix: relative time preferences not respected (#4543)

Vikrant Guptacfea51d9eef7
diff --git a/frontend/src/container/TopNav/DateTimeSelectionV2/index.tsx b/frontend/src/container/TopNav/DateTimeSelectionV2/index.tsx
index 342dc8299a..c169b6a9e7 100644
--- a/frontend/src/container/TopNav/DateTimeSelectionV2/index.tsx
+++ b/frontend/src/container/TopNav/DateTimeSelectionV2/index.tsx
@@ -220,6 +220,8 @@ function DateTimeSelection({
if (isObject(parsedSelectedTime)) {
return 'custom';
}
+
+ return selectedTime;
}
return defaultSelectedOption;