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
Tony d851aa0456 fix tag len 6 years ago
..
mocktrace Merge remote-tracking branch 'origin/master' 6 years ago
proto add kratos pkg 6 years ago
zipkin fix tag len 6 years ago
README.md add kratos pkg 6 years ago
config.go add zipkin trace 6 years ago
config_test.go add kratos pkg 6 years ago
const.go add kratos pkg 6 years ago
context.go fix zipkin kind 6 years ago
context_test.go fix trace test 6 years ago
dapper.go fix zipkin kind 6 years ago
dapper_test.go fix trace test 6 years ago
marshal.go fix zipkin kind 6 years ago
marshal_test.go add zipkin trace 6 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 6 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 result 6 years ago
span.go fix zipkin kind 6 years ago
span_test.go fix trace test 6 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 Merge remote-tracking branch 'origin/master' 6 years ago
util_test.go add zipkin trace 6 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. 执行当前目录下所有测试文件,测试所有功能