Link reporting

Updated at:

The distributed tracing system of Real-time Monitoring Service (RMS) supports the active reporting mode of SOFATracer.

Procedure

To use this mode, perform the following steps:

  1. Add the following dependency:

    <dependency>
         <groupId>com.alipay.sofa</groupId>
         <artifactId>tracer-enterprise-sofa-boot-starter</artifactId>
     </dependency>
  2. Add the following configuration:

    com.alipay.sofa.tracer.remote=dst
    com.alipay.sofa.tracer.dst.acvip=false
    com.alipay.sofa.tracer.dst.url=http://{{monitor-gateway-lb}}/zipkin/api/v1/spans
    Note

    The following part shows a sample value of {monitor-gateway-lb}:

    For the production environment in the China East 1 Finance region on Alibaba Cloud, the value of {monitor-gateway-lb} is {cn-hangzhou-domainName}.
    In this case, the following code is used: