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
  • LavinMQ (AMQP 0-9-1), for example 2.11
  • 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 (LavinMQ + 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.3

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.3
File Size Uploaded Provenance Actions
kontiki_tui-2.1.3.tar.gz 45.3 kB Without provenance Details for kontiki_tui-2.1.3.tar.gz

Built distribution (wheel)

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

Total release size: 110.1 kB

Release files / kontiki_tui-2.1.3.tar.gz

Download URL kontiki_tui-2.1.3.tar.gz
Size 45.3 kB
Tags Source
SHA-256 checksum
How to use checksums
7191adada82599b45e33be0a1ec1afba4175aaebaa1958ce806619ebf4c88c45
BLAKE2b-256 checksum
How to use checksums
1b8bbc92c24029cf01750a105a5baafe66e7db48273c4c15e0279bff40fcfe92
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-42-generic

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

Download URL kontiki_tui-2.1.3-py3-none-any.whl
Size 64.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
547fec89c389c18e069e4d020532b82cbe41bc20efa16a6267d0c42e2038d57f
BLAKE2b-256 checksum
How to use checksums
8af2cbf758350418559b9df04f84ecbb823c8f2e3f224507833f4300aa02c779
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-42-generic

Security for kontiki-tui 2.1.3

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