ezmsg-dashboard 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ezmsg_dashboard-0.1.0/.github/workflows/frontend-tests.yml +69 -0
- ezmsg_dashboard-0.1.0/.github/workflows/python-publish.yml +29 -0
- ezmsg_dashboard-0.1.0/.github/workflows/python-tests.yml +37 -0
- ezmsg_dashboard-0.1.0/.gitignore +155 -0
- ezmsg_dashboard-0.1.0/LICENSE.txt +9 -0
- ezmsg_dashboard-0.1.0/PKG-INFO +72 -0
- ezmsg_dashboard-0.1.0/README.md +58 -0
- ezmsg_dashboard-0.1.0/docs/README.md +10 -0
- ezmsg_dashboard-0.1.0/docs/code-tour.md +414 -0
- ezmsg_dashboard-0.1.0/docs/development.md +172 -0
- ezmsg_dashboard-0.1.0/docs/image.png +0 -0
- ezmsg_dashboard-0.1.0/docs/metrics-reference.md +142 -0
- ezmsg_dashboard-0.1.0/docs/screenshots/publishers-panel.png +0 -0
- ezmsg_dashboard-0.1.0/docs/screenshots/settings-panel.png +0 -0
- ezmsg_dashboard-0.1.0/docs/screenshots/topology-overview.png +0 -0
- ezmsg_dashboard-0.1.0/docs/screenshots/trace-dock.png +0 -0
- ezmsg_dashboard-0.1.0/docs/user-guide.md +127 -0
- ezmsg_dashboard-0.1.0/frontend/index.html +13 -0
- ezmsg_dashboard-0.1.0/frontend/package-lock.json +2819 -0
- ezmsg_dashboard-0.1.0/frontend/package.json +29 -0
- ezmsg_dashboard-0.1.0/frontend/playwright.config.ts +15 -0
- ezmsg_dashboard-0.1.0/frontend/scripts/capture-doc-screenshots.mjs +268 -0
- ezmsg_dashboard-0.1.0/frontend/src/App.tsx +887 -0
- ezmsg_dashboard-0.1.0/frontend/src/assets/ezmsg_logo.png +0 -0
- ezmsg_dashboard-0.1.0/frontend/src/components/Panel.tsx +21 -0
- ezmsg_dashboard-0.1.0/frontend/src/components/ProfilingPanel.tsx +1073 -0
- ezmsg_dashboard-0.1.0/frontend/src/components/SettingsPanel.tsx +578 -0
- ezmsg_dashboard-0.1.0/frontend/src/components/TopologyPanel.tsx +706 -0
- ezmsg_dashboard-0.1.0/frontend/src/components/TraceTimingPanel.tsx +1314 -0
- ezmsg_dashboard-0.1.0/frontend/src/components/topologyFlowData.test.tsx +196 -0
- ezmsg_dashboard-0.1.0/frontend/src/components/topologyFlowData.tsx +1738 -0
- ezmsg_dashboard-0.1.0/frontend/src/components/topologyGraph.test.ts +108 -0
- ezmsg_dashboard-0.1.0/frontend/src/components/topologyGraph.ts +386 -0
- ezmsg_dashboard-0.1.0/frontend/src/components/topologyLayout.test.ts +58 -0
- ezmsg_dashboard-0.1.0/frontend/src/components/topologyLayout.ts +78 -0
- ezmsg_dashboard-0.1.0/frontend/src/components/topologySelection.test.ts +74 -0
- ezmsg_dashboard-0.1.0/frontend/src/components/topologySelection.ts +141 -0
- ezmsg_dashboard-0.1.0/frontend/src/components/topologyTrace.test.ts +56 -0
- ezmsg_dashboard-0.1.0/frontend/src/components/topologyTrace.ts +227 -0
- ezmsg_dashboard-0.1.0/frontend/src/components/useTopologyFocus.test.ts +69 -0
- ezmsg_dashboard-0.1.0/frontend/src/components/useTopologyFocus.ts +219 -0
- ezmsg_dashboard-0.1.0/frontend/src/fixtures/dashboardFixtures.ts +1358 -0
- ezmsg_dashboard-0.1.0/frontend/src/hooks/useDashboardData.ts +686 -0
- ezmsg_dashboard-0.1.0/frontend/src/main.tsx +11 -0
- ezmsg_dashboard-0.1.0/frontend/src/styles.css +2524 -0
- ezmsg_dashboard-0.1.0/frontend/src/types/api.ts +138 -0
- ezmsg_dashboard-0.1.0/frontend/src/types/events.ts +65 -0
- ezmsg_dashboard-0.1.0/frontend/src/utils/streamAddress.test.ts +38 -0
- ezmsg_dashboard-0.1.0/frontend/src/utils/streamAddress.ts +32 -0
- ezmsg_dashboard-0.1.0/frontend/src/utils/traceColors.ts +55 -0
- ezmsg_dashboard-0.1.0/frontend/tests/e2e/dashboard.spec.ts +711 -0
- ezmsg_dashboard-0.1.0/frontend/tests/e2e/dashboard.spec.ts-snapshots/long-labels-topology-dark-darwin.png +0 -0
- ezmsg_dashboard-0.1.0/frontend/tests/e2e/dashboard.spec.ts-snapshots/massive-fanout-scope-dark-darwin.png +0 -0
- ezmsg_dashboard-0.1.0/frontend/tests/e2e/dashboard.spec.ts-snapshots/nested-collections-pipeline-scope-dark-darwin.png +0 -0
- ezmsg_dashboard-0.1.0/frontend/tests/e2e/dashboard.spec.ts-snapshots/profiling-publishers-pane-dark-darwin.png +0 -0
- ezmsg_dashboard-0.1.0/frontend/tsconfig.app.json +18 -0
- ezmsg_dashboard-0.1.0/frontend/tsconfig.json +7 -0
- ezmsg_dashboard-0.1.0/frontend/tsconfig.node.json +11 -0
- ezmsg_dashboard-0.1.0/frontend/vite.config.ts +18 -0
- ezmsg_dashboard-0.1.0/pyproject.toml +60 -0
- ezmsg_dashboard-0.1.0/src/ezmsg/dashboard/__init__.py +10 -0
- ezmsg_dashboard-0.1.0/src/ezmsg/dashboard/__version__.py +24 -0
- ezmsg_dashboard-0.1.0/src/ezmsg/dashboard/_web/assets/ezmsg_logo-NtOJQwc5.png +0 -0
- ezmsg_dashboard-0.1.0/src/ezmsg/dashboard/_web/assets/index-DBKh8Ws_.css +1 -0
- ezmsg_dashboard-0.1.0/src/ezmsg/dashboard/_web/assets/index-KcK4UZ3i.js +60 -0
- ezmsg_dashboard-0.1.0/src/ezmsg/dashboard/_web/index.html +14 -0
- ezmsg_dashboard-0.1.0/src/ezmsg/dashboard/backend/__init__.py +3 -0
- ezmsg_dashboard-0.1.0/src/ezmsg/dashboard/backend/app.py +209 -0
- ezmsg_dashboard-0.1.0/src/ezmsg/dashboard/backend/models/__init__.py +19 -0
- ezmsg_dashboard-0.1.0/src/ezmsg/dashboard/backend/models/events.py +90 -0
- ezmsg_dashboard-0.1.0/src/ezmsg/dashboard/backend/services/__init__.py +3 -0
- ezmsg_dashboard-0.1.0/src/ezmsg/dashboard/backend/services/adapters.py +147 -0
- ezmsg_dashboard-0.1.0/src/ezmsg/dashboard/backend/services/graph_context_service.py +626 -0
- ezmsg_dashboard-0.1.0/src/ezmsg/dashboard/build_frontend.py +69 -0
- ezmsg_dashboard-0.1.0/src/ezmsg/dashboard/server.py +291 -0
- ezmsg_dashboard-0.1.0/tests/backend/test_api_routes.py +360 -0
- ezmsg_dashboard-0.1.0/tests/backend/test_graph_context_service.py +387 -0
- ezmsg_dashboard-0.1.0/tests/backend/test_server.py +101 -0
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
name: Frontend tests
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches:
|
|
8
|
+
- main
|
|
9
|
+
- dev
|
|
10
|
+
workflow_dispatch:
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
unit-tests:
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
defaults:
|
|
16
|
+
run:
|
|
17
|
+
working-directory: frontend
|
|
18
|
+
|
|
19
|
+
steps:
|
|
20
|
+
- uses: actions/checkout@v4
|
|
21
|
+
|
|
22
|
+
- name: Set up Node.js
|
|
23
|
+
uses: actions/setup-node@v4
|
|
24
|
+
with:
|
|
25
|
+
node-version: "20"
|
|
26
|
+
cache: npm
|
|
27
|
+
cache-dependency-path: frontend/package-lock.json
|
|
28
|
+
|
|
29
|
+
- name: Install frontend dependencies
|
|
30
|
+
run: npm ci
|
|
31
|
+
|
|
32
|
+
- name: Run frontend unit tests
|
|
33
|
+
run: npm test
|
|
34
|
+
|
|
35
|
+
e2e-tests:
|
|
36
|
+
# Visual baselines currently live as darwin snapshots in the repo.
|
|
37
|
+
runs-on: macos-latest
|
|
38
|
+
defaults:
|
|
39
|
+
run:
|
|
40
|
+
working-directory: frontend
|
|
41
|
+
|
|
42
|
+
steps:
|
|
43
|
+
- uses: actions/checkout@v4
|
|
44
|
+
|
|
45
|
+
- name: Set up Node.js
|
|
46
|
+
uses: actions/setup-node@v4
|
|
47
|
+
with:
|
|
48
|
+
node-version: "20"
|
|
49
|
+
cache: npm
|
|
50
|
+
cache-dependency-path: frontend/package-lock.json
|
|
51
|
+
|
|
52
|
+
- name: Install frontend dependencies
|
|
53
|
+
run: npm ci
|
|
54
|
+
|
|
55
|
+
- name: Install Playwright browser
|
|
56
|
+
run: npx playwright install chromium
|
|
57
|
+
|
|
58
|
+
- name: Run frontend end-to-end tests
|
|
59
|
+
run: npm run test:e2e
|
|
60
|
+
|
|
61
|
+
- name: Upload Playwright artifacts
|
|
62
|
+
if: failure()
|
|
63
|
+
uses: actions/upload-artifact@v4
|
|
64
|
+
with:
|
|
65
|
+
name: playwright-artifacts
|
|
66
|
+
path: |
|
|
67
|
+
frontend/playwright-report
|
|
68
|
+
frontend/test-results
|
|
69
|
+
if-no-files-found: ignore
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
name: Upload Python Package
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
release:
|
|
5
|
+
types: [published]
|
|
6
|
+
workflow_dispatch:
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: read
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
build:
|
|
13
|
+
name: build and upload release to PyPI
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
environment: "release"
|
|
16
|
+
permissions:
|
|
17
|
+
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
|
|
18
|
+
|
|
19
|
+
steps:
|
|
20
|
+
- uses: actions/checkout@v4
|
|
21
|
+
|
|
22
|
+
- name: Install uv
|
|
23
|
+
uses: astral-sh/setup-uv@v6
|
|
24
|
+
|
|
25
|
+
- name: Build Package
|
|
26
|
+
run: uv build
|
|
27
|
+
|
|
28
|
+
- name: Publish package distributions to PyPI
|
|
29
|
+
run: uv publish
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
name: Test package
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches:
|
|
8
|
+
- main
|
|
9
|
+
- dev
|
|
10
|
+
workflow_dispatch:
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
build:
|
|
14
|
+
strategy:
|
|
15
|
+
matrix:
|
|
16
|
+
python-version: ["3.11", "3.12", "3.13"]
|
|
17
|
+
os:
|
|
18
|
+
- "ubuntu-latest"
|
|
19
|
+
- "windows-latest"
|
|
20
|
+
- "macos-latest"
|
|
21
|
+
runs-on: ${{matrix.os}}
|
|
22
|
+
|
|
23
|
+
steps:
|
|
24
|
+
- uses: actions/checkout@v4
|
|
25
|
+
|
|
26
|
+
- name: Install the latest version of uv
|
|
27
|
+
uses: astral-sh/setup-uv@v6
|
|
28
|
+
|
|
29
|
+
- name: Install the project
|
|
30
|
+
run: uv sync --python ${{ matrix.python-version }}
|
|
31
|
+
|
|
32
|
+
- name: Lint
|
|
33
|
+
run:
|
|
34
|
+
uv tool run ruff check --output-format=github src
|
|
35
|
+
|
|
36
|
+
- name: Run tests
|
|
37
|
+
run: uv run pytest tests
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
|
|
9
|
+
# Distribution / packaging
|
|
10
|
+
.Python
|
|
11
|
+
build/
|
|
12
|
+
develop-eggs/
|
|
13
|
+
dist/
|
|
14
|
+
downloads/
|
|
15
|
+
eggs/
|
|
16
|
+
.eggs/
|
|
17
|
+
lib/
|
|
18
|
+
lib64/
|
|
19
|
+
parts/
|
|
20
|
+
sdist/
|
|
21
|
+
var/
|
|
22
|
+
wheels/
|
|
23
|
+
share/python-wheels/
|
|
24
|
+
*.egg-info/
|
|
25
|
+
.installed.cfg
|
|
26
|
+
*.egg
|
|
27
|
+
MANIFEST
|
|
28
|
+
|
|
29
|
+
# PyInstaller
|
|
30
|
+
# Usually these files are written by a python script from a template
|
|
31
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
32
|
+
*.manifest
|
|
33
|
+
*.spec
|
|
34
|
+
|
|
35
|
+
# Installer logs
|
|
36
|
+
pip-log.txt
|
|
37
|
+
pip-delete-this-directory.txt
|
|
38
|
+
|
|
39
|
+
# Unit test / coverage reports
|
|
40
|
+
htmlcov/
|
|
41
|
+
.tox/
|
|
42
|
+
.nox/
|
|
43
|
+
.coverage
|
|
44
|
+
.coverage.*
|
|
45
|
+
.cache
|
|
46
|
+
nosetests.xml
|
|
47
|
+
coverage.xml
|
|
48
|
+
*.cover
|
|
49
|
+
*.py,cover
|
|
50
|
+
.hypothesis/
|
|
51
|
+
.pytest_cache/
|
|
52
|
+
cover/
|
|
53
|
+
|
|
54
|
+
# Translations
|
|
55
|
+
*.mo
|
|
56
|
+
*.pot
|
|
57
|
+
|
|
58
|
+
# Django stuff:
|
|
59
|
+
*.log
|
|
60
|
+
local_settings.py
|
|
61
|
+
db.sqlite3
|
|
62
|
+
db.sqlite3-journal
|
|
63
|
+
|
|
64
|
+
# Flask stuff:
|
|
65
|
+
instance/
|
|
66
|
+
.webassets-cache
|
|
67
|
+
|
|
68
|
+
# Scrapy stuff:
|
|
69
|
+
.scrapy
|
|
70
|
+
|
|
71
|
+
# Sphinx documentation
|
|
72
|
+
docs/_build/
|
|
73
|
+
docs/source/_build
|
|
74
|
+
docs/source/generated
|
|
75
|
+
|
|
76
|
+
# PyBuilder
|
|
77
|
+
.pybuilder/
|
|
78
|
+
target/
|
|
79
|
+
|
|
80
|
+
# Jupyter Notebook
|
|
81
|
+
.ipynb_checkpoints
|
|
82
|
+
|
|
83
|
+
# IPython
|
|
84
|
+
profile_default/
|
|
85
|
+
ipython_config.py
|
|
86
|
+
|
|
87
|
+
# pyenv
|
|
88
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
89
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
90
|
+
# .python-version
|
|
91
|
+
|
|
92
|
+
# pipenv
|
|
93
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
94
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
95
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
96
|
+
# install all needed dependencies.
|
|
97
|
+
#Pipfile.lock
|
|
98
|
+
|
|
99
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
|
|
100
|
+
__pypackages__/
|
|
101
|
+
|
|
102
|
+
# Celery stuff
|
|
103
|
+
celerybeat-schedule
|
|
104
|
+
celerybeat.pid
|
|
105
|
+
|
|
106
|
+
# SageMath parsed files
|
|
107
|
+
*.sage.py
|
|
108
|
+
|
|
109
|
+
# Environments
|
|
110
|
+
.env
|
|
111
|
+
.venv
|
|
112
|
+
env/
|
|
113
|
+
venv/
|
|
114
|
+
ENV/
|
|
115
|
+
env.bak/
|
|
116
|
+
venv.bak/
|
|
117
|
+
|
|
118
|
+
# Spyder project settings
|
|
119
|
+
.spyderproject
|
|
120
|
+
.spyproject
|
|
121
|
+
|
|
122
|
+
# Rope project settings
|
|
123
|
+
.ropeproject
|
|
124
|
+
|
|
125
|
+
# mkdocs documentation
|
|
126
|
+
/site
|
|
127
|
+
|
|
128
|
+
# mypy
|
|
129
|
+
.mypy_cache/
|
|
130
|
+
.dmypy.json
|
|
131
|
+
dmypy.json
|
|
132
|
+
|
|
133
|
+
# Pyre type checker
|
|
134
|
+
.pyre/
|
|
135
|
+
|
|
136
|
+
# pytype static type analyzer
|
|
137
|
+
.pytype/
|
|
138
|
+
|
|
139
|
+
# Cython debug symbols
|
|
140
|
+
cython_debug/
|
|
141
|
+
|
|
142
|
+
# JetBrains
|
|
143
|
+
.idea/
|
|
144
|
+
|
|
145
|
+
src/ezmsg/dashboard/__version__.py
|
|
146
|
+
uv.lock
|
|
147
|
+
|
|
148
|
+
# Frontend artifacts
|
|
149
|
+
frontend/node_modules/
|
|
150
|
+
frontend/dist/
|
|
151
|
+
frontend/*.tsbuildinfo
|
|
152
|
+
frontend/vite.config.js
|
|
153
|
+
frontend/vite.config.d.ts
|
|
154
|
+
frontend/test-results/
|
|
155
|
+
frontend/playwright-report/
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2022 Johns Hopkins University Applied Physics Lab
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
|
+
|
|
7
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
8
|
+
|
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: ezmsg-dashboard
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Web-based dashboard for monitoring ezmsg status
|
|
5
|
+
Author-email: Griffin Milsap <griffin.milsap@gmail.com>
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
License-File: LICENSE.txt
|
|
8
|
+
Requires-Python: >=3.11
|
|
9
|
+
Requires-Dist: ezmsg>=3.9.0
|
|
10
|
+
Requires-Dist: fastapi>=0.116.0
|
|
11
|
+
Requires-Dist: numpy>=1.26.0
|
|
12
|
+
Requires-Dist: uvicorn[standard]>=0.42.0
|
|
13
|
+
Description-Content-Type: text/markdown
|
|
14
|
+
|
|
15
|
+
# ezmsg-dashboard
|
|
16
|
+
|
|
17
|
+

|
|
18
|
+
|
|
19
|
+
`ezmsg-dashboard` is a web dashboard for inspecting and operating running `ezmsg` systems.
|
|
20
|
+
|
|
21
|
+
It combines:
|
|
22
|
+
- a Python backend that talks to `GraphContext`
|
|
23
|
+
- a React/TypeScript frontend for topology, publishers, settings, and trace visualization
|
|
24
|
+
- fixture-backed tests for graph layout, inspector behavior, profiling, and visual regression coverage
|
|
25
|
+
|
|
26
|
+
This package is published as `ezmsg.dashboard` and follows the namespace packaging style used by other `ezmsg` extensions.
|
|
27
|
+
|
|
28
|
+
The release artifact is intended to be installed as a normal Python package:
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
pip install ezmsg ezmsg-dashboard
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Runtime installs do not require `npm`. The published wheel/sdist includes a prebuilt frontend bundle that the Python backend serves directly.
|
|
35
|
+
|
|
36
|
+
Documentation lives in [docs/README.md](docs/README.md).
|
|
37
|
+
|
|
38
|
+
__NOTE:__ This software was written in heavy collaboration (vibe coded) with ChatGPT 5.4. It appears functional and has been used to evaluate a variety of `ezmsg` deployments, but this in no way implies fitness for any particular use, or that the code is anything more than AI slop. The human(s) who have their name associated with this package do not fully understand how the code was designed/functions and will not necessarily be helpful in GitHub issues or PRs. It should be treated as a tool that is nice when it works well and solves a problem, and as an inspirational jumping board/mockup for what `ezmsg-dashboard` could be with a real development push by human developers.
|
|
39
|
+
|
|
40
|
+
## Features
|
|
41
|
+
|
|
42
|
+
- Live topology rendering with left-to-right and top-to-bottom layouts
|
|
43
|
+
- Scoped collection navigation with breadcrumb and in-graph open/up controls
|
|
44
|
+
- Settings inspection and patching
|
|
45
|
+
- Publisher and subscriber profiling views
|
|
46
|
+
- Profiling trace capture and timing visualization
|
|
47
|
+
- Frontend fixture mode for deterministic graph and profiling scenarios
|
|
48
|
+
- Unit, Playwright, and screenshot-based regression tests
|
|
49
|
+
|
|
50
|
+
## Running
|
|
51
|
+
|
|
52
|
+
### End-user runtime
|
|
53
|
+
|
|
54
|
+
After installing `ezmsg` and `ezmsg-dashboard`, launch the packaged dashboard server directly:
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
ezmsg dashboard --graph-address 127.0.0.1:25978
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
This starts the Python backend and serves the packaged frontend from the same process.
|
|
61
|
+
|
|
62
|
+
If you want core `ezmsg` to host the graph server and dashboard together:
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
ezmsg serve --dashboard
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
For local setup, development mode, testing, fixture scenarios, and release steps, use the [Development Guide](docs/development.md).
|
|
69
|
+
|
|
70
|
+
## License
|
|
71
|
+
|
|
72
|
+
MIT. See [LICENSE.txt](LICENSE.txt).
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# ezmsg-dashboard
|
|
2
|
+
|
|
3
|
+

|
|
4
|
+
|
|
5
|
+
`ezmsg-dashboard` is a web dashboard for inspecting and operating running `ezmsg` systems.
|
|
6
|
+
|
|
7
|
+
It combines:
|
|
8
|
+
- a Python backend that talks to `GraphContext`
|
|
9
|
+
- a React/TypeScript frontend for topology, publishers, settings, and trace visualization
|
|
10
|
+
- fixture-backed tests for graph layout, inspector behavior, profiling, and visual regression coverage
|
|
11
|
+
|
|
12
|
+
This package is published as `ezmsg.dashboard` and follows the namespace packaging style used by other `ezmsg` extensions.
|
|
13
|
+
|
|
14
|
+
The release artifact is intended to be installed as a normal Python package:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
pip install ezmsg ezmsg-dashboard
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Runtime installs do not require `npm`. The published wheel/sdist includes a prebuilt frontend bundle that the Python backend serves directly.
|
|
21
|
+
|
|
22
|
+
Documentation lives in [docs/README.md](docs/README.md).
|
|
23
|
+
|
|
24
|
+
__NOTE:__ This software was written in heavy collaboration (vibe coded) with ChatGPT 5.4. It appears functional and has been used to evaluate a variety of `ezmsg` deployments, but this in no way implies fitness for any particular use, or that the code is anything more than AI slop. The human(s) who have their name associated with this package do not fully understand how the code was designed/functions and will not necessarily be helpful in GitHub issues or PRs. It should be treated as a tool that is nice when it works well and solves a problem, and as an inspirational jumping board/mockup for what `ezmsg-dashboard` could be with a real development push by human developers.
|
|
25
|
+
|
|
26
|
+
## Features
|
|
27
|
+
|
|
28
|
+
- Live topology rendering with left-to-right and top-to-bottom layouts
|
|
29
|
+
- Scoped collection navigation with breadcrumb and in-graph open/up controls
|
|
30
|
+
- Settings inspection and patching
|
|
31
|
+
- Publisher and subscriber profiling views
|
|
32
|
+
- Profiling trace capture and timing visualization
|
|
33
|
+
- Frontend fixture mode for deterministic graph and profiling scenarios
|
|
34
|
+
- Unit, Playwright, and screenshot-based regression tests
|
|
35
|
+
|
|
36
|
+
## Running
|
|
37
|
+
|
|
38
|
+
### End-user runtime
|
|
39
|
+
|
|
40
|
+
After installing `ezmsg` and `ezmsg-dashboard`, launch the packaged dashboard server directly:
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
ezmsg dashboard --graph-address 127.0.0.1:25978
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
This starts the Python backend and serves the packaged frontend from the same process.
|
|
47
|
+
|
|
48
|
+
If you want core `ezmsg` to host the graph server and dashboard together:
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
ezmsg serve --dashboard
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
For local setup, development mode, testing, fixture scenarios, and release steps, use the [Development Guide](docs/development.md).
|
|
55
|
+
|
|
56
|
+
## License
|
|
57
|
+
|
|
58
|
+
MIT. See [LICENSE.txt](LICENSE.txt).
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Documentation
|
|
2
|
+
|
|
3
|
+
- [User Guide](./user-guide.md)
|
|
4
|
+
- [Metrics Reference](./metrics-reference.md)
|
|
5
|
+
- [Development Guide](./development.md)
|
|
6
|
+
- [Code Tour](./code-tour.md)
|
|
7
|
+
|
|
8
|
+
This initial docs set is fixture-backed and written against the current MVP dashboard behavior.
|
|
9
|
+
|
|
10
|
+
The screenshots in this folder are generated from the frontend fixtures rather than a live graph server, so the exact names and values may differ from your running system while the UI behavior should remain representative.
|