Skip to content

ecsx-framework/ecsx_live_dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ECSx.LiveDashboard

Hex Version License

ECSx LiveDashboard

Adds an ECSx page to Phoenix LiveDashboard

Features

  • Monitor Systems load compared to your app's maximum capability at the current tick rate
  • Compare the load of each individual System to identify where optimizations would be most beneficial
  • Observe the quantity of each Component type, to ensure Components are being created and/or deleted properly
  • Inspect current Component values to check data integrity

Requirements

Your ECSx application must use Phoenix and have Phoenix LiveDashboard 0.8+ installed

Installation

The package can be installed by adding ecsx_live_dashboard to your list of dependencies in mix.exs

def deps do
  [
    ...
    {:ecsx_live_dashboard, "~> 0.1"},
    ...
  ]
end

Then modify the live_dashboard call in your router.ex to include ECSx LiveDashboard as an additional page:

live_dashboard "/dashboard",
  metrics: MyAppWeb.Telemetry,
  additional_pages: [
    ecsx: ECSx.LiveDashboard.Page
  ]

License

Copyright (C) 2023 Andrew P Berrien

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

About

Adds an ECSx page to Phoenix Live Dashboard

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages