wizzy export datasource fails if datasource already exists.
The same succeeds if datasource does not exist.
See the stack trace below. Looks like the request.js do not have put method (only post).
TypeError: request.put is not a function
at Request._callback (/usr/local/lib/node_modules/wizzy/src/remote/grafana/exportSrv.js:356:15)
at Request.self.callback (/usr/local/lib/node_modules/wizzy/node_modules/request/request.js:185:22)
at Request.emit (events.js:210:5)
at Request.EventEmitter.emit (domain.js:475:20)
at Request. (/usr/local/lib/node_modules/wizzy/node_modules/request/request.js:1154:10)
at Request.emit (events.js:210:5)
at Request.EventEmitter.emit (domain.js:475:20)
at IncomingMessage. (/usr/local/lib/node_modules/wizzy/node_modules/request/request.js:1076:12)
at Object.onceWrapper (events.js:299:28)
at IncomingMessage.emit (events.js:215:7)
wizzy export datasource fails if datasource already exists. The same succeeds if datasource does not exist. See the stack trace below. Looks like the request.js do not have put method (only post).
wizzy export datasource Bosun /usr/local/lib/node_modules/wizzy/src/remote/grafana/exportSrv.js:356 request.put(options, (error, response, body) => { ^
TypeError: request.put is not a function at Request._callback (/usr/local/lib/node_modules/wizzy/src/remote/grafana/exportSrv.js:356:15) at Request.self.callback (/usr/local/lib/node_modules/wizzy/node_modules/request/request.js:185:22) at Request.emit (events.js:210:5) at Request.EventEmitter.emit (domain.js:475:20) at Request. (/usr/local/lib/node_modules/wizzy/node_modules/request/request.js:1154:10)
at Request.emit (events.js:210:5)
at Request.EventEmitter.emit (domain.js:475:20)
at IncomingMessage. (/usr/local/lib/node_modules/wizzy/node_modules/request/request.js:1076:12)
at Object.onceWrapper (events.js:299:28)
at IncomingMessage.emit (events.js:215:7)