This repository has been archived by the owner on Jun 10, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #820 from Microsoft/develop
Develop to master 2.6.0-beta3
- Loading branch information
Showing
21 changed files
with
444 additions
and
221 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
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
9 changes: 8 additions & 1 deletion
9
...ts.AspNetCore/DiagnosticListeners/Implementation/IApplicationInsightDiagnosticListener.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 |
---|---|---|
@@ -1,13 +1,20 @@ | ||
namespace Microsoft.ApplicationInsights.AspNetCore.DiagnosticListeners | ||
{ | ||
using System; | ||
|
||
/// <summary> | ||
/// Base diagnostic listener type for Application Insight | ||
/// </summary> | ||
internal interface IApplicationInsightDiagnosticListener | ||
internal interface IApplicationInsightDiagnosticListener : IDisposable | ||
{ | ||
/// <summary> | ||
/// Gets a value indicating which listener this instance should be subscribed to | ||
/// </summary> | ||
string ListenerName { get; } | ||
|
||
/// <summary> | ||
/// Notifies listener that it is subscribed to DiagnosticSource | ||
/// </summary> | ||
void OnSubscribe(); | ||
} | ||
} |
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
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
21 changes: 21 additions & 0 deletions
21
src/Microsoft.ApplicationInsights.AspNetCore/Extensions/DependencyCollectionOptions.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,21 @@ | ||
namespace Microsoft.ApplicationInsights.AspNetCore.Extensions | ||
{ | ||
/// <summary> | ||
/// Default collection options define the custom behavior or non-default features of dependency collection. | ||
/// </summary> | ||
public class DependencyCollectionOptions | ||
{ | ||
/// <summary> | ||
/// Creates new instance of <see cref="DependencyCollectionOptions"/> class and fills default values. | ||
/// </summary> | ||
public DependencyCollectionOptions() | ||
{ | ||
EnableLegacyCorrelationHeadersInjection = false; | ||
} | ||
|
||
/// <summary> | ||
/// Gets or sets a value indicating whether to enable legacy (x-ms*) correlation headers injection. | ||
/// </summary> | ||
public bool EnableLegacyCorrelationHeadersInjection { get; set; } | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
src/Microsoft.ApplicationInsights.AspNetCore/Extensions/RequestCollectionOptions.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
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
4 changes: 3 additions & 1 deletion
4
...ApplicationInsights.AspNetCore/Logging/Implementation/ApplicationInsightsLoggerOptions.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
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
Oops, something went wrong.