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.

  • 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 + registry + example services + kontiki-monitor)

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.1

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.1
File Size Uploaded
kontiki_tui-2.1.1.tar.gz 45.1 kB Details

Built distribution (wheel)

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

Total release size: 109.8 kB

Release files / kontiki_tui-2.1.1.tar.gz

Download URL kontiki_tui-2.1.1.tar.gz
Size 45.1 kB
Tags Source
SHA-256 checksum
How to use checksums
32ecb529e0b77822dfbb1e701b5e1ac96db472cdec41dd231147b0bdb515c109
BLAKE2b-256 checksum
How to use checksums
2430fd8554f38c8a958a58109b635354f804dedc6783711a2ebe006864e1e6fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.13.7 Linux/6.8.0-142-generic

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

Download URL kontiki_tui-2.1.1-py3-none-any.whl
Size 64.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b00405f54b1ad1c90f367d5dcb8a75c97aa3027ba60852b27b40255b8be461b5
BLAKE2b-256 checksum
How to use checksums
baa8d69eca35c29868ef35cab63a2437bca8d9896ecc57fc5a9f5ac4281fcdf7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.13.7 Linux/6.8.0-142-generic

Release history Release notifications | RSS feed

This release

2.1.1 This release

2 release files

2.1.0

2 release files

2.0.0

2 release files

1.6.0

2 release files

1.5.0

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

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