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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Commify.Titan.Heartbeat" Version="1.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Commify.Titan.Heartbeat" Version="1.2.0" />
                    
Directory.Packages.props
<PackageReference Include="Commify.Titan.Heartbeat" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Commify.Titan.Heartbeat --version 1.2.0
                    
#r "nuget: Commify.Titan.Heartbeat, 1.2.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Commify.Titan.Heartbeat@1.2.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Commify.Titan.Heartbeat&version=1.2.0
                    
Install as a Cake Addin
#tool nuget:?package=Commify.Titan.Heartbeat&version=1.2.0
                    
Install as a Cake Tool

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.2.0 3,426 12/20/2024
1.1.0 2,727 11/7/2024
1.0.2 159 11/6/2024
1.0.1 1,081 4/2/2024
1.0.0 165 4/2/2024