Skip to content
This repository has been archived by the owner on Nov 22, 2017. It is now read-only.

InfluxDB support? #28

Open
damm opened this issue Nov 22, 2015 · 11 comments
Open

InfluxDB support? #28

damm opened this issue Nov 22, 2015 · 11 comments

Comments

@damm
Copy link

damm commented Nov 22, 2015

I noticed you support Graphite. I realize you may not want to support every single time series engine but it would be neat.

Doubt timelion will change my world but it would be nice to stick to a single set of tools; we deploy the elk stack so anyway we could unify our metrics + kibana is a win.

@rashidkpc
Copy link
Contributor

I'm all about supporting InfluxDB, i just haven't used it. If someone wants to setup a public influx instance and populate it with some data I'm happy to write an input

@damm
Copy link
Author

damm commented Nov 23, 2015

I know of https://github.com/torkelo/influxdb-data-gen/blob/master/app.js for generating said data; public instance I have no knowledge of any. How long do you need it available for?

@rashidkpc
Copy link
Contributor

Couple days maybe, its super easy to write inputs. If you want to have a first stab at it you can base your work on: https://github.com/elastic/timelion/blob/master/series_functions/graphite.js

@damm
Copy link
Author

damm commented Dec 15, 2015

They do make it available at https://influxdata.com/get-started/download-and-install-influxdb/ so you can install it locally. There is a hosted option that's fairly cheap but they got rid of the old play.influxdb.org and now points to their hosted option.

I don't keep my influxdb exposed lately so I can't really help with an instance.

@rmoff
Copy link

rmoff commented Mar 3, 2016

This would be awesome to have.
I'm not a JS coder at all, but it'd be fun to have a crack at this. Hacking away at the graphite example you posted above sounds good - any pointers to how I'd go about actually running/integrating a new JS that I created from this?

It looks like there used to be an InfluxDB client JS library but is now dormant: https://github.com/influxdata/influxdb-js

Querying is via a SQL-like language over HTTP

This SO answer has an example: http://stackoverflow.com/a/33011011/350613

@Duncx
Copy link

Duncx commented Mar 23, 2016

+1
This would be an excellent addition

@rashidkpc
Copy link
Contributor

I'd take a pull for this, I just don't have an Influx environment.

@rmoff
Copy link

rmoff commented Apr 27, 2016

@rashidkpc I'm happy to have a crack at this -- but I've not worked on plugins etc before. Can you point me in the right direction to quite how I'd run something that I write based on that graphite.js? Do I just edit files in place in the kibana install and it picks them up?

@rashidkpc
Copy link
Contributor

Your best bet is to setup a kibana dev environment (see Kibana's CONTRIBUTING.md) then checkout the timelion repo to the same directory (eg timelion and kibana should be on the same level in the directory structure), then run gulp dev in the timelion directory. That should get you going. gulp dev will keep kibana up to date with the changes you make in the timelion directory

@rmoff
Copy link

rmoff commented Apr 27, 2016

Thanks. I'll give it a go...

On 27 April 2016 at 15:46, Rashid Khan [email protected] wrote:

Your best bet is to setup a kibana dev environment (see Kibana's
CONTRIBUTING.md) then checkout the timelion repo to the same directory (eg
timelion and kibana should be on the same level in the directory
structure), then run gulp dev in the timelion directory. That should get
you going. gulp dev will keep kibana up to date with the changes you make
in the timelion directory


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#28 (comment)

Robin Moffatt
Head of R&D (Europe), Rittman Mead Consulting
M: +44 7841 207 265 • E: [email protected] • S: robinmoffatt • T: @rmoff
https://twitter.com/rmoff

Registered Office : Suite B, First Floor, Moore House, 11 - 13 Black Lion
Street, Brighton, BN1 1ND, United Kingdom / Company No. : 6032852 / VAT No.
: 900 3839 48

Please note that this email communication is intended only for the
addressee and may contain confidential or privileged information. The
contents of this email may be circulated internally within your
organisation only and may not be communicated to third parties without the
prior written permission of Rittman Mead Consulting. This email is not
intended nor should it be taken to create any legal relations, contractual
or otherwise.

@rashidkpc
Copy link
Contributor

Timelion now supports external plugins. I created a sample one here as well as instructions in the README.md on developing and packaging plugins: https://github.com/rashidkpc/timelion-random

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

No branches or pull requests

4 participants