- 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
- Bump Akka version to 1.5.18
- Bump Akka.Hosting to 1.5.18
- Fix Persistence.Healthcheck stalled probe during warmup
- Bump Akka version to 1.5.16
- Bump Akka.Hosting to 1.5.16
- Fix Akka.HealthCheck.Persistence probe deadlock
- 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
- Bump Akka version to 1.5.9
- Bump Akka.Hosting to 1.5.8.1
- Relax Akka.Cluster.HealthCheck probe requirements
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
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
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
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
This release is a patch release for a bug in the persistence liveness probe.
- Bumped Akka version to 1.4.45
- Enabled dual platform targeting, binaries are now targeting netstandard2.0 and net60 platforms
- Switch
Akka.HealthCheck.Transports.Sockets.SocketStatusTransport
network protocol from IPV6 to IPV4 - Bumped Akka version to 1.4.21
Bumped Akka version Bumped Akka version to 1.4.18