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.
Tony
908e196df4
|
6 years ago | |
---|---|---|
.. | ||
mocktrace | 6 years ago | |
proto | 6 years ago | |
zipkin | 6 years ago | |
README.md | 6 years ago | |
config.go | 6 years ago | |
config_test.go | 6 years ago | |
const.go | 6 years ago | |
context.go | 6 years ago | |
context_test.go | 6 years ago | |
dapper.go | 6 years ago | |
dapper_test.go | 6 years ago | |
marshal.go | 6 years ago | |
marshal_test.go | 6 years ago | |
noop.go | 6 years ago | |
option.go | 6 years ago | |
propagation.go | 6 years ago | |
report.go | 6 years ago | |
report_test.go | 6 years ago | |
sample.go | 6 years ago | |
sample_test.go | 6 years ago | |
span.go | 6 years ago | |
span_test.go | 6 years ago | |
tag.go | 6 years ago | |
tag_test.go | 6 years ago | |
tracer.go | 6 years ago | |
util.go | 6 years ago | |
util_test.go | 6 years ago |
README.md
net/trace
项目简介
- 提供Trace的接口规范
- 提供 trace 对Tracer接口的实现,供业务接入使用
接入示例
- 启动接入示例
trace.Init(traceConfig) // traceConfig is Config object with value.
- 配置参考
[tracer] network = "unixgram" addr = "/var/run/dapper-collect/dapper-collect.sock"
测试
- 执行当前目录下所有测试文件,测试所有功能