Comments (11)
@abhisant any news?
from druidplugin.
Closing: TypeError: _.pluck is not a function -> The error no more exists. In case of any Grafana 4.0 support/issues, please open a new issue. I will release a new version soon. Will wait for next 1 week if there are any new commits / pulls to be included in the new version.
from druidplugin.
Thanks @abhisant !
Might it be possible to release a new version (0.2.1) on grafana plugins ?
Thanks you in advance !
from druidplugin.
@yacir : I am working on adding build scripts so that folks can contribute to the project. I was thinking on waiting for couple of more commits before releasing a new version.
Will it be possible for you to copy the dist files in the datasource till then ? If not I can work with the Grafana team to have it released.
from druidplugin.
from druidplugin.
I've tried replacing _.pluck(array, field)
with array.map(i => i[field])
which works great so far, except in a few places the array
can be undefined.
Also, could you please add proper build scripts (like in http://grafana.org/blog/2016/04/08/timing-is-everything.-writing-the-clock-panel-plugin-for-grafana-3.0/) to this repo? Should be easier to contribute then.
Thanks!
from druidplugin.
Sure, thanks.
@hexchain , I will be traveling out of the country for around a month and will be back on Feb 06. I am trying to windup my stuff before I leave. Will try my best to address your issue. Else, will work remotely and get back to you as soon as I can.
from druidplugin.
Looks like this got introduced when the Grafana team added the following change:
upraded lodash to 4.15.0, closes #6021
Saw this in one of the datasource plugins:
grafana/grafana@649d9f9
from druidplugin.
Sorry again @yacir : As I mentioned, I am currently out of the country till Feb 06 (with intermittent internet connectivity). Looks like lot of folks are waiting on this. I will try to work on this as soon as I get some time. Thanks for being patient.
from druidplugin.
I suggest _.map(objects, field)
or _.map(objects, (e) => {....return ...})
syntax. This way it wouldn't fail.
from druidplugin.
Just updated the datasource.js and replaced pluck with map.
"TypeError: _.pluck is not a function" -> This looks to be resolved. Yet to test remaining scenarios.
Please copy the files from dist folder and replace it with the files in the folder:
grafana-<4.x.x>/data/plugins/abhisant-druid-datasource/.
from druidplugin.
Related Issues (20)
- Project ownership HOT 3
- Unable to run tests
- Use the Plugin HOT 1
- New Plugin: Full featured / Grafana 7+ HOT 8
- druidplugin does not support alerting HOT 2
- can't find log written by druidplugin in grafana.log HOT 2
- The configured Query page can only initiate queries of type SELECT HOT 2
- Not getting Data Graffana 7.5.7 HOT 3
- When I add a variable HOT 1
- Angular is deprecated - please migrate to React
- Not able to submit `datasource` of type `query` to the plugin.
- automatically downsample the Custom Granularity
- Don't work repeating panels with a multivalue variables
- can not loading druid plugin http setting HOT 1
- there is no option for count_distinct functionality
- Project status ? looking for new maintainers ? HOT 23
- cant work with grafana 6.0.0 HOT 1
- Help needed : Unable to graph any data in grafana HOT 5
- Help needed: configure plugin via cli HOT 1
- Latest Grafana 6.6.2 and latest Druid 0.17 HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from druidplugin.