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. s / S mute via kontiki-monitor (confirmed).

    Services 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.0.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.0.0

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.0.0
File Size Uploaded
kontiki_tui-2.0.0.tar.gz 40.1 kB Details

Built distribution (wheel)

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

Total release size: 97.4 kB

Release files / kontiki_tui-2.0.0.tar.gz

Download URL kontiki_tui-2.0.0.tar.gz
Size 40.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b6b5d327662dad067e0cf45758dcd5887593ed390da063df1f747e0df82ba86c
BLAKE2b-256 checksum
How to use checksums
150dd78908707643436ad5c257a96f352f5abda48bd5a44bacdbde5ac3959d33
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.0.0-py3-none-any.whl

Download URL kontiki_tui-2.0.0-py3-none-any.whl
Size 57.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
41ee18de10f2f9ee52079fa01578b8f45ca5c5162420684477749a88912510ac
BLAKE2b-256 checksum
How to use checksums
6f4d3b6f2999dc13d82e1805e54f6376d0dc41ece674f39bb7cb597b35986fe9
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

2.1.1

2 release files

2.1.0

2 release files

This release

2.0.0 This release

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