When looking in that folder my module.js file in one more directory in with the "dist" folder not directly in the "jasonlashua-prtg-datasource" folder.
INSIDE THE JASONLASHUA-PRTG-DATASOURCE FOLDER
**@grafana:/usr/share/grafana/public/app/plugins/datasource/jasonlashua-prtg-datasource$ ll
total 24
drwxrwxr-x 4 default default 4096 Aug 27 20:37 ./
drwxr-xr-x 12 root root 4096 Oct 17 10:32 ../
drwxrwxr-x 4 default default 4096 Aug 27 20:37 dist/
-rw-rw-r-- 1 default default 1328 Aug 27 20:37 gruntfile.js
-rw-rw-r-- 1 default default 1084 Aug 27 20:37 package.json
drwxrwxr-x 4 default default 4096 Aug 27 20:37 src/
INSIDE THE DIST FOLDER:
*****@grafana:/usr/share/grafana/public/app/plugins/datasource/jasonlashua-prtg-datasource/dist$ ll
total 160
drwxrwxr-x 4 default default 4096 Aug 27 20:37 ./
drwxrwxr-x 4 default default 4096 Aug 27 20:37 ../
-rw-rw-r-- 1 default default 8865 Aug 27 20:37 datasource.js
-rw-rw-r-- 1 default default 11945 Aug 27 20:37 datasource.js.map
drwxrwxr-x 2 default default 4096 Aug 27 20:37 img/
-rw-rw-r-- 1 default default 1724 Aug 27 20:37 module.js
-rw-rw-r-- 1 default default 1198 Aug 27 20:37 module.js.map
drwxrwxr-x 2 default default 4096 Aug 27 20:37 partials/
-rw-rw-r-- 1 default default 591 Aug 27 20:37 plugin.json
-rw-rw-r-- 1 default default 2604 Aug 27 20:37 PRTAPICore.js
-rw-rw-r-- 1 default default 1433 Aug 27 20:37 PRTAPICore.js.map
-rw-rw-r-- 1 default default 17548 Aug 27 20:37 PRTGAPIService.js
-rw-rw-r-- 1 default default 27884 Aug 27 20:37 PRTGAPIService.js.map
-rw-rw-r-- 1 default default 10722 Aug 27 20:37 query_ctrl.js
-rw-rw-r-- 1 default default 14789 Aug 27 20:37 query_ctrl.js.map
-rw-rw-r-- 1 default default 137 Aug 27 20:37 README.md
-rw-rw-r-- 1 default default 6821 Aug 27 20:37 xmlparser.js
-rw-rw-r-- 1 default default 7978 Aug 27 20:37 xmlparser.js.map
-rw-rw-r-- 1 default default 3787 Aug 27 20:37 XMLtoJSON.xsl
When adding the data source and selecting the type as "PRTG for Grafana 3" I receive the error "Error loading https://10.0.50.17/public/app/datasource/jasonlashua-prtg-datasource/module.js".
When looking in that folder my module.js file in one more directory in with the "dist" folder not directly in the "jasonlashua-prtg-datasource" folder.
INSIDE THE JASONLASHUA-PRTG-DATASOURCE FOLDER
**@grafana:/usr/share/grafana/public/app/plugins/datasource/jasonlashua-prtg-datasource$ ll total 24 drwxrwxr-x 4 default default 4096 Aug 27 20:37 ./ drwxr-xr-x 12 root root 4096 Oct 17 10:32 ../ drwxrwxr-x 4 default default 4096 Aug 27 20:37 dist/ -rw-rw-r-- 1 default default 1328 Aug 27 20:37 gruntfile.js -rw-rw-r-- 1 default default 1084 Aug 27 20:37 package.json drwxrwxr-x 4 default default 4096 Aug 27 20:37 src/
INSIDE THE DIST FOLDER:
*****@grafana:/usr/share/grafana/public/app/plugins/datasource/jasonlashua-prtg-datasource/dist$ ll total 160 drwxrwxr-x 4 default default 4096 Aug 27 20:37 ./ drwxrwxr-x 4 default default 4096 Aug 27 20:37 ../ -rw-rw-r-- 1 default default 8865 Aug 27 20:37 datasource.js -rw-rw-r-- 1 default default 11945 Aug 27 20:37 datasource.js.map drwxrwxr-x 2 default default 4096 Aug 27 20:37 img/ -rw-rw-r-- 1 default default 1724 Aug 27 20:37 module.js -rw-rw-r-- 1 default default 1198 Aug 27 20:37 module.js.map drwxrwxr-x 2 default default 4096 Aug 27 20:37 partials/ -rw-rw-r-- 1 default default 591 Aug 27 20:37 plugin.json -rw-rw-r-- 1 default default 2604 Aug 27 20:37 PRTAPICore.js -rw-rw-r-- 1 default default 1433 Aug 27 20:37 PRTAPICore.js.map -rw-rw-r-- 1 default default 17548 Aug 27 20:37 PRTGAPIService.js -rw-rw-r-- 1 default default 27884 Aug 27 20:37 PRTGAPIService.js.map -rw-rw-r-- 1 default default 10722 Aug 27 20:37 query_ctrl.js -rw-rw-r-- 1 default default 14789 Aug 27 20:37 query_ctrl.js.map -rw-rw-r-- 1 default default 137 Aug 27 20:37 README.md -rw-rw-r-- 1 default default 6821 Aug 27 20:37 xmlparser.js -rw-rw-r-- 1 default default 7978 Aug 27 20:37 xmlparser.js.map -rw-rw-r-- 1 default default 3787 Aug 27 20:37 XMLtoJSON.xsl