Skip to main content

Terminal UI to monitor Kontiki services, registry events, and logs.

Project description

KontikiTUI

Overview

KontikiTUI is a small terminal UI for monitoring Kontiki systems via the Kontiki service registry and log files.

It is “engineering‑tool” oriented:

  • quick view of running services (status, pid/host, version, local stats when possible),
  • inspect events and exceptions recorded by the registry,
  • read logs without leaving the terminal.

Tabs

  • Services: registered services with status, pid/host, version and local stats (CPU/MEM/FD when possible, otherwise N/A). Selecting a row shows the configuration/metadata in JSON.

    Services tab

  • Events: events tracked by the registry, with local filters (Field/Value/Limit). RPC-like events are displayed as rpc:<remote_method> when event_type is empty.

    Events tab

  • Exceptions: exceptions from the registry exception tracker, with the same local filtering approach. The context payload is shown compactly.

    Exceptions tab

  • Logs: reads configured log files from logs.directory and displays them in the UI. Uses lnav when available; otherwise it falls back to a Python reader.

    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 & run

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kontiki_tui-0.1.1.tar.gz (20.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kontiki_tui-0.1.1-py3-none-any.whl (30.7 kB view details)

Uploaded Python 3

File details

Details for the file kontiki_tui-0.1.1.tar.gz.

File metadata

  • Download URL: kontiki_tui-0.1.1.tar.gz
  • Upload date:
  • Size: 20.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.13.7 Linux/6.8.0-124-generic

File hashes

Hashes for kontiki_tui-0.1.1.tar.gz
Algorithm Hash digest
SHA256 34e8596356158674136ece9c1b3991d2204e398dcf807d98e7ae57ce2a45691d
MD5 e79492502769a9172a8101e86ba59895
BLAKE2b-256 fc058751be573572c47180869d79a638c673db87a2e95800376e1dde15a5e7e7

See more details on using hashes here.

File details

Details for the file kontiki_tui-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: kontiki_tui-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 30.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.13.7 Linux/6.8.0-124-generic

File hashes

Hashes for kontiki_tui-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 11734109c2e14923038dcb1b123068d3d992eb12a7eb7a3c053065409e422199
MD5 c3360c40eddb9b63ebc304b630eedfb2
BLAKE2b-256 4f88874ff62b9d57c0f358db80833a4fb846eae04ca77d0bb288e6e06bfab0af

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page