Interface HttpClientExperimentalAttributesGetter<REQUEST,RESPONSE>
- All Superinterfaces:
io.opentelemetry.instrumentation.api.semconv.http.HttpClientAttributesGetter<REQUEST,,RESPONSE> io.opentelemetry.instrumentation.api.semconv.http.HttpCommonAttributesGetter<REQUEST,,RESPONSE> io.opentelemetry.instrumentation.api.semconv.network.NetworkAttributesGetter<REQUEST,,RESPONSE> io.opentelemetry.instrumentation.api.semconv.network.ServerAttributesGetter<REQUEST>
public interface HttpClientExperimentalAttributesGetter<REQUEST,RESPONSE>
extends io.opentelemetry.instrumentation.api.semconv.http.HttpClientAttributesGetter<REQUEST,RESPONSE>
An interface for getting experimental HTTP client attributes.
-
Method Summary
Modifier and TypeMethodDescriptiongetUrlTemplate(REQUEST request) Returns the template used by the http client framework to build the request URL.Methods inherited from interface io.opentelemetry.instrumentation.api.semconv.http.HttpClientAttributesGetter
getServerAddress, getServerPort, getUrlFullMethods inherited from interface io.opentelemetry.instrumentation.api.semconv.http.HttpCommonAttributesGetter
getErrorType, getHttpRequestHeader, getHttpRequestMethod, getHttpResponseHeader, getHttpResponseStatusCodeMethods inherited from interface io.opentelemetry.instrumentation.api.semconv.network.NetworkAttributesGetter
getNetworkLocalAddress, getNetworkLocalInetSocketAddress, getNetworkLocalPort, getNetworkPeerAddress, getNetworkPeerInetSocketAddress, getNetworkPeerPort, getNetworkProtocolName, getNetworkProtocolVersion, getNetworkTransport, getNetworkType
-
Method Details
-
getUrlTemplate
Returns the template used by the http client framework to build the request URL.Examples:
/users/:userID?,{controller}/{action}/{id?}
-