ExESDBDashboard (ex_esdb_dashboard v0.1.0)
View SourceComposable cluster dashboard components that can be embedded in any Phoenix application using ex_esdb_gater as a dependency.
Usage
Add to your Phoenix router:
import ExESDBDashboard
scope "/admin" do
dashboard_routes()
endOr mount individual components:
live "/cluster", ExESDBDashboard.ClusterLiveRequirements
Your hosting application must have:
phoenix_live_viewin dependenciesExESDBGater.Systemstarted in your supervision tree- Phoenix.PubSub configured (using the same pubsub server as ExESDBGater)
Summary
Functions
Returns the main cluster dashboard LiveView component.
Returns the cluster status component for embedding in other views.
Adds dashboard routes to a Phoenix router.
Gets comprehensive cluster data for dashboard display.
Gets information about all cluster nodes.
Gets information about cluster stores.
Functions
Returns the main cluster dashboard LiveView component.
Returns the cluster status component for embedding in other views.
Adds dashboard routes to a Phoenix router.
Example
scope "/admin" do
dashboard_routes()
end
Gets comprehensive cluster data for dashboard display.
Returns a map containing:
:nodes- List of connected nodes with their status:stores- List of available stores with statistics:total_streams- Total number of streams across all stores:cluster_health- Overall cluster health status
Gets information about all cluster nodes.
Gets information about cluster stores.