Giter Club home page Giter Club logo

graphite-influxdb-syncer's Introduction

Graphite-InfluxDB-Syncer

This project is modified from Graphite-InfluxDB (https://github.com/vimeo/graphite-influxdb) and add memcache to cache InfluxDB series

Installation

::

pip install graphite_influxdb

yum remove libmemcached libmemcached-devel
wget https://launchpad.net/libmemcached/1.0/1.0.18/+download/libmemcached-1.0.18.tar.gz
tar zxvf ...configure...make install
vi /etc/ld.so.conf add /usr/local/lib
ldconfig -v |grep libmemcached
pip install pylibmc

Then replace graphite_influxdb.py file in python library path from this project

run sync_influxdb.py to sync all series to memcache 

Using with graphite-api

In your graphite-api config file::

finders:
  - graphite_influxdb.InfluxdbFinder
influxdb:
   host: localhost
   port: 8086
   user: user name
   pass: user password
   db:   db name

Using with graphite-web

In graphite's local_settings.py::

STORAGE_FINDERS = (
    'graphite_influxdb.InfluxdbFinder',
)
INFLUXDB_HOST = "localhost"
INFLUXDB_PORT = 8086
INFLUXDB_USER = "user name"
INFLUXDB_PASS = "user password"
INFLUXDB_DB =  "db name"

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.