SingleStat color issue for null mapped to "0"


I recently upgraded to 4.6.3 (from 4.2.0) and have noticed an issue with the SingleStat panel. I am trying to understand if this was a deliberate change and when/why it happened or if this is a bug. I tried to look thru all the release notes but I did not see any reference to this.

I am using influx and am getting a count of alerts. If this count is zero influx sends a null value which I have mapped to “0” in the panel config. I was then able to set a threshold of 1,1 to show zero as green and any value above zero as red.

This no longer works in 4.6.3 for some reason. Can anyone provide any guidance here?


After upgrade to 4.6.3:

The history for this looks a bit messy. It got fixed and then reverted. Will ask Alex what the latest is on this issue.

Here is the issue for it:

Looks like the fix for is the reason for the change. Hard to say what is correct here.

This is how I workaround this issue: maxSeries(ORIGINAL_SERIES, scale(timeFunction(“a”), 0))
So this eliminates the null values.
Then I add value mapping accordingly.

Hope it helps,

Is it possible to color the “no value”? I want to color the “no value” background.