TimelessTracesDashboard.Router (timeless_traces_dashboard v0.3.11)

Copy Markdown View Source

Router macro for one-line LiveDashboard setup with TimelessTraces pages.

Usage

defmodule MyAppWeb.Router do
  use Phoenix.Router
  import TimelessTracesDashboard.Router

  scope "/" do
    pipe_through :browser
    timeless_traces_dashboard "/dashboard"
  end
end

Options

  • :live_dashboard — extra opts merged into live_dashboard call

Summary

Functions

Mounts LiveDashboard with the TimelessTraces page.

Functions

timeless_traces_dashboard(path, opts \\ [])

(macro)

Mounts LiveDashboard with the TimelessTraces page.