<PackageReference Include="Microsoft.ApplicationInsights" Version="2.23.0" />

Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing.DiagnosticsTelemetryModule

Use diagnostics telemetry module to report SDK internal problems to the portal and VS debug output window.
namespace Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing { public sealed class DiagnosticsTelemetryModule : ITelemetryModule, IHeartbeatPropertyManager, IDisposable { public bool IsHeartbeatEnabled { get; set; } public TimeSpan HeartbeatInterval { get; set; } public IList<string> ExcludedHeartbeatPropertyProviders { get; } public IList<string> ExcludedHeartbeatProperties { get; } public string Severity { get; set; } public string DiagnosticsInstrumentationKey { get; set; } public DiagnosticsTelemetryModule(); public void Initialize(TelemetryConfiguration configuration); public bool AddHeartbeatProperty(string propertyName, string propertyValue, bool isHealthy); public bool SetHeartbeatProperty(string propertyName, string propertyValue = null, bool? isHealthy = default(bool?)); public void Dispose(); } }