Packages

package health

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Package Members

  1. package admin

Type Members

  1. 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.

  2. class GrpcHealthServer extends NamedLogging with FlagCloseable
  3. trait HealthCheck extends AutoCloseable

    Check to determine a health check response

  4. sealed trait HealthCheckResult extends AnyRef

    Result of a health check

  5. class HealthServer extends FlagCloseableAsync with NamedLogging
  6. class IsActiveCheck extends HealthCheck

    For components that simply flag whether they are active or not, just return that.

  7. 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.

  8. 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.

  9. case class StaticHealthCheck(result: HealthCheckResult) extends HealthCheck with Product with Serializable

    Constant response for a health check (used by the always-healthy configuration)

  10. 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

  1. object EnterpriseHealthCheck
  2. object HealthCheck
  3. object HealthReporting extends PrettyInstances
  4. object HealthServer
  5. object Healthy extends HealthCheckResult

    Everything that the check checks is healthy

Ungrouped