Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while adding task #37

Open
anomaly122 opened this issue Mar 19, 2020 · 1 comment
Open

Error while adding task #37

anomaly122 opened this issue Mar 19, 2020 · 1 comment

Comments

@anomaly122
Copy link

anomaly122 commented Mar 19, 2020

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

@rozetko
Copy link
Member

rozetko commented Mar 19, 2020

Hi @gem874,

Thank you for contributing the issue.

Please provide the following info:

  • Which exporter version are you using?
  • Which Grafana version are you using?
  • Are there any errors in the exporter server?
  • Which datasource are you trying to export data from? e.g. InfluxDB / Prometheus / etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants