sasaki77 / archiverappliance-datasource

EPICS Archiver Appliance plugin for Grafana dashboard
https://sasaki77.github.io/archiverappliance-datasource
MIT License
14 stars 7 forks source link

Support a string value response #115

Open sasaki77 opened 1 year ago

sasaki77 commented 1 year ago

The plugin doesn't support a string value response for now. It would be helpful if it's supported.

sasaki77 commented 1 year ago

116 allows to support a string value response, but I don't think it is the best implementation.

The plugin can't distinguish a string response from a number response. Therefore, the plugin tries to parse a response as a number response first. If the parsing is failed, then it tries to parse as a string response again.

If we can distinguish a string response from a number response, the plugin can parse more effectively.