Postgres string value always showing as green in Stat panel

I recently updated from Grafana version 4 to 7.0. I updated all (now deprecated) Singlestat panels to stat panels. However, when my Postgres queries return a string value it is always green, rather than the selected base color. Has anyone else encountered this issue or have any idea how to resolve it? Thanks.


1 Like

Same problem here with Grafana 7.1. No matter what I set as colours, non-numeric values (in my case labels from a prometheus query) are always displayed as green. If the value goes missing, the “N/A” does show up as the colour I configured, but not when it’s actually available. If I let the stat panel display all fields, then any numeric labels show up as the configured color, but non-numeric labels and even the time show up as green :(. Would love a fix.