Closed sblrok closed 3 years ago
This PR fixes #40
We don`t see default datasource in the exporter panel
Send an additional request to get all datasources and find one with the isDefault = true
isDefault = true
Added _getDefaultDatasource functon Changaed _getGrafanaAPIInfo function
_getDefaultDatasource
_getGrafanaAPIInfo
btw, it fixes https://github.com/CorpGlory/grafana-data-exporter-panel/issues/39, not #40 :)
will be recreated
This PR fixes #40
Probem:
We don`t see default datasource in the exporter panel
Solution:
Send an additional request to get all datasources and find one with the
isDefault = true
Changes:
Added
_getDefaultDatasource
functon Changaed_getGrafanaAPIInfo
function