CorpGlory / grafana-data-exporter-panel

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

MySQL / PostgreSQL support #33

Closed rozetko closed 4 years ago

rozetko commented 4 years ago

There is a "Cannot find datasource id in url api/tsdb/query" when a SQL datasource is used.

grafana-data-exporter-panel expects the datasource to have /api/datasources/:id proxy URL. SQL datasources' "Proxy URL" differs from other datasources: it has /api/tsdb proxy URL. We should support this case.

anirudh-ramesh commented 4 years ago

When used with an SQL database, this panel irreversibly changes the proxy URL to /api/datasources/:id and the only way to recover would be to delete the organization and restart.