Browse Source

Don't skip recording rule errors

pull/1308/head
Fabian Reinartz 9 years ago
parent
commit
26eb3ac2f8
  1. 4
      rules/recording.go

4
rules/recording.go

@ -55,6 +55,10 @@ func (rule RecordingRule) eval(timestamp model.Time, engine *promql.Engine) (mod
result = query.Exec()
vector model.Vector
)
if result.Err != nil {
return nil, err
}
switch result.Value.(type) {
case model.Vector:
vector, err = result.Vector()

Loading…
Cancel
Save