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: min step interval to 60 (#7354)

Nityananda Gohain800ca9d32933
diff --git a/pkg/query-service/common/query_range.go b/pkg/query-service/common/query_range.go
index 4a89384862..29f8277be7 100644
--- a/pkg/query-service/common/query_range.go
+++ b/pkg/query-service/common/query_range.go
@@ -47,7 +47,7 @@ func PastDayRoundOff() int64 {
func MinAllowedStepInterval(start, end int64) int64 {
step := (end - start) / constants.MaxAllowedPointsInTimeSeries / 1000
if step < 60 {
- return step
+ return 60
}
// return the nearest lower multiple of 60
return step - step%60