Value to text mapping -Table panel null mapping

Hi,
I have the below mapping in table panel dashboard -
“valueMaps”: [
{
“text”: “FILTERED”,
“value”: “null”
},
{
“text”: “SUCCESS”,
“value”: “1”
},
{
“text”: “WARNING”,
“value”: “2”
},
{
“text”: “ERROR”,
“value”: “3”
}
]
When we deploy to docker container through Jenkins then the FILTERED mapping becomes as below -
{
“text”: “FILTERED”,
“value”: null //double quote around “null” get removed
},
As the double quote gets removed, the mapping does not work.
It would be better to have a value mapping to string which should not get any color instead of “null” as it is ambiguous.

Thanks.

1 Like