You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Akka.Hosting v1.5.51 health check documentation to README (#548)
- Added new section explaining persistence health checks
- Included code examples for both basic and ASP.NET Core configurations
- Updated table of contents
- Documents WithHealthCheck() method for journal and snapshot stores
If `dataOptions` are provided, you must supply enough information for linq2db to connect to the database.
74
-
This includes setting the connection string and provider name again, if necessary for your use case.
75
-
Please consult the Linq2Db documentation for more details on configuring a valid DataOptions object.
74
+
If `dataOptions` are provided, you must supply enough information for linq2db to connect to the database.
75
+
This includes setting the connection string and provider name again, if necessary for your use case.
76
+
Please consult the Linq2Db documentation for more details on configuring a valid DataOptions object.
76
77
Note that `MappingSchema` and `RetryPolicy` will always be overridden by Akka.Persistence.Sql.
77
78
79
+
### Health Checks (Akka.Hosting v1.5.51+)
80
+
81
+
Starting with Akka.Hosting v1.5.51, you can add health checks for your persistence plugins to verify that journals and snapshot stores are properly initialized and accessible. These health checks integrate with `Microsoft.Extensions.Diagnostics.HealthChecks` and can be used with ASP.NET Core health check endpoints.
82
+
83
+
To configure health checks, use the `.WithHealthCheck()` method when setting up your journal and snapshot store:
0 commit comments