Bookmarks

APM — application performance monitoring

Software that tracks the speed and stability of a running application: response times per endpoint, errors and request traces.

Also: application performance management, application monitoring

checked 9 Nov

All terms

APM answers the question of how an application feels from the user’s perspective: how quickly endpoints respond, how many errors there are and where exactly a request slows down. While the service is running, the tool collects telemetry continuously — and shows not “everything is down” but what has slowed down and by how much.

How an APM system is organised

  • Agent — a small library added to the application or its environment: it automatically instruments the code and collects data on incoming requests, database queries, cache and external service calls, without changes to the code itself.
  • Collector — receives data from agents and SDKs, processes and forwards it if needed; agents and collectors increasingly use the OpenTelemetry standard.
  • Backend and interface — store metrics, traces and errors, build dashboards and service maps, detect anomalies and send alerts.

What APM shows

EntityWhat it shows
Endpointresponse time, throughput and error rate — for example, a spike in 5xx responses after a release
Tracethe path of a single request across services and the slowest segment — for example, an 800 ms database query within a 900 ms overall response
Errorsunhandled exceptions grouped by stack trace: how many times each has occurred and when it first appeared
Useruser experience: the Apdex index, page load times in the browser and mobile app responsiveness

Apdex — a satisfaction index

To condense response time into a single number, APM systems show Apdex. A threshold t is chosen: responses faster than t count as good, from t to 4t — tolerable, slower than 4t — frustrating. The result: (good + 0.5 × tolerable) / all. With a threshold of 500 ms, of 100 requests 60 were within it, 30 — within 2 s, 10 — not: Apdex = (60 + 15) / 100 = 0.75.

APM and observability

APM — a category of tools for application performance; observability — a broader approach: gather enough signals (logs, metrics, traces) to understand the system as a whole. The line is blurred: modern APM systems are built on OpenTelemetry data and cover infrastructure, network and user experience.

Sources

the term is written from these pages

Verified 9 Nov

Not to be confused with

what it is mixed up with and how it differs

  • observability

    Observability — the approach as a whole: gather enough signals to understand the system; APM — a category of tools for application performance.

  • distributed tracing

    Distributed tracing — the technology and source of data; APM uses it alongside metrics and errors in a single interface.

In depth in the references

where the topic is covered in detail