package
Version:
v0.0.0-...-680e691
Opens a new window with list of versions in this module.
Published: Jul 4, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
用于服务器调试,bug追踪等服务质量监控,log,metrics,tracing,breaker,bi,alert
logs 异步日志输出
- 异步操作
- 输出支持插件扩展,默认支持terminal,simple file
- 支持格式化
metrics 指标监控
需要支持常见的tsdb,比如Prometheus,InfluxDB,OpenTSDB等
https://github.com/prometheus/client_golang
https://github.com/uber-go/tally
https://github.com/rcrowley/go-metrics
https://github.com/prometheus/client_golang
tracing 调用链路追踪
常见的库:OpenTracer,zipkin,Jaeger
https://github.com/DataDog/dd-trace-go
https://github.com/jaegertracing/jaeger-client-go
breaker 熔断器
Circuit Breakers Pattern
一些库
开源测试框架
开源压测框架
其他一些资料
Documentation
¶
func Errorf(format string, args ...interface{})
func Infof(format string, args ...interface{})
func Tracef(format string, args ...interface{})
type Debuger interface {
Errorf(format string, args ...interface{})
Infof(format string, args ...interface{})
Tracef(format string, args ...interface{})
}
Debuger 内部调试使用
Source Files
¶
Directories
¶
|
|
|
|
https://github.com/golang/mock
|
https://github.com/golang/mock |
|
|
|
|
Click to show internal directories.
Click to hide internal directories.