Giter Club home page Giter Club logo

graphite-ish's Introduction

Graphite-ish

Graphite project consists of three components that designed to work together:

  • carbon daemon that accepts and stores metrics
  • whisper database where metrics are kept
  • web app that reads metrics and processes them using a comprehensive list of supported functions

Every component exposes several APIs that are used by other components. All of them are written in Python.

Two more components are often used together with Graphite:

  • StatsD โ€” a Node.js app that accepts metrics and aggregates them before submitting to carbon;
  • Grafana โ€” web dashboard for Graphite (and other backends)

So what?

This set of images replaces original carbon daemon and StatsD aggregation daemon with other compatible components to improve performance and throughput.

Grafana 4 is also included.

Included images

Component Version
go-carbon v0.7.2 Drop-in replacement for original carbon daemon, written in Go
Brubeck 5d139a4 Easy replacement for StatsD, written in C
Graphite API latest A piece of original Graphite Web component with less features
Grafana v4.1.1 Beautiful dashboard for all of that

Building

Make sure Docker and Docker Compose are installed.

$ make graphite fast

Re-building

$ make graphite fast again

Starting

$ make run

Using

  • Open Grafana dashboard at http://[docker-host]:3000/, sign in as admin/admin
  • Create new data source of type Graphite that points to http://graphite-api:8000
  • Create a new chart with a test metric (test.ping in this example)
  • Start sending metrics to StatsD-compatible endpoint
  • Metrics should show up on Grafana dashboard

You can send metrics right from terminal:

# 1000 times
# Send "test.ping:1|C\n"
# Verbose, Using UDP, Timeout 1s
# To StatsD port on Docker
$ for i in {1..1000}; do echo "test.ping:1|C" | nc -v -u -w1 `docker-machine ip` 8126; done

Data is kept in /data/graphite/whisper directory on the host machine.

graphite-ish's People

Contributors

localhots avatar zvymazal avatar

Watchers

Birkir A. Barkarson avatar Jens Zeilund avatar James Cloos avatar Christian Orthmann avatar Oleh Herych avatar Dmytro avatar Raul-Mircea Crivineanu avatar Joseph Buchma avatar Andriy avatar Nicolai Bentsen avatar Alex Yaroshenko avatar  avatar Klaus Post avatar talkinjitsu avatar  avatar Eik Madsen 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.