KontikiTUI
Part of the Kontiki suite — a compact open-source stack for startups and small teams that need ops without the heavy stack.
Full suite overview → https://kontiki-org.github.io/
Ops demo → kontiki-monitor Quickstart.
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, last heartbeat, degraded reason, host/pid, version),
- inspect events and exceptions recorded by the registry,
- read logs without leaving the terminal.
Tabs
-
Services: registered services with status, last heartbeat, degraded reason, host/pid, and version (Kontiki ≥1.9.0). Selecting a row shows the configuration/metadata in JSON.
Defaults to the business registration group via the session Group Select on each monitoring tab (
all/business/platform/ …). Changing it in one tab updates all tabs. Missing/blank Registrygroupcounts as business. Instance column shows the Kontiki short id (12 hex), not the full UUID. -
Events: events tracked by the registry, with local filters (
Field/Value/Limit). Domain publishes and RPC calls are shown (rpc:<remote_method>when there is noevent_type). Hides registry bookkeeping and TUI observer traffic. Filtered by the same session Group Select (registry jointure). Deregistered instances fall back tobusiness. -
Exceptions: exceptions from the registry exception tracker, with the same local filtering approach. Also filtered by the session Group Select. 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. When services use Kontiki ≥1.8.1 (logging.directoryin their config), log files are named{service_name}-{short_instance_id}.logand filtered by the session Group Select.ServiceRegistry-*.logis never included (observer / registry process noise). Files that do not follow Kontiki naming are always shown. -
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.
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-1.0.0.tar.gz.
File metadata
- Download URL: kontiki_tui-1.0.0.tar.gz
- Upload date:
- Size: 24.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/2.4.1 CPython/3.13.7 Linux/6.8.0-139-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3954a366fcc68b9453baf22041571112fedc2fda8525838f2d754af39448f00a
|
|
| MD5 |
16cc7c40a8e4705f55974311ab0e19b4
|
|
| BLAKE2b-256 |
4d12f5fa3f5d6920eaf8609f6d382664bf440e255212e724253e09d8090e3b36
|
File details
Details for the file kontiki_tui-1.0.0-py3-none-any.whl.
File metadata
- Download URL: kontiki_tui-1.0.0-py3-none-any.whl
- Upload date:
- Size: 35.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/2.4.1 CPython/3.13.7 Linux/6.8.0-139-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3b5c01f53c7dcfbb5fc2d1ccf3e704c0fe6a598372381a954da74ccde426eec4
|
|
| MD5 |
3fbba6f1de4093494ef170e44ebd2493
|
|
| BLAKE2b-256 |
761001f25bc4e943ee79917e58f42eeb203ffc198d4264340fc6dd305dbdc952
|