Skip to main content
Metrics show how hard a Devbox is working, for example whether a slow build is short on memory or waiting on disk.
Every Devbox comes with Namespace Compute’s built-in observability. The nsc CLI and the compute client in the TS SDK read it for any running Devbox.

Read a Devbox’s metrics

1

Find the instance ID

Compute tools need the Devbox’s instance ID, which changes on every start, so look it up while it’s running. In the CLI, use the ID from devbox list.
2

Read the metrics

The CLI shows live usage in your terminal. The TS SDK returns time series for the period you ask for.

Available metrics

Count running Devboxes across your account

If you build on the Namespace platform, the namespace.account.running_instances OpenTelemetry metric counts your running instances by purpose. Devboxes have the purpose devbox. Devboxes that are starting, stopped, or shutting down aren’t counted.
Last modified on December 2, 2026