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
| Entity | What it shows |
|---|---|
| Endpoint | response time, throughput and error rate — for example, a spike in 5xx responses after a release |
| Trace | the path of a single request across services and the slowest segment — for example, an 800 ms database query within a 900 ms overall response |
| Errors | unhandled exceptions grouped by stack trace: how many times each has occurred and when it first appeared |
| User | user 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- New Relic — Improve your app performance with APMdocs.newrelic.com/docs/apm/new-relic-apm/getting-started/introduction-apm/(opens in a new tab)
- Elastic APM — Application performance monitoring (APM)elastic.co/docs/solutions/observability/apm(opens in a new tab)
- Microsoft Learn — Application Insights overviewlearn.microsoft.com/en-us/azure/azure-monitor/app/app-insights-overview(opens in a new tab)
Verified 9 Nov