top
(README.md)
# graphite-mysql

## What is this?

MySQL metrics to graphite gateway.

## Building it

1. Install [go](http://golang.org/doc/install)

2. Install "graphite-golang" go get -u github.com/marpaia/graphite-golang

2. Install "go-logging" go get -u github.com/op/go-logging

4. Compile graphite-mysql

        git clone git://github.com/akashihi/graphite-mysql.git
        cd graphite-mysql
        go build .

## Running it

Generally:

    graphite-mysql -host 127.0.0.1 -port 3306 -user root -password secret -metrics-host 192.168.1.1 -metrics-port 2003 -metrics-prefix test -period 60

All parameters could be omited. Run with --help to het parameters description

## License 

See LICENSE file.

Copyright 2015 Denis V Chapligin <akashihi@gmail.com>

Imports 3 package(s) ΒΆ

  1. github.com/go-sql-driver/mysql
  2. github.com/marpaia/graphite-golang
  3. github.com/op/go-logging