Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing.IHeartbeatPropertyManager
Defines an implementation for management of the heartbeat feature of the
Application Insights SDK meant for public consumption. Add/Set properties,
disable/enable the heartbeat, and set the interval between heartbeat pulses.
If a module is present in the SDK at runtime that implements this interface, the
heartbeat feature can be extended or configured as necessary.
namespace Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing
{
public interface IHeartbeatPropertyManager
{
bool IsHeartbeatEnabled { get; set; }
IList<string> ExcludedHeartbeatPropertyProviders { get; }
TimeSpan HeartbeatInterval { get; set; }
IList<string> ExcludedHeartbeatProperties { get; }
bool AddHeartbeatProperty(string propertyName, string propertyValue, bool isHealthy);
bool SetHeartbeatProperty(string propertyName, string propertyValue = null, bool? isHealthy = default(bool?));
}
}