https://github.com/clever/go-process-metrics
A library for tracking golang process metrics
https://github.com/clever/go-process-metrics
Last synced: 4 months ago
JSON representation
A library for tracking golang process metrics
- Host: GitHub
- URL: https://github.com/clever/go-process-metrics
- Owner: Clever
- Created: 2015-07-29T03:14:50.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2025-04-24T00:13:47.000Z (about 1 year ago)
- Last Synced: 2025-06-12T06:07:18.571Z (about 1 year ago)
- Language: Makefile
- Size: 53.7 KB
- Stars: 1
- Watchers: 53
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# go-process-metrics
A library for tracking Golang process metrics
## Metrics Package
```
// Log records Golang process metrics such as HeapAlloc, NumGC, etc... every
// frequency time period. This function never returns so it should be called from
// a Goroutine.
Log(source string, frequency time.Duration)
```
## Testing
The tests can be run with:
```bash
$ make test
```