类 TraceWebClientSpanDecorator

java.lang.Object
tech.mhuang.pacebox.springboot.autoconfiguration.trace.webclient.TraceWebClientSpanDecorator
所有已实现的接口:
io.opentracing.contrib.spring.web.client.WebClientSpanDecorator

public class TraceWebClientSpanDecorator extends Object implements io.opentracing.contrib.spring.web.client.WebClientSpanDecorator
埋点webClient
从以下版本开始:
1.0.0
作者:
mhuang
  • 嵌套类概要

    从接口继承的嵌套类/接口 io.opentracing.contrib.spring.web.client.WebClientSpanDecorator

    io.opentracing.contrib.spring.web.client.WebClientSpanDecorator.StandardTags
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    onCancel(org.springframework.web.reactive.function.client.ClientRequest httpRequest, io.opentracing.Span span)
     
    void
    onError(org.springframework.web.reactive.function.client.ClientRequest clientRequest, Throwable throwable, io.opentracing.Span span)
     
    void
    onRequest(org.springframework.web.reactive.function.client.ClientRequest clientRequest, io.opentracing.Span span)
     
    void
    onResponse(org.springframework.web.reactive.function.client.ClientRequest clientRequest, org.springframework.web.reactive.function.client.ClientResponse clientResponse, io.opentracing.Span span)
     

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • TraceWebClientSpanDecorator

      public TraceWebClientSpanDecorator()
  • 方法详细资料

    • onRequest

      public void onRequest(org.springframework.web.reactive.function.client.ClientRequest clientRequest, io.opentracing.Span span)
      指定者:
      onRequest 在接口中 io.opentracing.contrib.spring.web.client.WebClientSpanDecorator
    • onResponse

      public void onResponse(org.springframework.web.reactive.function.client.ClientRequest clientRequest, org.springframework.web.reactive.function.client.ClientResponse clientResponse, io.opentracing.Span span)
      指定者:
      onResponse 在接口中 io.opentracing.contrib.spring.web.client.WebClientSpanDecorator
    • onError

      public void onError(org.springframework.web.reactive.function.client.ClientRequest clientRequest, Throwable throwable, io.opentracing.Span span)
      指定者:
      onError 在接口中 io.opentracing.contrib.spring.web.client.WebClientSpanDecorator
    • onCancel

      public void onCancel(org.springframework.web.reactive.function.client.ClientRequest httpRequest, io.opentracing.Span span)
      指定者:
      onCancel 在接口中 io.opentracing.contrib.spring.web.client.WebClientSpanDecorator