ExHealth.status

You're seeing just the function status, go back to ExHealth module for more information.

Specs

status() :: ExHealth.Status.t()

Synchronously fetches the latest status from ExHealth.HealthServer.

Examples

iex> ExHealth.status()
%ExHealth.Status{
  checks: [
    %ExHealth.Check{
      mfa: {ExHealth.SelfCheck, :hc__ExHealth_HealthServer, []},
      name: "ExHealth_HealthServer"
    }
  ],
  interval_ms: 15000,
  last_check: nil,
  result: %{check_results: [], msg: :pending}
}