This commit is contained in:
Rajkumar Rangaraj 2020-03-26 15:33:59 -07:00
Родитель b330514f51 ff081d4e55
Коммит 72304a0ada
2 изменённых файлов: 11 добавлений и 3 удалений

Просмотреть файл

@ -121,8 +121,14 @@
if (!this.isEnabled && value)
{
// we need to start calling the timer again
// if requested to disable, let the next HeartbeatPulse disable it for us (do nothing here)
this.HeartbeatTimer.Change(this.HeartbeatInterval, this.HeartbeatInterval);
this.HeartbeatTimer?.Change(this.HeartbeatInterval, this.HeartbeatInterval);
}
else if (this.isEnabled && !value)
{
// heartbeat was enabled previously, and being disabled now.
// dispose timers so they never fire again.
this.HeartbeatTimer?.Change(Timeout.Infinite, Timeout.Infinite);
this.HeartbeatTimer?.Dispose();
}
this.isEnabled = value;

Просмотреть файл

@ -2,8 +2,10 @@
## VNext
- [Fix: Disabling HeartBeats in Asp.Net Core projects causes Error traces every heart beat interval (15 minutes defualt)](https://github.com/microsoft/ApplicationInsights-dotnet/issues/1681)
- [Standard Metric extractor (Exception,Trace) populates all standard dimensions.](https://github.com/microsoft/ApplicationInsights-dotnet/issues/1738)
## Version 2.14.0-beta3
- [New: JavaScript Property to support Content Security Policy](https://github.com/microsoft/ApplicationInsights-dotnet/issues/1443)
- [Fix: All perf counters stop being collected when any of faulty counters are specified to collect on Azure WebApps](https://github.com/microsoft/ApplicationInsights-dotnet/issues/1686)