CorpGlory / grafana-data-exporter-panel

Panel for exporting metrics from Grafana dashboards
32 stars 8 forks source link

Grafana 7: Missing default datasource #39 #46

Closed sblrok closed 3 years ago

sblrok commented 3 years ago

This PR fixes #39 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