Interface ApacheHttpClientObservationConvention
- All Superinterfaces:
io.micrometer.observation.KeyValuesConvention, io.micrometer.observation.ObservationConvention<ApacheHttpClientContext>
- All Known Implementing Classes:
DefaultApacheHttpClientObservationConvention, OpenTelemetryApacheHttpClientObservationConvention
@Deprecated
public interface ApacheHttpClientObservationConvention
extends io.micrometer.observation.ObservationConvention<ApacheHttpClientContext>
Deprecated.
use the Apache httpclient5-observation artifact instead
ObservationConvention for Apache HTTP Client 5 instrumentation.- Since:
- 1.11.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.Name of theHttpClientContextattribute that should hold the String representation of the URI template used for creating the client URL.Fields inherited from interface io.micrometer.observation.ObservationConvention
EMPTY -
Method Summary
Modifier and TypeMethodDescriptiondefault booleansupportsContext(io.micrometer.observation.Observation.Context context) Deprecated.Methods inherited from interface io.micrometer.observation.ObservationConvention
getContextualName, getHighCardinalityKeyValues, getLowCardinalityKeyValues, getName
-
Field Details
-
URI_TEMPLATE_ATTRIBUTE
Deprecated.Name of theHttpClientContextattribute that should hold the String representation of the URI template used for creating the client URL.This value can be contributed as an
KeyValueto the recorded observations.String uriTemplate = "/users/{id}"; HttpClientContext clientContext = ... clientContext.setAttribute(ApacheHttpClientObservationConvention.URI_TEMPLATE_ATTRIBUTE, uriTemplate);- Since:
- 1.12.0
- See Also:
-
-
Method Details
-
supportsContext
default boolean supportsContext(io.micrometer.observation.Observation.Context context) Deprecated.- Specified by:
supportsContextin interfaceio.micrometer.observation.ObservationConvention<ApacheHttpClientContext>
-