-
Notifications
You must be signed in to change notification settings - Fork 356
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding dependency tracking conguration options
- Loading branch information
Showing
5 changed files
with
144 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 48 additions & 0 deletions
48
src/Microsoft.Azure.WebJobs.Logging.ApplicationInsights/DependencyTrackingOptions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
// Copyright (c) .NET Foundation. All rights reserved. | ||
// Licensed under the MIT License. See License.txt in the project root for license information. | ||
|
||
using System.Collections.Generic; | ||
|
||
namespace Microsoft.Azure.WebJobs.Logging.ApplicationInsights | ||
{ | ||
public class DependencyTrackingOptions | ||
{ | ||
/// <summary> | ||
/// Gets or sets a value indicating whether to disable runtime instrumentation. | ||
/// </summary> | ||
public bool DisableRuntimeInstrumentation { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets a value indicating whether to disable Http Desktop DiagnosticSource instrumentation. | ||
/// </summary> | ||
public bool DisableDiagnosticSourceInstrumentation { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets a value indicating whether to enable legacy (x-ms*) correlation headers injection. | ||
/// </summary> | ||
public bool EnableLegacyCorrelationHeadersInjection { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets a value indicating whether to enable Request-Id correlation headers injection. | ||
/// </summary> | ||
public bool EnableRequestIdHeaderInjectionInW3CMode { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets a value indicating whether to track the SQL command text in SQL | ||
/// dependencies. | ||
/// </summary> | ||
public bool EnableSqlCommandTextInstrumentation { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets a value indicating whether the correlation headers would be set | ||
/// on outgoing http requests. | ||
/// </summary> | ||
public bool SetComponentCorrelationHttpHeaders { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets a value indicating whether telemetry would be produced for Azure | ||
/// SDK methods calls and requests. | ||
/// </summary> | ||
public bool EnableAzureSdkTelemetryListener { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters