Class ObservabilityOptions

java.lang.Object
com.microsoft.kiota.http.ObservabilityOptions
All Implemented Interfaces:
com.microsoft.kiota.RequestOption

public class ObservabilityOptions extends Object implements com.microsoft.kiota.RequestOption
Holds the tracing, metrics and logging configuration for the request adapter
  • 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

      @Nonnull public <T extends com.microsoft.kiota.RequestOption> Class<T> getType()
      Specified by:
      getType in interface com.microsoft.kiota.RequestOption
    • getTracerInstrumentationName

      @Nonnull public String getTracerInstrumentationName()
      Gets the instrumentation name to use for tracing
      Returns:
      the instrumentation name to use for tracing