# 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.

## Image Optimization

### Query image transformations by source image

```sh
vc metrics vercel.image_transformation.count --scope hammadulhassan2620-gmailcoms-projects --project heal-vista-hospital-system-react-node-express-sqlserver-app-client --group-by sourceImagePathname --environment production --since 12h --json
```

### Query optimized image size by source image

```sh
vc metrics vercel.image_transformation.optimized_size_bytes --scope hammadulhassan2620-gmailcoms-projects --project heal-vista-hospital-system-react-node-express-sqlserver-app-client --aggregation sum --group-by sourceImagePathname --order-by value --environment production --since 12h --json
```

### Query P75 transformation duration by format

```sh
vc metrics vercel.image_transformation.request_duration_ms --scope hammadulhassan2620-gmailcoms-projects --project heal-vista-hospital-system-react-node-express-sqlserver-app-client --aggregation p75 --group-by optimizedFormatMimeType --order-by value --environment production --since 12h --json
```

### Discover Image Optimization metrics and dimensions

```sh
vc metrics schema vercel.image_transformation --scope hammadulhassan2620-gmailcoms-projects --json
```

