HealthReporter

class Object
trait Matchable
class Any

Value members

Concrete methods

def fromChecks[F[_] : Apply, H[_] : Reducible](first: HealthCheck[F, H], rest: HealthCheck[F, H]*): HealthReporter[F, NonEmptyList, H]

Equivalent to wrapChecks for G = NonEmptyList, with more pleasant syntax.

Equivalent to wrapChecks for G = NonEmptyList, with more pleasant syntax.

def fromResults[G[_] : Functor, H[_] : Reducible](results: G[HealthResult[H]]): HealthResult[[_] =>> Report[G, H, _$13]]
def parWrapChecks[F[_] : Functor, G[_] : NonEmptyTraverse, H[_] : Reducible](checks: G[HealthCheck[F, H]]): HealthReporter[F, G, H]

Constructs a healthcheck from a non-empty structure G of healthchecks that are run in parallel. The status of the whole check is determined using the results of given checks.

Constructs a healthcheck from a non-empty structure G of healthchecks that are run in parallel. The status of the whole check is determined using the results of given checks.

e.g. if all checks need to return Healthy for the whole thing to be healthy, use Health.allHealthyCommutativeMonoid.

def wrapChecks[F[_] : Apply, G[_] : NonEmptyTraverse, H[_] : Reducible](checks: G[HealthCheck[F, H]]): HealthReporter[F, G, H]

Constructs a healthcheck from a non-empty structure G of healthchecks. The status of the whole check is determined using the results of given checks.

Constructs a healthcheck from a non-empty structure G of healthchecks. The status of the whole check is determined using the results of given checks.

e.g. if all checks need to return Healthy for the whole thing to be healthy, use Health.allHealthyCommutativeMonoid.