Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ConfigRefresher for SelfDiagnostics #2262

Merged
merged 20 commits into from
May 13, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Change namespace for SelfDiagnosticsInitializer
  • Loading branch information
xiang17 committed May 13, 2021
commit 945b0e128aec5109367ac5f95cbc490f814f6f3f
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,9 @@ internal class SelfDiagnosticsConfigRefresher : IDisposable
private readonly SelfDiagnosticsConfigParser configParser;
private readonly MemoryMappedFileHandler memoryMappedFileHandler;

xiang17 marked this conversation as resolved.
Show resolved Hide resolved

private bool disposedValue;

// Once the configuration file is valid, an eventListener object will be created.
// Commented out for now to avoid the "field was never used" compiler error.
private SelfDiagnosticsEventListener eventListener;

private EventLevel logEventLevel = (EventLevel)(-1);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing
namespace Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing.SelfDiagnostics
{
using System;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
using Microsoft.ApplicationInsights.Extensibility.Implementation.Endpoints;
using Microsoft.ApplicationInsights.Extensibility.Implementation.Sampling;
using Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing;
using Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing.SelfDiagnostics;
using Microsoft.ApplicationInsights.Metrics;
using Microsoft.ApplicationInsights.Metrics.Extensibility;

Expand Down