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.

removes 1day and adds 5mins

dhrubesh3318ec8c38ec
diff --git a/frontend/src/modules/Nav/TopNav/config.ts b/frontend/src/modules/Nav/TopNav/config.ts
index b605ae4686..84ad7dc51f 100644
--- a/frontend/src/modules/Nav/TopNav/config.ts
+++ b/frontend/src/modules/Nav/TopNav/config.ts
@@ -10,5 +10,5 @@ export const DefaultOptions = [
export const ServiceMapOptions = [
{ value: "1min", label: "Last 1 min" },
- { value: "1day", label: "Last 1 day" },
+ { value: "5min", label: "Last 5 min" },
];
diff --git a/frontend/src/store/actions/global.ts b/frontend/src/store/actions/global.ts
index 4fc8fc7acb..25c25852dc 100644
--- a/frontend/src/store/actions/global.ts
+++ b/frontend/src/store/actions/global.ts
@@ -27,6 +27,10 @@ export const updateTimeInterval = (
maxTime = Date.now() * 1000000; // in nano sec
minTime = (Date.now() - 1 * 60 * 1000) * 1000000;
break;
+ case "5min":
+ maxTime = Date.now() * 1000000; // in nano sec
+ minTime = (Date.now() - 5 * 60 * 1000) * 1000000;
+ break;
case "15min":
maxTime = Date.now() * 1000000; // in nano sec