package health
- Alphabetic
- Public
- Protected
Type Members
- class GrpcHealthReporter extends NamedLogging with NoTracing
This class updates gRPC health service with updates coming from Canton's ServiceHealth instances.
This class updates gRPC health service with updates coming from Canton's ServiceHealth instances. See https://github.com/grpc/grpc/blob/master/doc/health-checking.md This class will update the health manager when new health state are being reported by the services, which will in turn be available to external clients through the gRPC Health service.
- class GrpcHealthServer extends NamedLogging with FlagCloseable
- trait HealthCheck extends AutoCloseable
Check to determine a health check response
- sealed trait HealthCheckResult extends AnyRef
Result of a health check
- class HealthServer extends FlagCloseableAsync with NamedLogging
- class IsActiveCheck extends HealthCheck
For components that simply flag whether they are active or not, just return that.
- class PeriodicCheck extends HealthCheck with NamedLogging
Rather than executing a check for every isHealthy call periodically run the check and cache the result, and return this cached value for isHealthy.
- class PingHealthCheck extends HealthCheck with NamedLogging
Pings the supplied participant to determine health.
Pings the supplied participant to determine health. Will be considered unhealthy if unable to resolve the ping service for the participant alias (likely due to startup and initialization). Ping success considered healthy, ping failure considered unhealthy. If the ping future fails (rather than completing successfully with a failure), it will be converted to a unhealthy response and the exception will be logged at DEBUG level.
- case class StaticHealthCheck(result: HealthCheckResult) extends HealthCheck with Product with Serializable
Constant response for a health check (used by the always-healthy configuration)
- case class Unhealthy(message: String) extends HealthCheckResult with Product with Serializable
The check deems something unhealthy
The check deems something unhealthy
- message
User printable message describing why a unhealthy result was given
Value Members
- object EnterpriseHealthCheck
- object HealthCheck
- object HealthReporting extends PrettyInstances
- object HealthServer
- object Healthy extends HealthCheckResult
Everything that the check checks is healthy