StatefulActor now has built-in observability. Runtime logs, invocation logs, and metrics are available directly from the telnyx-edge CLI, with real-time streaming for logs, so you can debug actors without wiring up a separate monitoring stack.
console.log and console.error output your actor methods produce, retrieved with telnyx-edge actors logs <type> --type runtime. Runtime logs are type-level output and are not correlated to a specific invocation ID.--instance <id>. Retrieved with telnyx-edge actors logs <type> --type invocations.telnyx-edge actors metrics <type>.--tail to telnyx-edge actors logs <type> to stay attached and stream new log lines as they arrive, for runtime and invocation logs alike, with --type filtering for both log types and --instance <id> filtering for invocation logs. For example, telnyx-edge actors logs my-actor --tail --type invocations --instance alice. --tail requires CLI v0.5.10 or newer.By default, both commands read a bounded window of historical data, configurable with --since. History mode exits after printing, while --tail keeps the logs command attached and streams new lines as they arrive. Live sessions are severed roughly every 10 minutes and reconnect automatically, but lines emitted during the gap are lost. You need CLI v0.5.8 or newer for history-mode logs and metrics. --tail requires v0.5.10 or newer.
To debug an issue, find failed method calls in invocation logs, see which actor instance and method were involved, inspect nearby runtime output, and check metrics for latency spikes, memory pressure, or changes in stored state. To catch a problem as it happens, stream both log types live with --tail.
When a StatefulActor represents a checkout, session, game, device, or other stateful entity, you need to debug it in production. In a multi-vendor stack, observability is its own vendor problem. You run the actor on one platform, ship logs to another, pipe metrics to a third, and correlate across dashboards that were never designed to talk to each other. The monitoring stack becomes a thing you build and maintain alongside the application.
On Telnyx, the platform that runs the actor produces its logs and metrics because it is the thing executing the code. Runtime output, method-level invocation records, and resource metrics are available from the same CLI you use to manage your Stateful Actors. You get useful observability out of the box, without having to integrate a separate monitoring stack just to start debugging.
npm i -g @telnyx/edge.telnyx-edge actors logs my-actor --type runtime.telnyx-edge actors logs my-actor --type invocations.telnyx-edge actors metrics my-actor.telnyx-edge actors logs my-actor --tail.Learn more in the actor observability docs, including logs and metrics.