Threshold value as a number (#203)
Threshold value as a number (#203)

Threshold value is defined as a number in Grafana (and also min and max):

http://github.com/grafana/grafana/blob/dd2a952c29db6d190dacdd6c06dd748f7912db9e/packages/grafana-data/src/types/thresholds.ts#L2-L2

I was tempted to use a json.Number for this, but apparently the
convention is to just use floats, so I went for that.

Signed-off-by: Oleg Zaytsev <1d6e1cf70ec6f9ab28d3ea4b27a49a77654d370e@olegzaytsev.com>
grafana-tools/sdk