Skill and Sandbox Metrics

Track skill activations and Code Sandbox command outcomes.

Metrics

MetricLabelsMeasures
skill_activations_totalactivation_typeSkill activations: slash_command, chat_attachment, load_skill, or delegation
skill_context_tokens_totalactivation_typeTokens that skill activations added to model context
sandbox_commands_total, sandbox_command_duration_secondsstatusCode Sandbox commands: ok, script_error, timeout, or runtime_error
sandbox_runtime_errors_totalcodeSandbox runtime errors. engine_unreachable means the sandbox engine is down.
sandbox_runtime_statusstatus1 for the runtime's current status: disabled, initializing, ready, error, or stopped