diff --git a/db/bigtable.go b/db/bigtable.go index b5b5121df6..2042c6d78c 100644 --- a/db/bigtable.go +++ b/db/bigtable.go @@ -233,6 +233,9 @@ func getMachineMetrics[T types.MachineMetricSystem | types.MachineMetricNode | t rangePrefix := fmt.Sprintf("u:%s:p:%s:m:", reversePaddedUserID(userID), process) res := make([]*T, 0) + if offset <= 0 { + offset = 1 + } filter := gcp_bigtable.ChainFilters( gcp_bigtable.FamilyFilter(MACHINE_METRICS_COLUMN_FAMILY),