Hello,
The issue I am facing is that Chronograf does not support Value mappings (map integer/float value to a text) like in Grafana where we can have that (see the screenshot)
In my case I am creating a table where in a row I can display either 0, 1 or 2 or write “Error” or “Connected” instead but I can not have text colored based on the value of 0, 1 or 2.
My simple Flux
from(bucket: “telegraf”)
|> range(start: -5m)
|> filter(fn: ® =>
r._measurement == “ping” and
r._field == “presence” and
r.host == “MainHost”
)
|>group()
I tried to display a nice text with nice coloring but can not map that in 1 cell.
I tried using map() and set() in different ways but without success.
Can you please point me in the right direction - what can help me here ?
Thanks,
Emo