Constellation OverwatchConstellation Overwatch
Operations

TUI Dashboard

Real-time terminal monitoring dashboard for Constellation Overwatch

Constellation Overwatch includes a Terminal User Interface (TUI) dashboard for real-time system monitoring directly from your terminal.

Quick Start

# Using Task (recommended)
task tui

# Direct execution
go run ./cmd/microlith/main.go --tui

# Built binary
./constellation-overwatch --tui

For best results, use a terminal with at least 120x40 characters and Unicode/true color support.

Dashboard Layout

The TUI displays four monitoring panels in a grid layout:

TUI Dashboard

Panel Reference

System Metrics

Displays real-time resource utilization with visual gauges:

MetricDescription
CPUCurrent CPU utilization percentage
MEMAllocated memory in MB/GB
GORNumber of active goroutines
UPServer uptime since start

Workers

Shows health status of background workers:

BadgeMeaning
[OK] (green)Worker is healthy
[ERR] (red)Worker health check failed

Monitored workers include EntityWorker, TelemetryWorker, CommandWorker, and EventWorker.

Logs

Scrollable viewport displaying application logs with color-coded levels:

LevelColorBadge
DEBUGCyan[DBG]
INFOGreen[INF]
WARNYellow[WRN]
ERRORRed[ERR]

The log buffer retains up to 500 entries and auto-scrolls to new logs when at the bottom.

Entities

Toggleable view showing either connected entities or NATS stream statistics:

Entities View:

  • Displays entity name, type, organization, and live status
  • Entities are marked LIVE if telemetry was received within 30 seconds

Streams View:

  • Shows NATS stream statistics including message count, consumers, and storage

Press t while focused on this panel to toggle between views.

Keyboard Controls

KeyAction
TabMove focus to next panel
Shift+TabMove focus to previous panel
qQuit TUI and shutdown server
Ctrl+CForce quit
?Toggle help overlay
rForce refresh all data

Logs Panel

KeyAction
Up / kScroll up one line
Down / jScroll down one line
Page UpScroll up one page
Page DownScroll down one page
Home / gJump to oldest log
End / GJump to newest log

Entities Panel

KeyAction
Up / kSelect previous item
Down / jSelect next item
tToggle between Entities and Streams view

Terminal Requirements

For optimal display:

  • Size: 120x40 characters minimum
  • Unicode: Required for box-drawing characters
  • True Color: Recommended for proper color rendering
  • iTerm2 (macOS)
  • Alacritty
  • Windows Terminal
  • Kitty

Troubleshooting

Garbled Characters

Your terminal may not support Unicode box-drawing characters. Switch to a modern terminal emulator.

Missing or Wrong Colors

Enable true color in your terminal settings or set COLORTERM=truecolor environment variable.

Truncated Content

Resize your terminal to at least 120x40 characters.

No Workers Displayed

Wait for server initialization to complete. Workers register during the boot sequence.


To debug issues, run without TUI mode to see standard console logging: go run ./cmd/microlith/main.go

On this page