Git Product home page Git Product logo

Comments (20)

vishh avatar vishh commented on May 7, 2024

The plan as you mentioned is to have plugins for different storage
backends.
AFAIK we haven't explored influxdb in detail. Are you interested in working
on adding support for it?

On Fri, Jun 13, 2014 at 11:34 AM, Jonathan Chauncey <
[email protected]> wrote:

  • How do you tell cAdvisor which influxdb nodes to use?
  • Should it push the data in realtime or on a timer?

Im guessing eventually this will be the basis for a plugin setup for
allowing data to be pushed to other systems like ganglia and graphite.


Reply to this email directly or view it on GitHub
#39.

from cadvisor.

jchauncey avatar jchauncey commented on May 7, 2024

yeah I think im going to take a stab at it. Im definitely not a go expert but think I can get a working prototype on a branch for you guys to look at.

from cadvisor.

vmarmol avatar vmarmol commented on May 7, 2024

Definitely! Let us know how we can help.

from cadvisor.

erikh avatar erikh commented on May 7, 2024

Here's a basic shipper between the cadvisor and influx DB APIs: https://gist.github.com/erikh/fbfe6dadc938cf815435

I'll be working on this a bit as well. If you'd like to collaborate @jchauncey, please lmk.

from cadvisor.

josephruscio avatar josephruscio commented on May 7, 2024

+1 to plugins for different storage backends, we could put a @librato plugin together then :-)

from cadvisor.

vmarmol avatar vmarmol commented on May 7, 2024

@monnand started work to refactor the existing code to make it easier to add these drivers. So hopefully by next week you'll be able to add many different drivers for storage backends.

from cadvisor.

monnand avatar monnand commented on May 7, 2024

#58 is the last PR to add storage drivers into cAdvisor. Once we got this merged, I will work on other storage backends like influxdb and BigQuery (which is mentioned in #43)

from cadvisor.

erikh avatar erikh commented on May 7, 2024

On Jun 17, 2014, at 1:55 PM, monnand [email protected] wrote:

#58 is the last PR to add storage drivers into cAdvisor. Once we got this merged, I will work on other storage backends like influxdb and BigQuery (which is mentioned in #43)

Can I take influx? I can probably have it banged out later this week.

-Erik

from cadvisor.

vmarmol avatar vmarmol commented on May 7, 2024

@erikh that SGTM. Only question I have there is if it can be run within the same process as the rest of cAdvisor

from cadvisor.

erikh avatar erikh commented on May 7, 2024

On Jun 17, 2014, at 2:15 PM, Victor Marmol [email protected] wrote:

@erikh that SGTM. Only question I have there is if it can be run within the same process as the rest of cAdvisor

I’ll investigate this but it might not be possible. What would you suggest in lieu of that?

-Erik

from cadvisor.

vmarmol avatar vmarmol commented on May 7, 2024

I just wanted to keep us from depending on another process running, but if there is nothing we can do then we can go that route.

from cadvisor.

monnand avatar monnand commented on May 7, 2024

@erikh Thanks! You could take a look at the storage package and implement the StorageDriver interface. I probably will add a Close() error method to the interface, which seems useful.

from cadvisor.

jchauncey avatar jchauncey commented on May 7, 2024

Why isnt this configurable? Its memory by default and you can set a flag to push to influx.

from cadvisor.

monnand avatar monnand commented on May 7, 2024

@jchauncey Yes. I think that would be better. The only reason I didn't make it configurable is because we only have one storage driver now. Once we add more drivers, we should let users to choose which one they want to use.

from cadvisor.

vmarmol avatar vmarmol commented on May 7, 2024

👍 to configurable. For now we only have one option :D

With @monnand's StorageDriver PRs we should be able to take any of these easily

from cadvisor.

tamsky avatar tamsky commented on May 7, 2024

👍 to not restricting the implementation of this to a single service.

Being able to actively push to multiple distinct backend services, concurrently, is super desirable.

from cadvisor.

rjnagal avatar rjnagal commented on May 7, 2024

@erikh Do you have a patch we can collaborate on?

from cadvisor.

erikh avatar erikh commented on May 7, 2024

Unfortunately I have not had time to do this.

If you want to take it, go for it.

-Erik

On Jul 1, 2014, at 1:40 PM, Rohit Jnagal [email protected] wrote:

@erikh Do you have a patch we can collaborate on?


Reply to this email directly or view it on GitHub.

from cadvisor.

monnand avatar monnand commented on May 7, 2024

Working on this issue today. But failed to use the influxdb's Go library. Posted a message on their mailing list. https://groups.google.com/forum/#!topic/influxdb/FDU6ELiICGo

from cadvisor.

vmarmol avatar vmarmol commented on May 7, 2024

The initial version of this is done with @monnand's #74. Feel free to open other issues for details that may be missing :)

from cadvisor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.