Class PeerServiceAttributesExtractor

java.lang.Object
io.opentelemetry.instrumentation.api.incubator.semconv.net.PeerServiceAttributesExtractor

@Deprecated public final class PeerServiceAttributesExtractor extends Object
Deprecated.
Extractor of the peer.service span attribute, described in the specification.
  • Method Summary

    Modifier and Type
    Method
    Description
    static <REQUEST, RESPONSE>
    io.opentelemetry.instrumentation.api.instrumenter.AttributesExtractor<REQUEST,RESPONSE>
    create(io.opentelemetry.instrumentation.api.semconv.network.ServerAttributesGetter<REQUEST> attributesGetter, PeerServiceResolver peerServiceResolver)
    Deprecated.
    Returns a new AttributesExtractor that will use the passed attributesGetter instance to determine the value of the peer.service attribute.

    Methods inherited from class java.lang.Object

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

    • create

      public static <REQUEST, RESPONSE> io.opentelemetry.instrumentation.api.instrumenter.AttributesExtractor<REQUEST,RESPONSE> create(io.opentelemetry.instrumentation.api.semconv.network.ServerAttributesGetter<REQUEST> attributesGetter, PeerServiceResolver peerServiceResolver)
      Deprecated.
      Returns a new AttributesExtractor that will use the passed attributesGetter instance to determine the value of the peer.service attribute.