Skip to content

Commit cc46e03

Browse files
authored
Disable storage tracing by default (#1227)
1 parent e3ecb29 commit cc46e03

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/DurableTask.AzureStorage/Storage/AzureStorageClient.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,10 @@ static TClient CreateClient<TClient, TClientOptions>(
107107
where TClientOptions : ClientOptions
108108
{
109109
TClientOptions options = storageProvider.CreateOptions();
110+
111+
// Disable distributed tracing by default to reduce the noise in the traces.
112+
options.Diagnostics.IsDistributedTracingEnabled = false;
113+
110114
configurePolicies?.Invoke(options);
111115

112116
return storageProvider.CreateClient(options);

0 commit comments

Comments
 (0)