Docs menu · Reference

Returns lightweight database metrics: the open target, durability, whether the handle is open, the active branch count, the registered space count for the selected branch, and the control-plane health status. The branch defaults to the handle branch when omitted.

Status commands return a scalar or compact status payload and do not mutate database state.

Examples

Read lightweight database metrics.

CLI

$ strata metrics

Wire

{"type":"metrics"}

Parameters

No parameters.

Plus the optional scope: branch and space (default to the session branch and the "default" space).

Returns

StatusResponse<AdminMetrics>.

Errors

Invocation

  • CLI: strata metrics
  • Wire type: metrics

agents: this page as markdown → /docs/reference/admin/metrics.md