Closed Xaroth closed 5 years ago
as per https://github.com/grafana/grafana/issues/11537 , since this datasource uses a nested jsonData scheme (position.latitude, position.longitude), it is not possible to configure this via the provisioning mechanics ( http://docs.grafana.org/administration/provisioning/ ).
Would it be possible to 'work around' this by allowing jsonData.latitude and jsonData.longitude to alias to jsonData.position.latitude and jsonData.position.longitude, respectively?
See further discussion in https://github.com/grafana/grafana/issues/11537#issuecomment-466750394.
I've 'worked around' the issue in https://github.com/fetzerch/grafana-sunandmoon-datasource/pull/13.
as per https://github.com/grafana/grafana/issues/11537 , since this datasource uses a nested jsonData scheme (position.latitude, position.longitude), it is not possible to configure this via the provisioning mechanics ( http://docs.grafana.org/administration/provisioning/ ).
Would it be possible to 'work around' this by allowing jsonData.latitude and jsonData.longitude to alias to jsonData.position.latitude and jsonData.position.longitude, respectively?