Learning Library

← Back to Library

Observability vs APM: Understanding System Context

Key Points

  • Observability ≠ APM: APM lets you debug a single app, while observability gives you an end‑to‑end understanding of the whole system.
  • In the example, App A’s APM only sees slow responses and normal DB latency, missing that a newly deployed “rogue” App B is flooding the database with millions of calls.
  • By deploying sensors everywhere, observability flips the perspective to the database, exposes B’s overload, and enables you to roll back B’s change to restore A’s performance.
  • As architectures grow into dozens or thousands of microservices sharing resources, that system‑wide context becomes essential for reliably diagnosing and fixing issues.

Full Transcript

# Observability vs APM: Understanding System Context **Source:** [https://www.youtube.com/watch?v=dXohgVATzDc](https://www.youtube.com/watch?v=dXohgVATzDc) **Duration:** 00:04:22 ## Summary - Observability ≠ APM: APM lets you debug a single app, while observability gives you an end‑to‑end understanding of the whole system. - In the example, App A’s APM only sees slow responses and normal DB latency, missing that a newly deployed “rogue” App B is flooding the database with millions of calls. - By deploying sensors everywhere, observability flips the perspective to the database, exposes B’s overload, and enables you to roll back B’s change to restore A’s performance. - As architectures grow into dozens or thousands of microservices sharing resources, that system‑wide context becomes essential for reliably diagnosing and fixing issues. ## Sections - [00:00:00](https://www.youtube.com/watch?v=dXohgVATzDc&t=0s) **APM vs Observability Explained** - The speaker contrasts APM’s debugging focus with observability’s broader understanding by showing how a “rogue” application B overloads shared database resources, highlighting why observability—not just APM—is needed to grasp system-wide impact. - [00:03:06](https://www.youtube.com/watch?v=dXohgVATzDc&t=186s) **Observability Essential for Microservices** - The speaker stresses that transitioning from monolithic apps to large, distributed microservice environments requires pervasive observability sensors to comprehend inter‑service interactions and maintain high‑performance applications. ## Full Transcript
0:01You might have heard about application performance monitoring, or APM. 0:04And you might have also heard about observability. 0:08And you may have heard that observability is an evolution of APM. But observability is not a new name for APM, or even an evolution of APM. 0:17And the reason is APM delivers debugging of applications, whereas observability delivers an understanding of applications. 0:25Let me explain. 0:27Let's use a real world example that happens more often than people realize. 0:31We're going to take an application, we'll call it A. 0:35And A interacts with a couple of backend systems, and interacts with the database, 0:40and interacts with the messaging system, and it interacts with the transaction system. 0:49And A has an APM agent that sits inside its code and monitors not just what's happening here, 0:56but also the response times of all the backend system calls that go out of A. 1:01We're going to introduce a second application now, we're going to magically call it application B. 1:08And application B also interacts with the same database that A does. 1:15And somewhere along the way, a new version of B is released, 1:18and instead of calling 10 database requests per second, he's going to start making 10 million database calls every second. 1:29Now, that's not going to kill the database, but it's going to make it hard for the database to keep up with everybody's requests at the same time. 1:37And so we're going to call B now a "rogue" application because B is misbehaving. 1:43And actually B is causing problems for A's users because they're starting to see slowdowns in their requests through application A. 1:55But the APM code here in A doesn't know about B. 1:59All it knows is that it has response times to the three systems. 2:04And in reality, in this situation, it's going to see good response time back from the database server. 2:10It's just saying take a long time for the data to catch up and get to the end user. 2:15In order to really understand what's going on here, you have to have context and understanding of the entire system. 2:22And that's where observability comes in. 2:24Because instead of having an agent sitting in A's code, 2:27instead, observability is going to put a sensor everywhere that is needed, in all the systems throughout the environment. 2:37And by flipping the context from A's perspective to the databases perspective, 2:43you're going to be able to see that the database is being mismanaged by calls from B. 2:49And now you can actually push the problem back to B, see that there was a change, and get a rollback in the change. 2:55So you solved A's user problems by rolling back B's code. 3:00And that's what observability really gives you, is this idea of context throughout the entire system. 3:06And that's the power of understanding. 3:09But wait, there's more. 3:10Because if you think about two applications or two services and one shared resource, 3:17as you move into more distributed microservices architectures and deal with dozens or hundreds or even thousands of services, 3:29all tied together, interacting with each other in very different ways, 3:34the only way to understand what's going on inside all of those is to have an observability sensor everywhere it is. 3:45So as you move from monolithic applications to more microservices architectures, 3:50the idea is you're responsible for all the pieces of your code, but also in understanding how they all work together. 3:57And also in understanding how all of your code works together with everyone else's code 4:03and all the other systems that are part of the application environment. 4:08And that's delivering the understanding needed to deliver high-performance applications. 4:12And that's why you need observability. 4:15Thanks for watching. 4:17Please remember to like this video and subscribe to this channel so we can continue to bring you content that matters to you.