Terminal UI to monitor Kontiki services, registry events, and logs.
Project description
KontikiTUI
Overview
KontikiTUI is a small terminal UI for monitoring Kontiki systems via the Kontiki service registry and log files.
It is built with Textual, a Python TUI framework.
It is “engineering‑tool” oriented:
- quick view of running services (status, pid/host, version, local stats when possible),
- inspect events and exceptions recorded by the registry,
- read logs without leaving the terminal.
Tabs
-
Services: registered services with
status,pid/host,versionand local stats (CPU/MEM/FD when possible, otherwiseN/A). Selecting a row shows the configuration/metadata in JSON. -
Events: events tracked by the registry, with local filters (
Field/Value/Limit). RPC-like events are displayed asrpc:<remote_method>whenevent_typeis empty. -
Exceptions: exceptions from the registry exception tracker, with the same local filtering approach. The
contextpayload is shown compactly. -
Logs: reads configured log files from
logs.directoryand displays them in the UI. Useslnavwhen available; otherwise it falls back to a Python reader. -
Settings: edit
~/.config/kontiki_tui.yaml(the app reloads configuration on save).
Requirements
- Optional: lnav for richer log filtering; without it, a built-in Python reader is used
Quickstart
Install from PyPI
pip install kontiki-tui
kontiki-tui
Install from source (Poetry)
make install
make run
Test stack (RabbitMQ + registry + example services)
In one terminal:
make stack-up
In another terminal:
make run
Launch examples to view events and exceptions
make run-rpc-example
make run-simple-event-example
To stop:
make stack-down
Contributing
See CONTRIBUTING.md.
License
Licensed under the Apache License, Version 2.0. See LICENSE and NOTICE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kontiki_tui-0.1.0.tar.gz.
File metadata
- Download URL: kontiki_tui-0.1.0.tar.gz
- Upload date:
- Size: 20.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.2 CPython/3.11.9 Linux/6.17.9-76061709-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dcdc09ae705c9a95c13c2085ef2a865149d73e72d54d8d64dd8c10acac0be7bf
|
|
| MD5 |
7f04a8111507037362596f609461cf7a
|
|
| BLAKE2b-256 |
b16b8d5825dcdcae98c29bd699cf3c7e4cb0e5b6c111f2f2e7e2d399464ae44f
|
File details
Details for the file kontiki_tui-0.1.0-py3-none-any.whl.
File metadata
- Download URL: kontiki_tui-0.1.0-py3-none-any.whl
- Upload date:
- Size: 30.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.2 CPython/3.11.9 Linux/6.17.9-76061709-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
457f869839743d6315fc3885c0d85f1d8c2419bb5c9dacc1a4d64bc505b8acb3
|
|
| MD5 |
1dde5991253b4e10a51ba3227f021e3c
|
|
| BLAKE2b-256 |
a33fa0846cce2163da8b6de25b604f814d6c2e25795727623fd2e7d9163ce417
|