Need help with go-runtime-metrics?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

bmhatfield
502 Stars 31 Forks MIT License 34 Commits 0 Opened issues

Description

Collect Golang Runtime Metrics, outputting to a stats handler

Services available

!
?

Need anything else?

Contributors list

# 94,784
Shell
statsd
golang
Django
21 commits
# 144,562
golang
system-...
gzip
Apache ...
3 commits
# 8,349
golang
gRPC
oauth2
Google ...
1 commit
# 72,832
Objecti...
schema-...
Heroku
Swift
1 commit

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

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.