@@ -77,66 +77,13 @@ make build
7777./bin/metrics-analyzer list-rules
7878```
7979
80- ## TUI Keyboard Shortcuts
81-
82- | Key | Action |
83- | -----| --------|
84- | ` ↑ ` /` k ` , ` ↓ ` /` j ` | Navigate up/down |
85- | ` Enter ` /` → ` | View details |
86- | ` ← ` /` Esc ` | Go back |
87- | ` g ` /` Home ` | Go to top |
88- | ` G ` /` End ` | Go to bottom |
89- | ` PgUp ` /` PgDn ` | Page up/down |
90- | ` / ` | Search/filter |
91- | ` 1-4 ` | Filter by status (All/Red/Yellow/Green) |
92- | ` ? ` | Toggle help |
93- | ` q ` | Quit |
94-
95- ## Project Structure
80+ ## More Documentation
9681
97- ```
98- sensor-metrics-analyzer-go/
99- ├── cmd/metrics-analyzer/ # CLI entry point
100- ├── internal/
101- │ ├── parser/ # Prometheus metrics parser
102- │ ├── rules/ # TOML rule loader and validator
103- │ ├── loadlevel/ # Load level detection engine
104- │ ├── evaluator/ # Rule evaluation logic
105- │ ├── reporter/ # Report generation (markdown/console)
106- │ └── tui/ # Interactive terminal UI (Bubble Tea)
107- ├── automated-rules/ # TOML rule definitions
108- └── templates/ # Report templates
109- ```
110-
111- ## Testing
112-
113- ``` bash
114- # Unit tests
115- make test
116-
117- # Integration test (compare with Python output)
118- python3 analyze_metrics_full.py metrics.txt > /tmp/python-output.txt
119- ./bin/metrics-analyzer analyze --format markdown --output /tmp/go-report.md metrics.txt
120- go run testdata/compare_outputs.go /tmp/python-output.txt /tmp/go-report.md
121- ```
122-
123- ## Recording Demos
124-
125- This project uses [ VHS] ( https://github.com/charmbracelet/vhs ) for recording terminal demos.
126- See the [ ` demo/ ` ] ( demo/ ) folder for scripts and instructions.
127-
128- ``` bash
129- # Install VHS
130- brew install vhs
131-
132- # Record demos
133- cd demo
134- vhs demo.tape # Full TUI demo
135- vhs demo-cli.tape # CLI mode demo
136-
137- # Publish to charm servers
138- vhs publish demo.gif
139- ```
82+ - [ TUI Keyboard Shortcuts] ( docs/usage/tui-shortcuts.md )
83+ - [ Project Structure] ( docs/architecture/project-structure.md )
84+ - [ Testing] ( docs/dev/testing.md )
85+ - [ Recording Demos] ( docs/dev/recording-demos.md )
86+ - [ Releasing a New Version] ( docs/dev/releasing.md )
14087
14188## Dependencies
14289
@@ -146,6 +93,11 @@ Built with:
14693- [ Bubbles] ( https://github.com/charmbracelet/bubbles ) - TUI components
14794- [ go-pretty] ( https://github.com/jedib0t/go-pretty ) - Table formatting
14895
96+ ## Additional Docs
97+
98+ - [ Documentation Home] ( docs/README.md )
99+ - [ Rules Wiki] ( docs/rules/README.md )
100+
149101## License
150102
151103Apache 2.0 - See [ LICENSE] ( LICENSE ) for details.
0 commit comments