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.

adds last 1min to store

dhrubesh173bd01e70fa
diff --git a/frontend/src/store/actions/global.ts b/frontend/src/store/actions/global.ts
index 4af5e7adce..4fc8fc7acb 100644
--- a/frontend/src/store/actions/global.ts
+++ b/frontend/src/store/actions/global.ts
@@ -23,6 +23,11 @@ export const updateTimeInterval = (
// set directly based on that. Assuming datetimeRange values are in ms, and minTime is 0th element
switch (interval) {
+ case "1min":
+ maxTime = Date.now() * 1000000; // in nano sec
+ minTime = (Date.now() - 1 * 60 * 1000) * 1000000;
+ break;
+
case "15min":
maxTime = Date.now() * 1000000; // in nano sec
minTime = (Date.now() - 15 * 60 * 1000) * 1000000;