grafana-data-exporter-panel icon indicating copy to clipboard operation
grafana-data-exporter-panel copied to clipboard

Error while adding task

Open anomaly122 opened this issue 4 years ago • 1 comments

Hello, I have questions. When I export data using your library, I can't do that.

=================================== I installed follows. Step1. Set grafana-data-exporter 1-1. Create api key in grafana (Viewer) 1-2. Download your library in local system 1-3. Extract tar and then modify config.json file 1-4. Run node Server - It work fine. When I access 8000 port I will see this message. "Grafana-data-exporter server works"

Step2. simple-json-datasource 2-1. Install simple-json-datasource and then restart grafana server 2-2. Go to datasources/new page and then create SimpleJson type datasource

  • backend url is :8000

Step3. grafana-data-exporter-panel 3-1. Download your library in my grafana plugins path 3-2. Extract tar and then restart grafana server

  • I can see data-exporter-panel ui successfully.

Step4. Import your sample dashboard template 4-1. Copy your json template file 4-2. Import template to grafana graph

  • I can see ui

=================================== After these process, I try to export data but I can't.

  • Dashboard Setting : Back end_URL : localhost:8000

Error Messages

  1. data panel : Cannot read property 'length' of undefined
  2. Process panel : Request Error
  3. When I export, I see the "error while adding task"

Sample Error in data panel. . .

TypeError: Cannot read property 'length' of undefined at http://{domain}/public/build/app.dfabdd44b3be44288eac.js:22:557392 at Jt (http://{domain}/public/build/vendor.dfabdd44b3be44288eac.js:9:5512) at Function.fr.filter (http://{domain}/public/build/vendor.dfabdd44b3be44288eac.js:9:50982) at t.query (http://{domain}/public/build/app.dfabdd44b3be44288eac.js:22:557246) at e.issueQueries (http://{domain}/public/build/app.dfabdd44b3be44288eac.js:22:485671) at http://{domain}/public/build/app.dfabdd44b3be44288eac.js:22:872775 at http://{domain}/public/build/vendor.dfabdd44b3be44288eac.js:130:92198 at http://{domain}/public/build/vendor.dfabdd44b3be44288eac.js:130:92295 at l.$digest (http://{domain}/public/build/vendor.dfabdd44b3be44288eac.js:130:97589) at http://{domain}/public/build/vendor.dfabdd44b3be44288eac.js:130:99404

anomaly122 avatar Mar 19 '20 04:03 anomaly122