# 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 michael-hinrichs-projects --project spore-creatures-extract --group-by middlewareAction --environment production --since 12h --json
```

### Query P75 middleware duration by route

```sh
vc metrics vercel.middleware_invocation.request_duration_ms --scope michael-hinrichs-projects --project spore-creatures-extract --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 michael-hinrichs-projects --json
```

