Supervisor for PgFlowDashboard processes.
Manages the MetricsCache GenServer and ensures it restarts on failure.
Usage
Add to your application's supervision tree:
children = [
# ... other children
{PgFlowDashboard.Supervisor, []}
]Or with options:
{PgFlowDashboard.Supervisor, name: MyApp.PgFlowDashboardSupervisor}
Summary
Functions
Returns the child specification for this supervisor.
Starts the PgFlowDashboard supervisor.
Functions
Returns the child specification for this supervisor.
This allows the supervisor to be added to a parent supervision tree:
children = [
PgFlowDashboard.Supervisor
]
Starts the PgFlowDashboard supervisor.
Options
:name- Optional name for the supervisor. Defaults toPgFlowDashboard.Supervisor.