1.5.26.1 July 18 2024
1.5.26 July 16 2024
- Bump Akka version to 1.5.26
- Bump Akka.Hosting to 1.5.25
- Healthcheck.Persistence: Make probe return degraded instead of unhealthy during warmup
- Healthcheck.Persistence: Simplify suicide probe
- Healthcheck.Persistence: Add failure threshold before probe returns an unhealthy result
1.5.24 June 11 2024
1.5.18 March 25 2024
- Bump Akka version to 1.5.18
- Bump Akka.Hosting to 1.5.18
- Fix Persistence.Healthcheck stalled probe during warmup
1.5.17.1 March 4 2024
1.5.16 February 23 2024
- Bump Akka version to 1.5.16
- Bump Akka.Hosting to 1.5.16
- Fix Akka.HealthCheck.Persistence probe deadlock
1.5.12 September 11 2023
- Bump Akka version to 1.5.12
- Bump Akka.Hosting to 1.5.12.1
- Hosting: Add options property to configure persistence probe interval
- Fix persistence probe bug where it would go into infinite loop when the snapshot store circuit breaker trips
1.5.9 July 25 2023
- Bump Akka version to 1.5.9
- Bump Akka.Hosting to 1.5.8.1
- Relax Akka.Cluster.HealthCheck probe requirements
1.5.2 April 19 2023
1.5.0.1 March 8 2023
Version 1.5.0.1 contains a patch that fixes Akka.HealthCheck.Persistence
database problems.
- Change all Microsoft.Extensions versions to ranged version with v3.0.0 lower bound
- Fix HealthCheck.Persistence database littering bug
1.5.0 March 3 2023
Version 1.5.0 integrates Akka.Management and Akka.NET v1.5.0 RTM.
- Bump Akka version to 1.5.0
- Bump Akka.Hosting from 1.0.1 to 1.5.0
- Bump Microsoft.Extensions.Hosting to 7.0.1
1.0.0 January 18 2023
This version 1.0.0 release is the RTM release for Akka.HealthCheck
; the public API will be frozen from this point forward and backed with our backward compatibility promise.
- Bump Akka.Hosting from 1.0.0 to 1.0.1
- Bumped Akka version to 1.4.47
- Add multi probe provider support
- Add
Akka.Hosting
support and ASP.NET IHealthCheck integration - Expanded persistence health check reporting
- Bump Akka.Hosting from 0.5.1 to 1.0.0
- Improve ASP.NET health check route configuration callback
- Fix probe status reporting to account for all provider statuses
- Add documentation
1.0.0-beta1 January 5 2023
This release is a beta release of the new Akka.Hosting
API and the ASP.NET integration API. We would love to hear your input on these new APIs.
- Bumped Akka version to 1.4.47
- Add multi probe provider support
- Add
Akka.Hosting
support and ASP.NET IHealthCheck integration - Expanded persistence health check reporting
- Bump Akka.Hosting from 0.5.1 to 1.0.0
- Improve ASP.NET health check route configuration callback
- Fix probe status reporting to account for all provider statuses
- Add documentation
Notable Changes From Previous Versions
NOTE
All these information can be read in the documentation here
1. Improved Persistence Status Report
Persistence health check now returns a PersistenceLivenessStatus
with a more comprehensive status report that also includes whether snapshots and journal events were successfully persisted, and any exceptions thrown during the probe execution.
2. Multi-provider Support
Both liveness and readiness endpoint can now host multiple health check probe providers. Note that both liveness and readiness endpoint will return unhealthy if any of these hosted probes reported that they are unhealthy.
The HOCON configuration for Akka.HealthCheck
has been changed to accomodate this. Instead of settings a single provider, you can now pass in multiple providers at once:
akka.healthcheck {
liveness {
providers {
default = "Akka.HealthCheck.Liveness.DefaultLivenessProvider, Akka.HealthCheck"
cluster = "Akka.HealthCheck.Cluster.ClusterLivenessProbeProvider, Akka.HealthCheck.Cluster"
}
}
readiness {
providers {
default = "Akka.HealthCheck.Readiness.DefaultReadinessProvider, Akka.HealthCheck"
custom = "MyAssembly.CustomReadinessProvider, MyAssembly"
}
}
3. Akka.Hosting
integration
To configure multi providers via Akka.Hosting
, you can install the new Akka.HealthCheck.Hosting
NuGet package and use the convenience method AddProviders()
and provide the combination of providers you would like to run like so:
// Add Akka.HealthCheck
builder.WithHealthCheck(options =>
{
// Here we're adding all of the built-in providers
options.AddProviders(HealthCheckType.All);
});
HealthCheckType
is a bit flag enum that consists of these choices:
[Flags]
public enum HealthCheckType
{
DefaultLiveness = 1,
DefaultReadiness = 2,
Default = DefaultLiveness | DefaultReadiness,
ClusterLiveness = 4,
ClusterReadiness = 8,
Cluster = ClusterLiveness | ClusterReadiness,
PersistenceLiveness = 16,
Persistence = PersistenceLiveness,
All = Default | Cluster | Persistence
}
Depending on your code style, You can also use the more verbose methods to add providers:
// Add Akka.HealthCheck
builder.WithHealthCheck(options =>
{
// Here we're adding all of the built-in providers one provider at a time
options
.ClearAllProviders()
.AddDefaultReadinessProvider()
.AddClusterReadinessProvider()
.AddDefaultLivenessProvider()
.AddClusterLivenessProvider()
.AddPersistenceLivenessProvider();
});
Custom IProbeProvider
can be added using these methods:
// Add Akka.HealthCheck
builder.WithHealthCheck(options =>
{
// Adding custom user IProbeProvider providers
options
.AddReadinessProvider<MyReadinessProvider>("custom-readiness")
.AddLivenessProvider<MyLivenessProvider>("custom-liveness");
});
4. ASP.NET IHealthCheck
Integration
Akka.HealthCheck
can be integrated directly by installing the Akka.HealthCheck.Hosting.Web
NuGet package. You can read the documentation here
0.3.4 December 22 2022
This release is a patch release for a bug in the persistence liveness probe.
0.3.3 November 2 2022
- Bumped Akka version to 1.4.45
- Enabled dual platform targeting, binaries are now targeting netstandard2.0 and net60 platforms
0.3.2 June 24 2021
- Switch
Akka.HealthCheck.Transports.Sockets.SocketStatusTransport
network protocol from IPV6 to IPV4 - Bumped Akka version to 1.4.21
0.3.1 March 25 2021
Bumped Akka version
Bumped Akka version to 1.4.18
Changes:
- c1245b9 Update RELEASE_NOTES.md for 1.5.26.1 release (#290)
- 1d0a923 Simplify SuicideActor to make it perform 0 writes (#289)
- 2858467 Add custom persistence test kit (#288)
This list of changes was auto generated.