Skip to main content

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, service and Kontiki versions),
  • inspect events and exceptions recorded by the registry,
  • read logs without leaving the terminal.

The Header subtitle is the installed KontikiTUI version.


Tabs

  • Services: registered services with status, last heartbeat, degraded reason, host/pid, service version, and Kontiki runtime version (kontiki_version on get_services; empty when the instance does not report it; Kontiki ≥1.10.0). Selecting a row shows the configuration/metadata in JSON. Local filters (Field/Value) match service name, instance id, status, host, service version, or Kontiki version.

    Defaults to all via the session Group Select on each monitoring tab. Options are all plus groups discovered in the live registry. Changing it in one tab updates all tabs. Missing/blank Registry group counts as business. Instance column shows the Kontiki short id (12 hex), not the full UUID.

    Services tab

  • 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 no event_type). Hides registry bookkeeping and TUI observer traffic. Filtered by the same session Group Select (registry jointure). Deregistered instances fall back to business.

    Events tab

  • Exceptions: exceptions from the registry exception tracker, with the same local filtering approach. Also filtered by the session Group Select. The context payload is shown compactly.

    Exceptions tab

  • Logs: reads log files of instances currently in the registry, from logs.directory. Uses lnav when available; otherwise a Python reader. Files follow Kontiki ≥1.8.1 naming {service_name}-{short_instance_id}.log and the session Group Select. Leftover files from deregistered instances, ServiceRegistry-*.log, and non-Kontiki filenames are not opened.

    Logs tab

  • Settings: edit ~/.config/kontiki_tui.yaml (the app reloads configuration on save).

    Settings tab


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

(package on PyPI)

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.

Metadata

Release files for kontiki-tui 1.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 1.1.3
File Size Uploaded
kontiki_tui-1.1.3.tar.gz 25.2 kB Details

Built distribution (wheel)

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

Total release size: 61.6 kB

Release files / kontiki_tui-1.1.3.tar.gz

Download URL kontiki_tui-1.1.3.tar.gz
Size 25.2 kB
Tags Source
SHA-256 checksum
How to use checksums
1b16bfcbe6e2ec02aa873548b22f7c3a056d0f14fe3dc22705d14ebdda9a9def
BLAKE2b-256 checksum
How to use checksums
e60cd25f3b70f0b74b511df40e3e5d33259b5754bc4f729661c658d6c49fd90a
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-139-generic

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

Download URL kontiki_tui-1.1.3-py3-none-any.whl
Size 36.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eba13b4dc00e7940d6398fa829ee239699e8e76957a21c9a1efe2a08dca460d1
BLAKE2b-256 checksum
How to use checksums
fd4f420b5f0c7512c09bc4e7f1c7a4fd233b0b95f49e3a86cdaad955a8f79e1c
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-139-generic

Release history Release notifications | RSS feed

2.1.1

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

This release

1.1.3 This release

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