Goal
Find out how fast and how healthy a project is, and what to change to improve it.Prerequisites
- A deployed project. Any member of the project can read the page.
Workflow
1
Open the project and choose Metrics.
2
Read the live strip at the top for the state of each service right now.
3
Read What to improve for the changes worth making, ranked.
4
Scroll to Memory, Speed or any other section for the charts behind a finding.
5
Use the range control to switch between live, 1 hour, 24 hours and 7 days.
Sections, in order
- Live strip: each service with its state in plain words, such as Running, Crashing, out of memory, or Restarted after a crash. Live numbers are at most 5 seconds old.
- What to improve: ranked findings with the fix. See What to improve.
- Speed: how fast routes answer, by route, copy, country and device, with slow requests, cold starts and delivery checks.
- Page load: a speed test for phone and desktop, and optional real-visitor timings.
- Memory: live and over time, per service and per copy.
- Processor: cores used, and how much of the time the processor limit held the service back.
- Disk and network: volume use and how many days until it is full, disk waiting, and data in and out.
- Database: slow queries and database findings for the project’s managed databases.
App memory and file cache
The headline memory number is app memory. It is what your code is holding, and it is what gets an app stopped when it reaches the limit. File cache is shown separately. Linux keeps recently read files in memory to make reads faster. It is released automatically when needed, so a full cache is not a problem and never triggers a memory alert. A live tile reads like this: 312 MB of 512 MB app memory, 48 MB cache.Charts and markers
- The memory chart stacks app memory and cache and draws the limit as a line.
- Markers show deploys, restarts, out-of-memory kills and size changes. A jump right after a deploy marker points at that release.
- A service with more than one copy has a chart per copy, so one bad copy stands out.
- History is kept 7 days on every plan, even where logs are kept for less, so slow climbs are visible.
Expected result
You know whether the project is healthy, which service is the problem, and the next step.
Related guides
What to improve
A ranked list of findings for the project. Each says what is wrong, shows the evidence, says what fixing it is worth and gives the steps.
Restarts and alerts
StackShift restarts a service that stops and tells you when it runs out of memory or keeps crashing. Nothing fails quietly.
Change memory
Pick a memory size for a service. StackShift marks the size that fits what it measured and shows the price difference.