Giter Club home page Giter Club logo

graphite-deploy's Introduction

Graphite deployment

This build is for the Introduction to Tracking Statistics on Servers tutorial by Justin Ellingwood.

The build uses Ansible to configure a virtual machine, created via Vagrant.

Disclaimer

This is only an example usage. Feel free to pick it apart and reuse as you see fit.

I think it goes without saying, but just in case... Use this at your own risk.

Usage

The following instructions create an Ubuntu 14.04 LTS server with graphite installed on it.

Note, at the moment, I'm using OS X. Adapt the instructions to meet your own needs. :)

Prerequisites

  1. You'll need Python (>=2.7) with Ansible installed.

    brew install python
    pip install ansible

    I'd recommend you use virtualenv, but that's outside the scope of these instructions.

  2. You'll also need to install Vagrant, which can be downloaded at vagrantup.com.

Installation

Once you've got vagrant and ansible installed:

  1. Checkout this repo: git clone https://github.com/pumazi/graphite-deploy.git
  2. Install ansible-galaxy packages (from the root of this project): ansible-galaxy install -r requirements.yml
  3. Flip the switch: vagrant up

If you make any changes to the playbook, you can push those using: vagrant provision

Viewing the service

Graphite will be running at http://192.168.17.34 and statsd will be running at the same address on the default port.

Changes and omissions

I've done some things different from the tutorial. It's likely easier to use apache2 with graphite on debian, since it the configuration files already exist. It's been some time since I've used apache, so I've choosen to use nginx instead.

Collectd is not configured to collect stats from nginx.

graphite-deploy's People

Contributors

mmulich avatar

Watchers

James Cloos avatar

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.