# Check metrics for a computer or database

> See what was allocated to a resource over time, from the console, the CLI or an agent

> Nevia is in early access for selected teams. The CLI installs with `curl -fsSL https://get.nevia.cloud | sh`, and the MCP server is at https://api.nevia.cloud/mcp. A person signs in once in the browser.
> Setup, sign-in and requesting access: [SKILL.md](https://nevia.cloud/SKILL.md). When Nevia fits and when it doesn't: [why.md](https://nevia.cloud/why.md).

> For the complete documentation index, see [llms.txt](https://nevia.cloud/llms.txt). This page's HTML version: https://nevia.cloud/docs/observability/metrics

Metrics show what a computer or database was allocated over a window, and
what it used once that is reported. Allocated CPU, memory and disk are what the
platform reserved, which is also what [Cost](https://nevia.cloud/docs/observability/cost.md) bills.

You need any role in the workspace, or access to the project the resource is
in. With access to only some projects, add `--project` with your project to
each command. The examples use a computer named `demo` and the
[CLI](https://nevia.cloud/docs/get-started/install-cli.md).

> **Used values are coming soon**
>
> Allocated CPU, memory and disk are reported today. What the workload used,
> network traffic and the database metrics (connections, size, cache hit ratio
> and query time) are not reported yet and show as coming soon. See
> [what is available today](https://nevia.cloud/docs/observability/overview.md#what-is-available-today).

## Read a summary

```bash
nevia metrics demo
```

The CLI prints one row per metric for the last 24 hours, with columns for the
latest value reported in the window, the 95th percentile and the most used, and
what was allocated at the end of the window. Values Nevia does not report yet read `coming soon`. A `-`
means nothing was reported, or the resource was asleep. Disk stays allocated
while a resource sleeps.

Change the window with `--since` and `--until`, which take a time ago such as
`2h` or `7d`, a date, or an RFC 3339 time. A window spans at most 92 days:

```bash
nevia metrics demo --since 7d
```

With no resource, the CLI covers every computer and database in the selected
workspace. `--project` narrows it to a project's resources.

## Read a series

```bash
nevia metrics demo --since 6h --series
```

`--series` prints one row per bucket instead of the summary. Buckets are
minutes for windows up to 6 hours, hours up to 14 days, and days beyond. A
series covers at most 20 resources, so name them or narrow by project first.
Every metric and flag is in the
[`nevia metrics` reference](https://nevia.cloud/docs/reference/cli/metrics.md).

## In the console

Open **Observability** › **Metrics** for the workspace, or the **Metrics** tab
on a computer, database or project page. Each chart draws allocated against
used over the time frame you pick. Until used values are reported, CPU, memory
and disk draw each resource's allocation as its line, marked **Actual usage
coming soon**. A chart with nothing to draw yet, such as network or query time,
is marked **Coming soon**. Drag across
a chart to zoom into a stretch.

## Ask an agent

Over [MCP](https://nevia.cloud/docs/get-started/mcp.md), an agent reads the same values with
`get_metrics`:

```text
How much memory and disk does the computer demo have allocated in Nevia this week?
```

Nulls in the answer mean the resource was asleep or the value is not reported
yet, never zero. The answer's `unreported` field names the metrics, and the
`used` values, that Nevia does not report yet. See the
[MCP reference](https://nevia.cloud/docs/reference/mcp.md#logs-metrics-and-destinations) and
[`GET /v1/metrics`](https://nevia.cloud/docs/reference/api/observability/getMetrics.md).
