nerdalert / cloud-bandwidth

Measure and Graph Network Bandwidth
Apache License 2.0
175 stars 34 forks source link

save metrix to an influxdb instead of graphite #3

Open danielo515 opened 4 years ago

danielo515 commented 4 years ago

Hello. Thank you very much for putting toghether this set of tools. It really made very easy to run some network tests on my local network under 10 minute setup (god bless internet).

Now that I want to have a more long term setput I was wondering if it will be possible to send the results to an influxdb database instead of a graphite one. They seems to be pretty similar. The reason why I'm asking this is because I already have a graphana setup (no problem there) and an influxdb database running on my server. I already have a postgresql influxdb databases and I would like to not have to add another one to maintain and secure 😄

By the way, I'm not sure if the configuration in the yaml file should be called graphana port? seems to be the database port, and it is a bit confusing with that name.

Thanks and regards

nerdalert commented 4 years ago

Hi @danielo515 apologies for the delay! Yes you can definitely use Influxdb (or any other TSDB). I just like graphite since it is super easy and I like the gographite/go-graphite build.

Thanks for checking it out and let me know how it goes. I should probably add an Influx option. Cheers!

danielo515 commented 4 years ago

Hello @nerdalert , thanks for your answer. Any idea of how can I use influxdb for example?

What about this?

By the way, I'm not sure if the configuration in the yaml file should be called graphana port? seems to be the database port, and it is a bit confusing with that name.