Hi Torkel,
I will try to be as much clear as I can to describe the scenario.
I am performing a test based on the possibility to use Grafana as a data visualizer on SAP Hana DB.
I received two different packages:
-
simple-json-datasource
-
dmms-grafana-copy
the simple-json-datasource has been copied to the local gafana directory: /public/app/plugins/datasource/
the dmms-grafana-copy package has been deployed on XSA Server where two apps have been
created on these path:
grafana-js STARTED 1/1 100 MB https://remote_server:port1
grafana-web STARTED 1/1 128 MB https://remote_server:port2
this was the instruction to follow:
XSA MTA for implementing grafana data source communication (zip attached). This application has to be unzipped on a local folder, and deployed on the XSA server where grafana will be connected to. The application deployment has to be performed using XSA client tool, installed on the same laptop, running a push command.
the connection to the Urls from Grafana is working.
So the question is: is this a problem on my local Grafana installation or is it on the remote server (XSA Server).
When I try to see data on the dashbord, the error is: Internal Server Error!
The query is on grafana or on the remote Server?
How can I check the query is ok?
Many thanks for your attention,
Tommaso
Dashboard: Internal Server Error!
REQUEST:
Request details
Url https://remote_server/query
Method POST
Content-Type application/json
Accept application/json, text/plain, /
Request parameters
panelId 1
range { “from”: “2017-08-28T06:11:43.480Z”, “to”: “2017-08-28T12:11:43.481Z”, “raw”: { “from”: “now-6h”, “to”: “now” } }
rangeRaw { “from”: “now-6h”, “to”: “now” }
interval "15s"
intervalMs 15000
targets [ { “type”: “timeserie” } ]
format "json"
maxDataPoints 1366
scopedVars { “__interval”: { “text”: “15s”, “value”: “15s” }, “__interval_ms”: { “text”: 15000, “value”: 15000 } }
RESPONSE
TypeError: Cannot read property ‘fleet’ of undefined
at /hana/shared/DSS/xs/ea_data/titdbshsl02ls/executionroot/24285f34-d5a4-41dd-b989-f2726dae5e05/app/start.js:239:141
at Layer.handle [as handle_request] (/hana/shared/DSS/xs/ea_data/titdbshsl02ls/executionroot/24285f34-d5a4-41dd-b989-f2726dae5e05/app/node_modules/express/lib/router/layer.js:95:5)
at next (/hana/shared/DSS/xs/ea_data/titdbshsl02ls/executionroot/24285f34-d5a4-41dd-b989-f2726dae5e05/app/node_modules/express/lib/router/route.js:131:13)
at next (/hana/shared/DSS/xs/ea_data/titdbshsl02ls/executionroot/24285f34-d5a4-41dd-b989-f2726dae5e05/app/node_modules/express/lib/router/route.js:125:14)
at next (/hana/shared/DSS/xs/ea_data/titdbshsl02ls/executionroot/24285f34-d5a4-41dd-b989-f2726dae5e05/app/node_modules/express/lib/router/route.js:125:14)
at next (/hana/shared/DSS/xs/ea_data/titdbshsl02ls/executionroot/24285f34-d5a4-41dd-b989-f2726dae5e05/app/node_modules/express/lib/router/route.js:125:14)
at next (/hana/shared/DSS/xs/ea_data/titdbshsl02ls/executionroot/24285f34-d5a4-41dd-b989-f2726dae5e05/app/node_modules/express/lib/router/route.js:125:14)
at next (/hana/shared/DSS/xs/ea_data/titdbshsl02ls/executionroot/24285f34-d5a4-41dd-b989-f2726dae5e05/app/node_modules/express/lib/router/route.js:125:14)
at next (/hana/shared/DSS/xs/ea_data/titdbshsl02ls/executionroot/24285f34-d5a4-41dd-b989-f2726dae5e05/app/node_modules/express/lib/router/route.js:125:14)
at next (/hana/shared/DSS/xs/ea_data/titdbshsl02ls/executionroot/24285f34-d5a4-41dd-b989-f2726dae5e05/app/node_modules/express/lib/router/route.js:125:14)