Skip to content

Releases: palantir/witchcraft-go-health

v1.15.0

26 Apr 00:32
a3bd076
Compare
Choose a tag to compare
Type Description Link
Improvement Fix HealthyIfNoRecentErrors behavior to return healthy when there are no submissions within the evaluation window #187

v1.14.0

25 Mar 15:15
2284e8f
Compare
Choose a tag to compare
Type Description Link
Improvement Add HealthyIfAtLeastOneSuccess window mode for 'heartbeating' error reporter #67

v1.13.0

10 Mar 21:59
7f5db1f
Compare
Choose a tag to compare
Type Description Link
Fix Fix MustNewHealthCheckSource to pass provided options to NewHealthCheckSource #71

v1.12.0

09 Feb 16:03
947f8e0
Compare
Choose a tag to compare
Type Description Link
Fix Remove the last heartbeat timestamp from heartbeat params. The last
heartbeat timestamp is inferable from when the health check switches from
a HEALTHY to WARN/ERROR state and the configured heartbeatTimeout.
#62

v1.11.0

09 Nov 20:26
3b3c80e
Compare
Choose a tag to compare
Type Description Link
Improvement Don't report the last heartbeat timestamp unless the check is unhealthy #51

v1.10.0

17 Aug 16:04
ea91a40
Compare
Choose a tag to compare
Type Description Link
Fix CombinedHealthCheckSource skips nil members to avoid panics #45

v1.9.0

11 Aug 22:24
4a7b953
Compare
Choose a tag to compare
Type Description Link
Improvement Adds PurgeKeys to window.KeyedErrorSubmitter interface, allowing a caller to remove entries from a keyed window health check. #44

v1.8.0

07 Jun 18:17
2e30c5f
Compare
Choose a tag to compare
Type Description Link
Improvement Add MustInitializeHealthComponent convenience function to avoid unnecessary error handling #34

v1.7.0

13 May 20:41
5c78508
Compare
Choose a tag to compare
Type Description Link
Improvement Updates witchcraft-health-api Conjure definition to 1.3.0 #31
Improvement Adds WithFailingHealthStateValue support to the KeyedErrorHealthCheckSource.

The KeyedErrorHealthCheckSource would previously only report an ERROR health state by default when the health status was computed. Now the WithFailingHealthStateValue can be used for the KeyedErrorHealthCheckSource which configures the health state used when reporting a non-healthy health check result. This option doesn't affect the logic to downgrade failures to a REPAIRING state.
#33

v1.6.0

09 Mar 19:22
1739368
Compare
Choose a tag to compare
Type Description Link
Improvement Adds the WithFailingHealthStateValue ErrorOption that allows the default health state value to be configured.

The ErrorHealthCheckSource would previously report an ERROR health state by default when the health status was computed, unless otherwise configured to downgrade to a REPAIRING state. Now the WithFailingHealthStateValue option can be used to configure the default health state value reported in cases where an ERROR health state is not ideal. This option only changes the default health state value and does not affect the logic to downgrade failures to a REPAIRING state.
#16