Commify.Titan.Heartbeat
1.2.0
dotnet add package Commify.Titan.Heartbeat --version 1.2.0
NuGet\Install-Package Commify.Titan.Heartbeat -Version 1.2.0
<PackageReference Include="Commify.Titan.Heartbeat" Version="1.2.0" />
<PackageVersion Include="Commify.Titan.Heartbeat" Version="1.2.0" />
<PackageReference Include="Commify.Titan.Heartbeat" />
paket add Commify.Titan.Heartbeat --version 1.2.0
#r "nuget: Commify.Titan.Heartbeat, 1.2.0"
#:package Commify.Titan.Heartbeat@1.2.0
#addin nuget:?package=Commify.Titan.Heartbeat&version=1.2.0
#tool nuget:?package=Commify.Titan.Heartbeat&version=1.2.0
Titan.Heartbeat.Nuget
Self-contained NuGet package that enables adding the heartbeat functionality to any .NET 8 app
Contact
Titan API Team
Configuration
The necessary configuration is:
"Heartbeat": {
"Period": 300,
"EventGridEndpoint": "https://example.eventgrid.azure.net/api/events",
"EventGridKey": "my-secret-key"
}
and to enable it, this components offers an extension method over <samp>IHostApplicationBuilder</samp> called <samp>AddHeartbeat</samp> which allows for an optional <samp>Action<HeartbeatOptions></samp> that currently offers these parameters:
- <samp>DataCustomProvider</samp> - used to specify a custom way of creating the HeartbeatData.
- <samp>HealthReportDataCustomProvider</samp> - used to specify a custom way of creating the HeartbeatData with the latest <samp>HealthReport</samp> provided.
If either of these parameters are used, there are no backup mechanisms set in place for the data creation. Please ensure the data is created correctly
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- Azure.Messaging.EventGrid (>= 4.28.0)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 8.0.11)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 8.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.