debug

package
v0.0.0-...-680e691 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 4, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

README

apm(Application Performance Management)

用于服务器调试,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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Errorf

func Errorf(format string, args ...interface{})

func Infof

func Infof(format string, args ...interface{})

func SetDefault

func SetDefault(d Debuger)

func Tracef

func Tracef(format string, args ...interface{})

Types

type Debuger

type Debuger interface {
	Errorf(format string, args ...interface{})
	Infof(format string, args ...interface{})
	Tracef(format string, args ...interface{})
}

Debuger 内部调试使用

func Default

func Default() Debuger

Directories

Path Synopsis
https://github.com/golang/mock
https://github.com/golang/mock

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL