# Dashboard access requires sign-in

You can also investigate this project using the Vercel CLI. The commands below require a CLI session with access to the project.

If you don't have the CLI installed, run:

```sh
npm i -g vercel
```

Sign in with `vc login` if needed.

## Middleware

### Query middleware invocations by action

```sh
vc metrics vercel.middleware_invocation.count --scope number-0 --project iroh-computer --group-by middlewareAction --environment production --since 12h --json
```

### Query P75 middleware duration by route

```sh
vc metrics vercel.middleware_invocation.request_duration_ms --scope number-0 --project iroh-computer --aggregation p75 --group-by route --order-by value --environment production --since 12h --json
```

### Discover Middleware metrics and dimensions

```sh
vc metrics schema vercel.middleware_invocation --scope number-0 --json
```

