1 Star 0 Fork 0

tym_hmm / eric-metrics

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
doc.go 823 Bytes
一键复制 编辑 原始数据 按行查看 历史
天蝎儿 提交于 2022-11-10 13:56 . edit
// Package eric-metrics allows to visualise Go program runtime metrics data in real
// time: heap, objects, goroutines, GC pauses, scheduler, etc. in your browser.
//
// Register eric-metrics endpoint on your server http.ServeMux (preferred method):
//
// mux := http.NewServeMux()
// ericMetrics.Register(mux)
//
// Or register on `http.DefaultServeMux`:
//
// ericMetrics.RegisterDefault()
//
// By default eric-metrics is served at `/debug/eric-metrics/`.
//
// If your application is not already running an HTTP server, you need to start
// one. Add "net/http" and "log" to your imports and the following code to your
// main function:
//
// go func() {
// log.Println(http.ListenAndServe("localhost:6060", nil))
// }()
//
// Then open your browser at http://localhost:6060/debug/eric-metrics/.
package ericMetrics
Go
1
https://gitee.com/tym_hmm/eric-metrics.git
git@gitee.com:tym_hmm/eric-metrics.git
tym_hmm
eric-metrics
eric-metrics
v1.0.3

搜索帮助

53164aa7 5694891 3bd8fe86 5694891