Class DefaultApacheHttpClientObservationConvention
java.lang.Object
io.micrometer.core.instrument.binder.httpcomponents.hc5.DefaultApacheHttpClientObservationConvention
- All Implemented Interfaces:
ApacheHttpClientObservationConvention, io.micrometer.observation.KeyValuesConvention, io.micrometer.observation.ObservationConvention<ApacheHttpClientContext>
@Deprecated
public class DefaultApacheHttpClientObservationConvention
extends Object
implements ApacheHttpClientObservationConvention
Deprecated.
use the Apache httpclient5-observation artifact instead
Default implementation of
ApacheHttpClientObservationConvention.- Since:
- 1.11.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DefaultApacheHttpClientObservationConventionDeprecated.Singleton instance of this convention.Fields inherited from interface ApacheHttpClientObservationConvention
URI_TEMPLATE_ATTRIBUTEFields inherited from interface io.micrometer.observation.ObservationConvention
EMPTY -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected io.micrometer.common.KeyValueexception(ApacheHttpClientContext context) Deprecated.Extractexceptionkey value from context.getContextualName(ApacheHttpClientContext context) Deprecated.io.micrometer.common.KeyValuesDeprecated.getName()Deprecated.protected io.micrometer.common.KeyValuemethod(ApacheHttpClientContext context) Deprecated.Extractmethodkey value from context.protected io.micrometer.common.KeyValueoutcome(ApacheHttpClientContext context) Deprecated.Extractoutcomekey value from context.protected io.micrometer.common.KeyValuestatus(ApacheHttpClientContext context) Deprecated.Extractstatuskey value from context.protected io.micrometer.common.KeyValuetargetHost(ApacheHttpClientContext context) Deprecated.Extracttarget.hostkey value from context.protected io.micrometer.common.KeyValuetargetPort(ApacheHttpClientContext context) Deprecated.Extracttarget.portkey value from context.protected io.micrometer.common.KeyValuetargetScheme(ApacheHttpClientContext context) Deprecated.Extracttarget.schemekey value from context.protected io.micrometer.common.KeyValueuri(ApacheHttpClientContext context) Deprecated.Extracturikey value from context.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ApacheHttpClientObservationConvention
supportsContextMethods inherited from interface io.micrometer.observation.ObservationConvention
getHighCardinalityKeyValues
-
Field Details
-
INSTANCE
Deprecated.Singleton instance of this convention.
-
-
Constructor Details
-
DefaultApacheHttpClientObservationConvention
protected DefaultApacheHttpClientObservationConvention()Deprecated.
-
-
Method Details
-
getName
Deprecated.- Specified by:
getNamein interfaceio.micrometer.observation.ObservationConvention<ApacheHttpClientContext>
-
getContextualName
Deprecated.- Specified by:
getContextualNamein interfaceio.micrometer.observation.ObservationConvention<ApacheHttpClientContext>
-
getLowCardinalityKeyValues
Deprecated.- Specified by:
getLowCardinalityKeyValuesin interfaceio.micrometer.observation.ObservationConvention<ApacheHttpClientContext>
-
exception
Deprecated.Extractexceptionkey value from context.- Parameters:
context- HTTP client context- Returns:
- extracted
exceptionkey value - Since:
- 1.12.0
-
method
Deprecated.Extractmethodkey value from context.- Parameters:
context- HTTP client context- Returns:
- extracted
methodkey value - Since:
- 1.12.0
-
outcome
Deprecated.Extractoutcomekey value from context.- Parameters:
context- HTTP client context- Returns:
- extracted
outcomekey value - Since:
- 1.12.0
-
status
Deprecated.Extractstatuskey value from context.- Parameters:
context- HTTP client context- Returns:
- extracted
statuskey value - Since:
- 1.12.0
-
targetHost
Deprecated.Extracttarget.hostkey value from context.- Parameters:
context- HTTP client context- Returns:
- extracted
target.hostkey value - Since:
- 1.12.0
-
targetPort
Deprecated.Extracttarget.portkey value from context.- Parameters:
context- HTTP client context- Returns:
- extracted
target.portkey value - Since:
- 1.12.0
-
targetScheme
Deprecated.Extracttarget.schemekey value from context.- Parameters:
context- HTTP client context- Returns:
- extracted
target.schemekey value - Since:
- 1.12.0
-
uri
Deprecated.Extracturikey value from context.- Parameters:
context- HTTP client context- Returns:
- extracted
urikey value - Since:
- 1.12.0
-