A Phoenix.LiveDashboard.PageBuilder page listing every ExDataSketch
telemetry event, its measurements, and the Telemetry.Metrics names
ExDataSketch.Telemetry.Metrics.all/1 derives from them.
This page is a static reference, not a live view of any particular
running sketch -- it has no way to know which ExDataSketch.Server or
ExDataSketch.Sketches instances a host application has started. For
live per-instance estimates, build an application-specific
LiveDashboard page (or a plain LiveView) that calls
ExDataSketch.Server.estimate/2 on the instances your application
actually runs.
Dependency
This module only exists when the optional phoenix_live_dashboard
dependency is loaded (Code.ensure_loaded?/1 gates the whole module,
matching ExDataSketch.Storage.Ecto's pattern). Add it to your
application:
{:phoenix_live_dashboard, "~> 0.8"}Usage
live_dashboard "/dashboard",
additional_pages: [
sketches: ExDataSketch.LiveDashboard.Page
]
Summary
Functions
Callback implementation for Phoenix.LiveDashboard.PageBuilder.init/1.
Functions
Callback implementation for Phoenix.LiveDashboard.PageBuilder.init/1.