Skip to content

danzilio/meta-graphite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

build status

meta-graphite: stitch multiple graphite servers together

It is not uncommon to run separate graphite installations for separate environments. For example, separate "dev" and "production" graphite clusters. However, the reason graphite became so succesful because it provides a friendly API to query all of your metrics. With meta-graphite, you can hide your disparate servers behind a single endpoint.

Installation

If you have a Go compiler (version 1.3 or above) installed, run

go get github.com/droyo/meta-graphite

Binary releases will be provided at a later time.

Setup

Create a file config.json, containing mappings, like so:

{
	"mappings": {
		"qe": "http://qe-graphite.example.net/",
		"dev": "http://dev-graphite.example.net/"
	}
}

To run meta-graphite, execute

meta-graphite -c config.json -http=:8080

meta-graphite will log http requests to standard error in the Common Log Format.

About

Meta-proxy for stitching together multiple graphite servers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages