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

Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing.IHeartbeatDefaultPayloadProvider

Provides default properties for the heartbeat.
string Name { get; }

Gets the name of this heartbeat payload provider. Users can disable default payload providers altogether by specifying them in the ApplicationInsights.config file, or by setting properties on the HeartbeatProvider at runtime.

bool IsKeyword(string keyword)

Assess if a given string contains a keyword that this default payload provider supplies to the heartbeat payload. This is primarly used to dissallow users from adding or setting a conflicting property into the heartbeat.

Task<bool> SetDefaultPayload(IEnumerable<string> disabledFields, IHeartbeatProvider provider)

Call to initiate the setting of properties in the the given heartbeat provider.