ArchAstro. Types. AgentHealth
(archastro v0.2.0)
Copy Markdown
Aggregate health profile for an agent, summarizing its current operational status, score, and the full list of setup and health actions.
Summary
Types
@type t() :: %ArchAstro.Types.AgentHealth{ activity: %{optional(String.t()) => ArchAstro.JSON.t()}, agent: ArchAstro.Types.Agent.t(), checked_at: DateTime.t(), checks: [%{optional(String.t()) => ArchAstro.JSON.t()}], counts: %{optional(String.t()) => ArchAstro.JSON.t()}, health_actions: [ArchAstro.Types.AgentHealthAction.t()], recent: %{optional(String.t()) => ArchAstro.JSON.t()}, score: integer(), status: String.t() }
Functions
@spec from_map(ArchAstro.JSON.object()) :: t()
@spec matches?(ArchAstro.JSON.t()) :: boolean()
@spec to_map(t()) :: ArchAstro.JSON.object()