# Metrics

> The charts of an app: CPU, memory, replicas, requests, response time, connections and network, from the last hour to 15 days back, and how far each plan reaches.

Open **Metrics** on the app's page. Pick how far back to look in the menu at the top right: the last hour, 6 hours, 12 hours, 24 hours, 3 days, 7 days or 15 days. The page refreshes every minute.

## How far back you can look

| Plan | Days of metrics |
| --- | --- |
| Hobby | 3 |
| Pro | 7 |
| Business | 15 |

The trial has the days of Hobby. A range further back than your plan reaches is shown with a lock and the plan that has it. 15 days is the longest for every plan: older numbers are not kept.

## The charts

Each chart shows its highest value in the period at the top right. A dot under a chart marks a deployment that went live, with its commit when you point at it. A gap in a line means nothing was measured then, for example while the app was asleep.

| Chart | What it shows |
| --- | --- |
| Resources | CPU and memory as a share of the [size](https://arrangic.com/docs/scaling.md#instance-size), averaged over the replicas running at that moment |
| Replicas running | How many replicas ran. See [Sleep and wake](https://arrangic.com/docs/sleep-and-wake.md) |
| Requests | Responses per second, by status: 2xx, 3xx, 4xx and 5xx |
| Response time | How long requests took. Half were faster than p50, 95 of 100 faster than p95, 99 of 100 faster than p99 |
| Connections | New connections per second, and how often a replica was near or at its limit of [requests at the same time](https://arrangic.com/docs/requests.md#requests-at-the-same-time) |
| Network | Data in and out of each replica, in KB a second |
| CPU and Memory, per replica | Each replica on its own line, memory against the size's limit |
| Cron job runs | Runs started and the ones that failed, when the app has [cron jobs](https://arrangic.com/docs/cron-jobs.md) |

Replicas are numbered in the order the platform lists them. A new deployment starts new replicas, so Replica 1 after a deployment is not the same machine as before it.

## Reading them

- **CPU near 100% for long:** the app needs more processor. Choose a larger size, or more replicas, under **Settings**, **Scaling**.
- **Memory close to the limit line:** the app may run out of memory and be stopped. See [Logs and crashes](https://arrangic.com/docs/logs.md#when-the-app-crashes).
- **"Limit reached" above zero:** every replica was full and requests waited. Raise the replicas or the requests at the same time. See [Scaling](https://arrangic.com/docs/scaling.md).
- **5xx above zero:** your app answered with errors. The [runtime log](https://arrangic.com/docs/logs.md#runtime-log) says why.

The overview of the app shows CPU, memory, requests and response time for the last 24 hours; **All metrics** there opens this page.

---

This page on the site: https://arrangic.com/docs/metrics  
All pages of the documentation: https://arrangic.com/llms.txt
