Alert with per-series threshold overrides

I’m configuring an alert, and I’m trying to combine a prom data source with 26 series with an inline infinity (static) datasource table with one entry that is intended to be an override for a specific series; with a Math expression to combine them.

The tricky bit is that I’m looking for the static inline table to be an override, with a small number of entries, but for there to be a default threshold applied. However, because the threshold series only had one set of labels, I’m getting 25 items dropped from union(s).

Is there a way to have both a default threshold, with overrides, without export a whole metric that just represents the intended threshold?

Thank you!

Try the following:

  • pick a label that is common to all 26 series. If there is no such, add it.
  • update your second data source to provide two results: one your threshold, and another default that has only that common label.
1 Like