go-runtime-metrics

Collect Golang Runtime Metrics, outputting to a stats handler

Github stars Tracking Chart

go-runtime-metrics

Collect Golang Runtime Metrics, outputting to a stats handler (currently, statsd)

The intent of this library is to be a "side effect" import. You can kick off the collector merely by importing this into your main:

import _ "github.com/bmhatfield/go-runtime-metrics"

This library has a few optional flags it depends on. It won't be able to output stats until you call flag.Parse(), which is generally done in your func main() {}.

Once imported and running, you can expect a number of Go runtime metrics to be sent to statsd over UDP. An example of what this looks like:

Dashboard Screenshot

Main metrics

Overview
Name With Ownerbmhatfield/go-runtime-metrics
Primary LanguageGo
Program languageGo (Language Count: 1)
Platform
License:MIT License
所有者活动
Created At2014-09-01 14:12:42
Pushed At2016-05-12 18:08:36
Last Commit At2016-05-12 14:08:36
Release Count0
用户参与
Stargazers Count545
Watchers Count17
Fork Count34
Commits Count34
Has Issues Enabled
Issues Count1
Issue Open Count0
Pull Requests Count7
Pull Requests Open Count0
Pull Requests Close Count1
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private