mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-12 07:19:00 +08:00
fix: remove series with no points (#5077)
This commit is contained in:
parent
76b1e40cbc
commit
1369fe1912
@ -23,6 +23,10 @@ func applyHavingClause(result []*v3.Result, queryRangeParams *v3.QueryRangeParam
|
||||
j--
|
||||
}
|
||||
}
|
||||
if len(result.Series[i].Points) == 0 {
|
||||
result.Series = append(result.Series[:i], result.Series[i+1:]...)
|
||||
i--
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user