defmodule Observer.Web.Crashdump.Page do @moduledoc """ This is the live component responsible for the Crashdump pillar: browsing `erl_crash.dump` files found in the host-allowlisted `:crashdump_dirs` - pick a dump, watch the parse progress, then read the crash slogan and general counters and dig through the dumped processes (sortable, searchable, with a full per-process drill-down including the stack dump). Parsing reuses OTP's own `:crashdump_viewer` (see `ObserverWeb.Crashdump`); this page is only ever a client of that parser on the dashboard node. """ @behaviour Observer.Web.Page use Observer.Web, :live_component alias Observer.Web.Components.Attention alias Observer.Web.Components.Core alias Observer.Web.Page alias ObserverWeb.Crashdump @displayed_rows 250 @impl Phoenix.LiveComponent def render(assigns) do ~H"""
:observer
application is not available on this node, so crash dumps cannot be parsed. Add
:observer
to your release's applications to enable it. Enabling it only puts its
modules on the code path - :observer
has no application callback and starts no processes (and never any GUI).
| {key} | {value} |