# Depot CI metrics (https://depot.dev/docs/ci/observability/depot-ci-metrics)

## View job metrics

From the [Depot CI page](/orgs/_/workflows), click a workflow run and select a specific job to view its metrics.

### Sandbox resource utilization

The **Resource Usage** section above the logs displays CPU and memory utilization graphs for the job's sandbox. Use these graphs to determine if jobs are resource-constrained or over-provisioned.

<img alt="Depot CI resource usage" src="/images/docs/depot-ci-resource-usage.png" width="2146" height="264" />

Annotations on the graph mark the start of each step. Click an annotation to jump to the corresponding step in the log output.

### Step-level timing

Each step in the job shows its name and duration. A visual timing bar indicates relative duration for longer-running steps, making it easy to spot bottlenecks like dependency installation or test execution.

<img alt="Depot CI step-level timing" src="/images/docs/depot-ci-logviewer-collapsed.png" width="2147" height="759" />

### AI failure diagnosis

When a job fails, Depot analyzes the failure and displays a **Failure Diagnosis** section at the top of the job detail view when a diagnosis is available. The diagnosis includes:

* **What went wrong**: An AI-generated explanation of the root cause based on the job's logs and error output.
* **Suggested fix**: Actionable steps to resolve the issue.

<img alt="Depot CI failure diagnosis" src="/images/docs/depot-ci-failure-diagnosis.png" width="2131" height="415" />

For deeper investigation, you can [debug a failing job with SSH](/docs/ci/how-to-guides/debug-with-ssh) to connect directly to the sandbox environment. For viewing and navigating job logs, see [Depot CI logs](/docs/ci/observability/depot-ci-logs).

You can also fetch job and run metrics programmatically with the [Depot CI API](/docs/api/ci/reference).

## For AI Agents

The full site index is at [llms.txt](https://depot.dev/llms.txt). Append `.md` to any documentation, blog, changelog, or customer URL to fetch its markdown source directly.