Code Monkey home page Code Monkey logo

graphite-in-a-box's Introduction

graphite-in-a-box

Vagrant configuration to go from nothing to a working Graphite test instance in minutes

Why?

Last year I was minding my own business at my desk when the storage engineer behind me asked if I knew any Python. I had been hacking on a Vagrantfile at the time and asked why. He explained that he was having trouble setting up a program called Graphite. I wasn't very good at Python, but Graphite I knew!...and Graphite In A Box was born.

We've been using it for almost a year now at Salesforce.com as a way to get a quick Graphite instance up in minutes for testing code, testing configs, testing monitoring, testing dashboards, you get the picture.

When giving a talk at Agile 2013 this year I guess I mentioned it in my talk. Someone came up to my after and asked where they could get it, I had to explain that sadly, it's an internal only project.

Until now...

I've changed a few things about the way I originally implemented it to make it easier to maintain, and the code is all new.

Getting started

Graphite in a box has two requirements

  • Vagrant
  • Virtualbox

From there getting started is as easy as

  1. Git clone this project
  2. Add 'graphite' to the end of the line containing 127.0.0.1 in /etc/hosts (Linux and Mac)
  3. vagrant up
  4. Go to http://graphite:8080/ in your browser

That's it. Port 2003 and 2004 are mapped as usual.

Future Plans

  • Make the puppet code more organized, right now everything is in one place
  • Support some kind of switches to allow different tools to feed the instance (collectd, etc)
  • Integrate statsd?
  • Integrate different dashboard tools?

Pull requests, issues, and RFEs welcome.

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.