Skip to content

Commit 82791d6

Browse files
filtering out non-essential telemetry (#10777)
1 parent e6b3d16 commit 82791d6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/WebJobs.Script/StorageProvider/StorageClientProvider.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ protected bool IsConnectionStringPresent(IConfiguration configuration)
7676
private TClientOptions CreateClientOptions(IConfiguration configuration)
7777
{
7878
var clientOptions = (TClientOptions)_componentFactory.CreateClientOptions(typeof(TClientOptions), null, configuration);
79+
80+
// Disable distributed tracing by default to reduce the noise in the traces.
81+
clientOptions.Diagnostics.IsDistributedTracingEnabled = false;
7982
return clientOptions;
8083
}
8184
}

0 commit comments

Comments
 (0)