Hello, thanks for this great DSL!
I'm not a graphana expert, I started playing with the DSL, I think the value field in the ThresholdsStep should be a Number?
class ThresholdsStep(private val value: String = "null", private val color: Color = Color.GREEN) : Json<JSONObject> {
override fun toJson(): JSONObject = jsonObject {
"value" to value
"color" to color.asHexString()
}
}
thanks in advance.