diff --git a/app/vmselect/promql/transform.go b/app/vmselect/promql/transform.go index db830cbbd9..5d0d78731a 100644 --- a/app/vmselect/promql/transform.go +++ b/app/vmselect/promql/transform.go @@ -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 }