View Source NervesHubLink.Extensions.Health.Report behaviour (nerves_hub_link v2.6.0)
Summary
Callbacks
@callback connectivity() :: %{ required(NervesHubLink.Extensions.Health.DeviceStatus.interface_identifer()) => %{ type: NervesHubLink.Extensions.Health.DeviceStatus.interface_type(), present: boolean(), state: atom(), connection_status: NervesHubLink.Extensions.Health.DeviceStatus.connection_status(), metrics: %{required(String.t()) => number()}, metadata: %{required(String.t()) => String.t()} } }
@callback timestamp() :: DateTime.t()