A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/appscode/metlia below:

appscode/metlia: Ganglia reporter for go-metrics library

WebsiteSlackForumTwitter

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

ganglia library is used to send metrics to ganglia.

Get this package using

$ go get github.com/appscode/metlia
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)

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4