iotdb icon indicating copy to clipboard operation
iotdb copied to clipboard

grafana plugins: the data of BOOL dataType cannot be displayed properly

Open dyeaster opened this issue 3 years ago • 2 comments

BOOLEAN dataType,which stored in iotdb,the value is true or false; when run a query sql in the grafana, the boolean data cannot be displayed in the panel; i suggested to change the boolean value, false -> 0, and true -> 1

dyeaster avatar Jul 27 '22 07:07 dyeaster

@CloudWise-Lukemiao PTAL

HTHou avatar Jul 27 '22 07:07 HTHou

BOOLEAN dataType,which stored in iotdb,the value is true or false; when run a query sql in the grafana, the boolean data cannot be displayed in the panel; i suggested to change the boolean value, false -> 0, and true -> 1

That's a good suggestion. I'll show the boolean type data supported by the grafana plugin optimization, that is, true - >1 and false - >0

CloudWise-Lukemiao avatar Jul 27 '22 08:07 CloudWise-Lukemiao

Fixed in latest master branch.

HTHou avatar Sep 08 '22 08:09 HTHou