mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
app/vmselect/promql: explain why empty timeseries arent removed in transformLabelValue
This commit is contained in:
parent
db1de4277c
commit
491b1762c8
1 changed files with 2 additions and 0 deletions
|
@ -904,6 +904,8 @@ func transformLabelValue(tfa *transformFuncArg) ([]*timeseries, error) {
|
|||
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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue