### YamlMime:JavaType uid: "com.azure.core.util.TracingOptions" fullName: "com.azure.core.util.TracingOptions" name: "TracingOptions" nameWithType: "TracingOptions" summary: "Tracing configuration options for clients." inheritances: - "" inheritedClassMethods: - classRef: "java.lang.Object" methodsRef: - "clone" - "equals" - "finalize" - "getClass" - "hashCode" - "notify" - "notifyAll" - "toString" - "wait" - "wait" - "wait" syntax: "public class **TracingOptions**" constructors: - uid: "com.azure.core.util.TracingOptions.TracingOptions()" fullName: "com.azure.core.util.TracingOptions.TracingOptions()" name: "TracingOptions()" nameWithType: "TracingOptions.TracingOptions()" summary: "Creates new instance of " syntax: "public TracingOptions()" desc: "Creates new instance of " - uid: "com.azure.core.util.TracingOptions.TracingOptions(java.lang.Class)" fullName: "com.azure.core.util.TracingOptions.TracingOptions(Class tracerProvider)" name: "TracingOptions(Class tracerProvider)" nameWithType: "TracingOptions.TracingOptions(Class tracerProvider)" summary: "Creates new instance of " modifiers: - "protected" parameters: - description: "The type of the implementation that should be used to construct an instance of\n .\n\n If the value is not set (or null), then the first resolved by ServiceLoader will\n be used to create an instance of . If the value is set and doesn't match any\n resolved by ServiceLoader an will be thrown when\n attempting to create an instance of ." name: "tracerProvider" type: "Class<>" syntax: "protected TracingOptions(Class tracerProvider)" desc: "Creates new instance of " methods: - uid: "com.azure.core.util.TracingOptions.fromConfiguration(com.azure.core.util.Configuration)" fullName: "com.azure.core.util.TracingOptions.fromConfiguration(Configuration configuration)" name: "fromConfiguration(Configuration configuration)" nameWithType: "TracingOptions.fromConfiguration(Configuration configuration)" summary: "Loads tracing options from the configuration." modifiers: - "static" parameters: - description: "The instance containing tracing options. If\n null is passed then will be used." name: "configuration" type: "" syntax: "public static TracingOptions fromConfiguration(Configuration configuration)" desc: "Loads tracing options from the configuration." returns: description: "A reflecting updated tracing options loaded from the configuration,\n if no tracing options are found, default (enabled) tracing options will be returned." type: "" - uid: "com.azure.core.util.TracingOptions.getAllowedTracingQueryParamNames()" fullName: "com.azure.core.util.TracingOptions.getAllowedTracingQueryParamNames()" name: "getAllowedTracingQueryParamNames()" nameWithType: "TracingOptions.getAllowedTracingQueryParamNames()" summary: "Gets the set of query parameter names that are allowed to be recorded in the URL." syntax: "public Set getAllowedTracingQueryParamNames()" desc: "Gets the set of query parameter names that are allowed to be recorded in the URL." returns: description: "The set of query parameter names that are allowed to be recorded in the URL." type: "Set<String>" - uid: "com.azure.core.util.TracingOptions.getTracerProvider()" fullName: "com.azure.core.util.TracingOptions.getTracerProvider()" name: "getTracerProvider()" nameWithType: "TracingOptions.getTracerProvider()" summary: "Gets name of the implementation that should be used to construct an instance of ." syntax: "public Class getTracerProvider()" desc: "Gets name of the implementation that should be used to construct an instance of ." returns: description: "The implementation used to create an instance of ." type: "Class<>" - uid: "com.azure.core.util.TracingOptions.isEnabled()" fullName: "com.azure.core.util.TracingOptions.isEnabled()" name: "isEnabled()" nameWithType: "TracingOptions.isEnabled()" summary: "Flag indicating if distributed tracing should be enabled." syntax: "public boolean isEnabled()" desc: "Flag indicating if distributed tracing should be enabled." returns: description: "true if tracing is enabled, false otherwise." type: "" - uid: "com.azure.core.util.TracingOptions.setAllowedTracingQueryParamNames(java.util.Set)" fullName: "com.azure.core.util.TracingOptions.setAllowedTracingQueryParamNames(Set allowedQueryParamNames)" name: "setAllowedTracingQueryParamNames(Set allowedQueryParamNames)" nameWithType: "TracingOptions.setAllowedTracingQueryParamNames(Set allowedQueryParamNames)" summary: "Sets the set of query parameter names that are allowed to be recorded in the URL." parameters: - description: "The set of query parameter names that are allowed to be recorded in the URL." name: "allowedQueryParamNames" type: "Set<String>" syntax: "public TracingOptions setAllowedTracingQueryParamNames(Set allowedQueryParamNames)" desc: "Sets the set of query parameter names that are allowed to be recorded in the URL." returns: description: "The updated object." type: "" - uid: "com.azure.core.util.TracingOptions.setEnabled(boolean)" fullName: "com.azure.core.util.TracingOptions.setEnabled(boolean enabled)" name: "setEnabled(boolean enabled)" nameWithType: "TracingOptions.setEnabled(boolean enabled)" summary: "Enables or disables distributed tracing." parameters: - description: "pass true to enable tracing." name: "enabled" type: "" syntax: "public TracingOptions setEnabled(boolean enabled)" desc: "Enables or disables distributed tracing. By default, tracing is enabled if and only if tracing implementation is detected." returns: description: "the updated TracingOptions object." type: "" type: "class" desc: "Tracing configuration options for clients." metadata: {} package: "com.azure.core.util" artifact: com.azure:azure-core:1.54.0