grafana / timestream-datasource

Amazon Timestream in Grafana
https://grafana.com/grafana/plugins/grafana-timestream-datasource
Apache License 2.0
24 stars 19 forks source link

Can not add data source, frontend crash #12

Closed devdavidkarlsson closed 3 years ago

devdavidkarlsson commented 4 years ago

Reproduce: On AWS linux ec2-instance:

sudo grafana-cli plugins install grafana-timestream-datasource sudo service grafana-server restart

Go to grafana in browser and do "add data source", frontend crash:

Cannot read property 'Select' of undefined Evaluating https://grafana.airthin.gs/public/plugins/grafana-timestream-datasource/module.js Loading plugins/grafana-timestream-datasource/module

Grafana: v6.7.3 (a04ef6cefc)

Failed to import plugin module TypeError: Cannot read property 'Select' of undefined
    at Module.eval (/public/plugins/grafana-timestream-datasource/module.js:2)
    at a (/public/plugins/grafana-timestream-datasource/module.js:2)
    at eval (/public/plugins/grafana-timestream-datasource/module.js:2)
    at eval (/public/plugins/grafana-timestream-datasource/module.js:2)
    at o (system.js:4)
    at system.js:4
    at system.js:4
    at O (system.js:4)
    at S (system.js:4)
    at system.js:4
marefr commented 4 years ago

I'm pretty sure you need to use at least Grafana v7.1.x. See https://github.com/grafana/timestream-datasource/blob/b041bcd37c35d4acb4688e8081287fa5fb9fe1e1/src/plugin.json#L38

marefr commented 4 years ago

it's strange though that you was able to install it from Grafana v6.7.3