mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-05 20:36:03 +08:00
fix: do not consider Inf and NaN for formula (#5124)
This commit is contained in:
parent
ba0f63ad1e
commit
f927969c7d
@ -1011,7 +1011,7 @@ func (r *ThresholdRule) String() string {
|
||||
func removeGroupinSetPoints(series v3.Series) []v3.Point {
|
||||
var result []v3.Point
|
||||
for _, s := range series.Points {
|
||||
if s.Timestamp > 0 {
|
||||
if s.Timestamp > 0 && !math.IsNaN(s.Value) && !math.IsInf(s.Value, 0) {
|
||||
result = append(result, s)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user