Class PeerServiceAttributesExtractor
java.lang.Object
io.opentelemetry.instrumentation.api.incubator.semconv.net.PeerServiceAttributesExtractor
Deprecated.
Extractor of the
peer.service span attribute, described in the
specification.-
Method Summary
Modifier and TypeMethodDescriptionstatic <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 newAttributesExtractorthat will use the passedattributesGetterinstance to determine the value of thepeer.serviceattribute.
-
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 newAttributesExtractorthat will use the passedattributesGetterinstance to determine the value of thepeer.serviceattribute.
-
ServicePeerAttributesExtractorinstead.