Khafra.LiveDashboard.QueryMetricsPage (khafra_search v0.3.0)
A Phoenix LiveDashboard page displaying real-time charts for Giza SphinxQL query telemetry.
Subscribes to [:giza, :query, :stop] and [:giza, :query, :exception]
telemetry events and renders live-updating charts for query count,
duration, and error count.
Usage
Add to your router's live_dashboard configuration:
live_dashboard "/dashboard",
additional_pages: [
search_tables: Khafra.LiveDashboard.SearchTablesPage,
query_metrics: Khafra.LiveDashboard.QueryMetricsPage
]
Link to this section Summary
Functions
Callback implementation for Phoenix.LiveDashboard.PageBuilder.init/1.
Link to this section Functions
Link to this function
init(opts)
Callback implementation for Phoenix.LiveDashboard.PageBuilder.init/1.