mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-15 08:23:34 +01:00
app/vmselect/promql: explain why empty timeseries arent removed in transformLabelValue
This commit is contained in:
parent
db1de4277c
commit
491b1762c8
@ -904,6 +904,8 @@ func transformLabelValue(tfa *transformFuncArg) ([]*timeseries, error) {
|
|||||||
values[i] = v
|
values[i] = v
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// Do not remove timeseries with only NaN values, so `default` could be applied to them:
|
||||||
|
// label_value(q, "label") default 123
|
||||||
return rvs, nil
|
return rvs, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user