Package com.microsoft.kiota.http
Class ObservabilityOptions
java.lang.Object
com.microsoft.kiota.http.ObservabilityOptions
- All Implemented Interfaces:
com.microsoft.kiota.RequestOption
Holds the tracing, metrics and logging configuration for the request adapter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets whether to include attributes which could contains EUII information like URLsGets the instrumentation name to use for tracing<T extends com.microsoft.kiota.RequestOption>
Class<T> getType()voidsetIncludeEUIIAttributes(boolean includeEUIIAttributes) Sets whether to include attributes which could contains EUII information like URLs
-
Constructor Details
-
ObservabilityOptions
public ObservabilityOptions()Creates a new instance of the observability options
-
-
Method Details
-
getIncludeEUIIAttributes
public boolean getIncludeEUIIAttributes()Gets whether to include attributes which could contains EUII information like URLs- Returns:
- whether to include EUII attributes
-
setIncludeEUIIAttributes
public void setIncludeEUIIAttributes(boolean includeEUIIAttributes) Sets whether to include attributes which could contains EUII information like URLs- Parameters:
includeEUIIAttributes- whether to include EUII attributes
-
getType
- Specified by:
getTypein interfacecom.microsoft.kiota.RequestOption
-
getTracerInstrumentationName
Gets the instrumentation name to use for tracing- Returns:
- the instrumentation name to use for tracing
-