Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bmhatfield/go-runtime-metrics
Collect Golang Runtime Metrics, outputting to a stats handler
https://github.com/bmhatfield/go-runtime-metrics
go golang runtime runtime-metrics stats statsd
Last synced: 4 days ago
JSON representation
Collect Golang Runtime Metrics, outputting to a stats handler
- Host: GitHub
- URL: https://github.com/bmhatfield/go-runtime-metrics
- Owner: bmhatfield
- License: mit
- Created: 2014-09-01T14:12:42.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-05-12T18:08:36.000Z (over 8 years ago)
- Last Synced: 2024-10-14T10:28:03.976Z (4 months ago)
- Topics: go, golang, runtime, runtime-metrics, stats, statsd
- Language: Go
- Size: 728 KB
- Stars: 547
- Watchers: 18
- Forks: 34
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](/screenshot.png?raw=true)