ExTeal.Dashboard behaviour (ExTeal v0.20.1) View Source

Module used to represent a dashboard which contains a grid of metrics, this will one day be extendable to include plugin or custom cards in the future.

Link to this section Summary

Callbacks

Return the modules that represent cards on the dashboard.

Link to this section Types

Specs

range() :: %{label: String.t(), unit: String.t(), value: integer()}

Link to this section Callbacks

Specs

cards(Plug.Conn.t()) :: [module()]

Return the modules that represent cards on the dashboard.

Specs

title() :: String.t()

Specs

uri() :: String.t()

Link to this section Functions

Link to this function

cards_to_json(dashboard_module, conn)

View Source