Skip to content
BENIBIX Learn

Application Performance Monitoring (APM)

Infrastructure📈 Monitoring & ObservabilityMonitoring Basics

Also known as APM, APM Tool, APM Agent

Tools that watch an app from the inside and show where requests get slow.

Think of it like

Think of it like a doctor's scan. It shows which part inside is hurting.

Example

Jack's checkout page takes 4 seconds. His APM tool shows that 3.5 of those seconds go on one database query, so he knows what to fix.

Why it matters

Knowing a page is slow is not enough. APM shows which step is slow, which turns a guess into a fix.

Definition

Application performance monitoring watches an app from the inside while it runs. A small agent added to the app times each request, and each step within it, such as a database query. It shows which requests are slow and where the time goes. It also counts errors and links them to the code that caused them. Most of these tools today are built on traces, metrics and logs.
The agent at the bottom left sits inside the app. It times every step and shows where the time goes.

Common mistake

Turning on every detail for every request. The agent then slows the app it is meant to watch, and the bill grows.

Key takeaways

  1. 1
    An inside view. An agent runs within the app.
  2. 2
    Where time goes. Each step of a request is timed.
  3. 3
    Errors with context. Linked to the code that failed.