grafana / github-datasource

Grafana data source plugin using the Github API to retrieve and visualize Github data.
https://grafana.com/grafana/plugins/grafana-github-datasource/
Apache License 2.0
240 stars 53 forks source link

When trying to setup datasource getting a cannot read property 'SecretFormField' of undefined error #84

Closed useful-devops-tools closed 3 years ago

useful-devops-tools commented 3 years ago

TypeError: Cannot read property 'SecretFormField' of undefined at t.render (ConfigEditor.tsx:67) at Ka (react-dom.production.min.js:181) at Xa (react-dom.production.min.js:180) at Ou (react-dom.production.min.js:261) at vs (react-dom.production.min.js:230) at ps (react-dom.production.min.js:229) at os (react-dom.production.min.js:223) at react-dom.production.min.js:121 at e.unstable_runWithPriority (scheduler.production.min.js:18) at Hi (react-dom.production.min.js:120)

I've installed the plugin and when I try to add github as a datasource I get the above error in the chrome console and the following page. Are there any other steps to be performed before the datasource can be configured other than installing the plugin?

image

My setup is: Grafana running in a docker container Version: 6.7.2

kminehart commented 3 years ago

Version: 6.7.2

This plugin is only supported in Grafana versions 7.1 or greater.

I would bet that this is the problem you're experiencing.

useful-devops-tools commented 3 years ago

That would probably be it then, I couldn't see the version requirement anywhere Will close this issue now

kminehart commented 3 years ago

ah. it may not be in the readme (it probably should be), but it is on the plugin page.

https://grafana.com/grafana/plugins/grafana-github-datasource