Skip to content

just-a-stone/dubbo

 
 

Repository files navigation

使用分支rpc-zipkin

设计方案

参考dapper数据结构设计,通过切入dubbo的filter,采集信息发送zipkin分析展示

xml配置

<bean name="traceInit" class="com.alibaba.dubbo.rpc.filter.trace.TraceInit" init-method="init" destroy-method="destroy">
        <property name="appName" value="paycenter"/>
        <property name="target" value="http://127.0.0.1:9411/api/v1/spans"/>
</bean>

默认按百分比采样:

  • 0-100/s 100%
  • 101-500/s 50%
  • 501- /s 10%

About

add rpc-trace to dubbo

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 98.3%
  • JavaScript 1.2%
  • CSS 0.3%
  • Shell 0.1%
  • Batchfile 0.1%
  • Lex 0.0%