Observability

Metrics

Kameo supports a metrics feature flag, which keeps track of the number of messages and signals sent and received across actors.

kameo = { version = "*", features = ["metrics"] }

With the feature flag enabled, you can install any supported global recorder compatible with the metrics crate.

Some common exporters include:

Channels Console

For observability in your terminal, a TUI called channels-console is available and supported by kameo.

Console TUI Example

This can be enabled with the channels-console feature flag in kameo:

kameo = { version = "*", features = ["channels-console"] }

You'll also need to install the channels-console TUI:

cargo install channels-console --features=tui

Once installed, you can run your kameo app, and in another terminal run channels-console to immediately get live usage metrics.