Skip to content

Commit

Permalink
filtering out non-essential telemetry (#10777)
Browse files Browse the repository at this point in the history
  • Loading branch information
RohitRanjanMS authored Jan 29, 2025
1 parent e6b3d16 commit 82791d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/WebJobs.Script/StorageProvider/StorageClientProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ protected bool IsConnectionStringPresent(IConfiguration configuration)
private TClientOptions CreateClientOptions(IConfiguration configuration)
{
var clientOptions = (TClientOptions)_componentFactory.CreateClientOptions(typeof(TClientOptions), null, configuration);

// Disable distributed tracing by default to reduce the noise in the traces.
clientOptions.Diagnostics.IsDistributedTracingEnabled = false;
return clientOptions;
}
}
Expand Down

0 comments on commit 82791d6

Please sign in to comment.