mirror of https://github.com/prometheus/prometheus
Merge pull request #13831 from prometheus/cherry-pick-13803
Release 2.51: Cherry-pick #13803 bugfix for label_joinpull/13850/head
commit
d771cabc95
|
@ -1386,6 +1386,9 @@ func (ev *evaluator) evalLabelJoin(args parser.Expressions) (parser.Value, annot
|
|||
}
|
||||
srcLabels[i-3] = src
|
||||
}
|
||||
if !model.LabelName(dst).IsValid() {
|
||||
panic(fmt.Errorf("invalid destination label name in label_join(): %s", dst))
|
||||
}
|
||||
|
||||
val, ws := ev.eval(args[0])
|
||||
matrix := val.(Matrix)
|
||||
|
|
Loading…
Reference in New Issue