Skip to main content

KontikiTUI

Part of the Kontiki suite — Python runtime, registry, terminal UI, and fleet monitoring for distributed services.

Full suite overview → https://kontiki-org.github.io/

Ops demo → kontiki-monitor Quickstart.

Overview

KontikiTUI is a terminal UI for a Kontiki fleet: one SSH entry point for registry census, open ops alerts, flow trees, events, exceptions, logs, and silences.

It is built with Textual. A session Group Select slices every monitoring tab the same way (all plus groups discovered in the registry).


Tabs

Every monitoring tab uses the same session Group Select (all plus groups from the live registry). Changing it in one tab updates all tabs. Instance ids are the Kontiki 12-hex short id. r refreshes the active tab.

  • Services: live instances (status, heartbeat, host/pid, versions). Row → public config JSON. m / M mute via kontiki-monitor (confirmed).

    Services tab

  • Entrypoints: catalogue a service exposes (events, RPC, HTTP, tasks) and retained competing messages. p replays the oldest one, d drops it (both confirmed). Requires Kontiki ≥2.2.0.

    Entrypoints tab

  • Incidents: open alerts from kontiki-monitor and host-check-service. Row → alert JSON. e exports Markdown.

    Incidents tab

  • Flows: AMQP chains by flow_id (list + message tree). Exceptions nest under the hop that failed. Context records (Kontiki 2.0) are annotations on the tree, not hops. e exports the tree and matching log lines ([flow=…], including traceback). Requires Kontiki ≥2.0.0.

    Flows tab

  • Events: publishes and RPC calls in time order. Hides registry.context.recorded (Flow annotations, Kontiki 2.0).

    Events tab

  • Exceptions: registry exception index. Tracebacks stay in Logs. e exports Markdown.

    Exceptions tab

  • Logs: current instance log files under logs.directory (lnav if installed). Group Select applies.

    Logs tab

  • Silences: monitor mutes, including names no longer registered. s clears the selected row. Mute is set from Services.

    Silences tab

  • Settings: ~/.config/kontiki_tui.yaml (reload on save). Markdown exports go to export.directory (e then y).

    Settings tab


Requirements

  • Kontiki 2.2.0
  • RabbitMQ ≥ 4.3
  • 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

(package on PyPI)

Install from source (Poetry)

make install
make run

Test stack (RabbitMQ + GHCR registry, monitor, Boomerang + 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.

Metadata

Release files for kontiki-tui 2.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kontiki-tui 2.1.2
File Size Uploaded Provenance
kontiki_tui-2.1.2.tar.gz 45.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for kontiki-tui 2.1.2
File Interpreter ABI Platform
kontiki_tui-2.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 110.1 kB

Release files / kontiki_tui-2.1.2.tar.gz

Download URL kontiki_tui-2.1.2.tar.gz
Size 45.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5c2f7d7be8cb118ab616fe82694650be56f451ab53c5bcbcf46aef9bc9318cee
BLAKE2b-256 checksum
How to use checksums
fe6af23b23b845e4721066eece799edc64465c71e0a09e479431a0fc6855bb0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.13.7 Linux/7.0.0-38-generic

Release files / kontiki_tui-2.1.2-py3-none-any.whl

Download URL kontiki_tui-2.1.2-py3-none-any.whl
Size 64.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cda91ebb066ab27992211ed7cff510ddf07908a2fa74ef66e5ebbc9daf23e884
BLAKE2b-256 checksum
How to use checksums
006ac9a00ac4a8aef950532b342f50073aa5cdda31a1e244cabe8845f2bcc1ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.13.7 Linux/7.0.0-38-generic

Security for kontiki-tui 2.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page