# `PgFlowDashboard.Supervisor`
[🔗](https://github.com/agoodway/pgflow/blob/v0.1.0/lib/pgflow_dashboard/supervisor.ex#L1)

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}

# `child_spec`

Returns the child specification for this supervisor.

This allows the supervisor to be added to a parent supervision tree:

    children = [
      PgFlowDashboard.Supervisor
    ]

# `start_link`

Starts the PgFlowDashboard supervisor.

## Options

  * `:name` - Optional name for the supervisor. Defaults to `PgFlowDashboard.Supervisor`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
