Ganglia reporter for go-metrics library
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
CONTRIBUTING.md
LICENSE
README.md
reporter.go
reporter_test.go

README.md

CLA assistant

WebsiteSlackForumTwitter

Metlia

This is a reporter for the go-metrics library which will post the metrics to ganglia.

Note

ganglia library is used to send metrics to ganglia.

Get this package using

$ go get github.com/appscode/metlia

Usage

import (
	"net"
	"time"

	"github.com/appscode/metlia"
	"github.com/rcrowley/go-metrics"
)

reg := metrics.NewRegistry()
addr, err := net.ResolveUDPAddr("udp4", "127.0.0.1:8649")

go metlia.Ganglia(reg, 30 * time.Second, addr)

License

metlia is licensed under the Apache 2.0 license. See the LICENSE file for details.