You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
kratos/pkg/net/trace
王明俊 a631cbddf4
ci: add golangci-lint (#675)
4 years ago
..
jaeger ci: add golangci-lint (#675) 4 years ago
mocktrace replace pkg name to go-kratos 5 years ago
proto add kratos pkg 6 years ago
zipkin ci: add golangci-lint (#675) 4 years ago
README.md add kratos pkg 6 years ago
config.go replace pkg name to go-kratos 5 years ago
config_test.go add kratos pkg 6 years ago
const.go add kratos pkg 6 years ago
context.go ci: add golangci-lint (#675) 4 years ago
context_test.go fix trace test 5 years ago
dapper.go fix zipkin kind 5 years ago
dapper_test.go fix trace test 5 years ago
marshal.go replace pkg name to go-kratos 5 years ago
marshal_test.go add zipkin trace 5 years ago
noop.go Merge remote-tracking branch 'origin/master' 6 years ago
option.go add kratos pkg 6 years ago
propagation.go add kratos pkg 6 years ago
report.go add zipkin trace 5 years ago
report_test.go add kratos pkg 6 years ago
sample.go Merge remote-tracking branch 'origin/master' 6 years ago
sample_test.go fix sample test 5 years ago
span.go replace pkg name to go-kratos 5 years ago
span_test.go fix trace test 5 years ago
tag.go add kratos pkg 6 years ago
tag_test.go add kratos pkg 6 years ago
tracer.go Merge remote-tracking branch 'origin/master' 6 years ago
util.go replace pkg name to go-kratos 5 years ago
util_test.go add zipkin trace 5 years ago

README.md

net/trace

项目简介

  1. 提供Trace的接口规范
  2. 提供 trace 对Tracer接口的实现,供业务接入使用

接入示例

  1. 启动接入示例
    trace.Init(traceConfig) // traceConfig is Config object with value.
    
  2. 配置参考
    [tracer]
    network = "unixgram"
    addr = "/var/run/dapper-collect/dapper-collect.sock"
    

测试

  1. 执行当前目录下所有测试文件,测试所有功能