Class SpringWebfluxNetAttributesGetter

java.lang.Object
io.opentelemetry.instrumentation.spring.webflux.client.internal.SpringWebfluxNetAttributesGetter
All Implemented Interfaces:
io.opentelemetry.instrumentation.api.instrumenter.net.NetClientAttributesGetter<org.springframework.web.reactive.function.client.ClientRequest,org.springframework.web.reactive.function.client.ClientResponse>

public final class SpringWebfluxNetAttributesGetter extends Object implements io.opentelemetry.instrumentation.api.instrumenter.net.NetClientAttributesGetter<org.springframework.web.reactive.function.client.ClientRequest,org.springframework.web.reactive.function.client.ClientResponse>
This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    peerIp(org.springframework.web.reactive.function.client.ClientRequest request, org.springframework.web.reactive.function.client.ClientResponse response)
     
    peerName(org.springframework.web.reactive.function.client.ClientRequest request, org.springframework.web.reactive.function.client.ClientResponse response)
     
    peerPort(org.springframework.web.reactive.function.client.ClientRequest request, org.springframework.web.reactive.function.client.ClientResponse response)
     
    transport(org.springframework.web.reactive.function.client.ClientRequest request, org.springframework.web.reactive.function.client.ClientResponse response)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SpringWebfluxNetAttributesGetter

      public SpringWebfluxNetAttributesGetter()
  • Method Details

    • transport

      public String transport(org.springframework.web.reactive.function.client.ClientRequest request, @Nullable org.springframework.web.reactive.function.client.ClientResponse response)
      Specified by:
      transport in interface io.opentelemetry.instrumentation.api.instrumenter.net.NetClientAttributesGetter<org.springframework.web.reactive.function.client.ClientRequest,org.springframework.web.reactive.function.client.ClientResponse>
    • peerName

      @Nullable public String peerName(org.springframework.web.reactive.function.client.ClientRequest request, @Nullable org.springframework.web.reactive.function.client.ClientResponse response)
      Specified by:
      peerName in interface io.opentelemetry.instrumentation.api.instrumenter.net.NetClientAttributesGetter<org.springframework.web.reactive.function.client.ClientRequest,org.springframework.web.reactive.function.client.ClientResponse>
    • peerPort

      public Integer peerPort(org.springframework.web.reactive.function.client.ClientRequest request, @Nullable org.springframework.web.reactive.function.client.ClientResponse response)
      Specified by:
      peerPort in interface io.opentelemetry.instrumentation.api.instrumenter.net.NetClientAttributesGetter<org.springframework.web.reactive.function.client.ClientRequest,org.springframework.web.reactive.function.client.ClientResponse>
    • peerIp

      @Nullable public String peerIp(org.springframework.web.reactive.function.client.ClientRequest request, @Nullable org.springframework.web.reactive.function.client.ClientResponse response)
      Specified by:
      peerIp in interface io.opentelemetry.instrumentation.api.instrumenter.net.NetClientAttributesGetter<org.springframework.web.reactive.function.client.ClientRequest,org.springframework.web.reactive.function.client.ClientResponse>