Dependency mapping is the practice of finding out which applications, services and infrastructure components rely on each other, and recording those relationships as a dependency map. In IT operations, a dependency map shows what calls what at run time, so that when something fails you can see what it will take down with it and what could have caused it.
This page is about infrastructure and application dependencies in operations: servers, containers, databases, queues, networks, and the services that run on them. It is not about building a CMDB, about software package dependencies in a build, or about task dependencies in project planning.
In short:
- A dependency map answers two questions during an incident: what does this failure affect (downstream), and what could have caused it (upstream).
- There are four ways to get a map: declare it, trace it, observe it from live connections, or find it from behavior. They differ most in how fast they go out of date.
- Blast radius is everything a failure affects. A cascading failure is one that moves along dependencies and grows as it goes.
- A map shows what is connected. An incident needs more: what is abnormal on the map right now, and in what order it started.
- Netdata gives you both, as two separate things: maps built from live connections with no instrumentation, and dependencies found from behavior during an incident.
What is a dependency map?
A dependency map is a graph. The nodes are components: applications, processes, containers, databases, hosts, network devices, external APIs. The edges are relationships: A calls B, A runs on B, A reaches B through C.
Teams use the map for three jobs:
- Incident response. Find the cause of a failure and the extent of its impact.
- Change management. Before changing or restarting a component, see what depends on it.
- Understanding. Learn a system you did not build.
This page stays with the first job, because it is the one where a wrong map costs the most.
What types of dependencies are there?
| Type | What it means | Example |
|---|---|---|
| Horizontal (service to service) | One application calls another at the same level | The API calls the payment service, which calls a bank gateway |
| Vertical (stack) | A component runs on the layers below it | A service runs in a container, on a node, on a hypervisor, on storage |
| Infrastructure | Shared platform services everything needs | DNS, load balancers, identity, time, the network path |
| External | Components outside your control | A cloud API, a payment provider, a SaaS queue |
| Shared resource | Components that compete for the same thing, with no call between them | Two tenants on one disk, a batch job and a database on one host |
The last row matters most in incidents. Shared resources are dependencies that no call graph contains, and they are behind a large share of the failures that surprise people.
What kinds of dependency maps are there, and how are they built?
There are four ways to produce a map. Most teams end up with a mix.
| Kind of map | Where it comes from | What it needs | Where it goes wrong |
|---|---|---|---|
| Declared | People, a service catalog, a CMDB, infrastructure-as-code | Someone to write it and keep it current | It describes the system as designed. It is out of date after the next change, and it never contained the dependencies nobody knew about |
| Traced | Distributed tracing: spans show which service called which | Instrumentation in every service, and context propagated through every hop | It covers only instrumented code paths. Databases, queues, legacy and third-party systems appear only as the far end of a call |
| Observed from connections | Live network connections seen on each host, or flow records from the network | An agent on the hosts, or flow export on the network | Only when connections are not attributed: then the map stops at IP addresses and ports. With the owning process on each end, it is a process-to-process map |
| Found from behavior | Components that become abnormal together, and the order in which they do | Anomaly detection on every metric, at high resolution | Only when few metrics are scored, or at low resolution: then the order is lost. With every metric scored per second, it is always current and includes the dependencies nobody documented |
The first three are maps of structure. The fourth is a map of what an incident did. They answer different questions, and they should not be confused.
How do you build a dependency map?
The usual sequence is: discover the components, collect their relationships, attribute each relationship to an owner (a process, a service, a team), visualize, validate with the people who run the system, and repeat. The last step is the problem. A map that needs a project to build needs a project to maintain, and systems change every day.
So the practical question is less “how do we build the map” and more “how does the map stay true without us”. That favors the methods that read reality: live connections and behavior.
Dependency map, service map, topology map, CMDB: what is the difference?
| Term | What it shows | Typical source |
|---|---|---|
| Application dependency map | Which processes, containers and services talk to each other | Live connections, or traces |
| Service map | Services and the calls between them, with rates, errors and latency | Distributed traces |
| Network topology map | Devices, links, and the paths between them, at layer 2 and layer 3 | SNMP, LLDP, CDP, routing protocols |
| CMDB | Configuration items and their declared relationships, for asset and change management | Discovery tools and manual entry |
They overlap, and vendors use the names loosely. For incident work, what matters is whether the map reflects the system as it is running now.
What is blast radius?
Blast radius is the full extent of what a failure affects: the services, nodes, users and business functions that are degraded because of one fault.
The term has three uses. In security it means how far an attacker can reach from one compromised identity or host. In change management it means how much a deployment can break, which is why changes are rolled out to a small share first. In incident response, which is the meaning here, it means how far a failure has spread.
A dependency map gives you the potential blast radius: everything downstream of the failing component. That is useful before an incident. During one, you need the actual blast radius, and the two differ. Retries, caches, failover and timeouts mean some downstream services are fine, while components with no edge to the failure on any map are suffering, because they share a disk, a host or a network path with it.
Blast radius is something you measure, not something you draw. Measuring it means answering, from data: how many services and nodes are abnormal, which ones, starting when, and in what order.
What is a cascading failure?
A cascading failure is a failure that moves from one component to the components that depend on it, and gets bigger as it moves. The classic shapes are:
- Retry storms. A slow service makes its callers retry, which makes it slower.
- Resource exhaustion. A slow dependency holds connections open, pools fill, and the caller stops serving requests that never needed that dependency.
- Load shift. One node fails, its traffic moves to the others, and they fail under the extra load.
- Reconnect storms. Many clients are disconnected at once and all reconnect in the same second.
Cascades are hard to investigate because the loudest symptom is far from the cause. By the time the alert fires, ten things are red. The dependency map tells you they are connected. It does not tell you which one was first.
The order does. In a cascade, the components fail in sequence, with small delays between them. The first one to behave abnormally is the lead. But those delays are often seconds, and data collected every 10 to 60 seconds shows all the failures in the same data point. Per-second data keeps the order.
How do you use dependencies during an incident?
A method that works with any kind of map:
- Start at the symptom. The alert, the failing check, the user report. Note the time it started, as exactly as you can.
- Look upstream. List everything the failing component depends on: the services it calls, the stack below it, and what it shares resources with.
- Ask what is abnormal. For each of those, was it behaving differently around the start time? A healthy dependency is not a suspect.
- Order by onset. Among the abnormal ones, which started first? Follow the order back to the earliest.
- Look downstream from the cause. What else depends on it? That is the blast radius to confirm and communicate.
- Check what the map does not show. Anything abnormal in the same seconds that is not connected on the map is a dependency you did not know about.
Steps 3, 4 and 6 are not on any drawn map. They need data: what was abnormal, when, in what order. That is the gap between having a dependency map and finding a root cause.
How does Netdata map dependencies?
Netdata gives you dependencies in two distinct ways. One is a map you can open at any time. The other is evidence that appears when something goes wrong. Neither needs anyone to declare or maintain anything.
Observed connections: maps of the system as it runs
The application dependency map. Netdata maps every TCP and UDP connection of every system it runs on, from one node to 100,000+. It reads the operating system’s live socket tables, so there is no configuration, no instrumentation, no sidecars and no eBPF requirement, and it is enabled by default on Linux, Windows, macOS and FreeBSD.
Each connection is attributed to what owns it: the process and its command line, the user, the container and its image, the Kubernetes pod, namespace and workload, or the systemd unit. Each one carries its direction, its TCP round-trip time and its retransmissions. Across nodes, Netdata joins the two ends, so the map resolves to process-to-process links: an nginx process on one node talking to a postgres process on another, not just two IP addresses.
Because it is read from live connections, it is the system as it runs now. Nobody updates it after a deployment.
Network topology maps. For the network itself, Netdata builds layer 2 and layer 3 topology automatically from what devices report over SNMP: LLDP, CDP, MAC forwarding tables, ARP, spanning tree, BGP and OSPF. Every link carries its evidence and a confidence level, and the map is rebuilt continuously, so you can trace paths, find affected devices and locate endpoints. Netdata also maps vSphere and Cato Networks environments, and when you send OpenTelemetry traces it draws the service map from spans. See the topology viewer and our guide to network topology mapping.
Dependencies found from behavior during an incident
This is the part no drawn map provides.
Netdata trains machine learning models for every metric and stores the anomaly verdict with every sample. During an incident, anomalies appear together across the components a problem touches. Components whose anomalies appear in the same seconds were involved together in that incident, whether or not anyone documented a dependency between them. And because system metrics are collected per second, their onsets show where it started and how it spread.
For any time window, the scoring engine ranks every metric across everything Netdata monitors by how anomalous it was, by how much it changed against the period before, and by what changed together with it. Of millions of metrics, only a few hundred show synchronized anomalies in the same seconds, so Netdata drills down to them instantly, however large the infrastructure is. In the Anomaly Advisor, you highlight the incident and get the ranked list across all affected nodes, with the timing of each: confined to a single node, coincident across nodes, or a possible cascade from one node to others. The readings are simple:
| Pattern in the data | What it suggests |
|---|---|
| Anomalies start on one component, then appear on others with small delays | A cascading dependency. The first component is the lead |
| Anomalies start on many components in the same second | A shared cause: a common dependency, a shared resource or an external event |
| Anomalies stay on one node | A local problem |
This is by design. With Netdata there is no service graph to maintain and then trust during an outage. Netdata reads the dependencies from what the systems actually did, so they are never out of date, and they include the ones nobody knew about: the shared disk, the noisy neighbor, the job that runs on the wrong host.
Other root cause analysis needs traces, service maps, tagging and an accurate dependency graph first. Netdata finds the dependencies from behavior.
The two work together. The behavior tells you which components were involved and in what order. The connection map shows how they talk to each other. Netdata AI starts from the first: one click on an alert, and it receives the few hundred metrics that were anomalous or changed, reasons over them and reports the cause and the impact in about two minutes. More on measuring impact on the blast radius detection page.
What does this look like in a real incident?
This example follows a real production pattern: a traffic spike filled an audit queue that was configured to reboot the system. The components, their number and the order below are illustrative.
Application nodes behind a load balancer start rebooting, one after another. The declared map is no help: the nodes depend on a database, and it is healthy. The connection map confirms what the team knows: all the nodes receive traffic from the same load balancer.
The behavior tells the rest. Ranked by onset:
| Order | What turned anomalous | Where |
|---|---|---|
| 1 | Inbound request rate | The load balancer |
| 2 | Request rate, then the audit queue | The first application node |
| 3 | The node reboots; its traffic moves to the others | The first node, then the pool |
| 4 | Request rate and audit queue, faster this time | The next application node, then the one after it |
A traffic spike filled an audit queue that was configured to reboot the system. Each reboot moved load to the remaining nodes and filled their queues sooner. It is a cascading failure by load shift, and its key dependency, from traffic to the audit subsystem to availability, was on no map. No one draws an edge from “requests per second” to “audit configuration”.
The blast radius was measured, not drawn: these nodes, in this order, starting at this second. The cause is the audit configuration and what it did under load.
Netdata finds the root cause: the application responsible, what it did, and everything it affected. It finds the dependencies from behavior, so there is nothing to draw, tag or maintain, and no stale diagram to trust during an outage. Because the data is per-second, it shows the order in which the anomalies spread: where the cascade started and where it went.
No war rooms arguing over an old diagram. One engineer, one click, the answer in about two minutes, with the evidence on the screen for everyone to check. It works on day one, on one node or 100,000+.
FAQ
What is application dependency mapping?
Application dependency mapping finds which applications and processes communicate with each other and with the infrastructure below them. It can be built from traces, which need instrumented code, or from live network connections, which do not. Netdata builds it from the live connections of every system it runs on.
What is a service dependency map?
A map of services and the calls between them. It is usually derived from distributed traces, so it shows request rates, errors and latency on every edge, for the services that are instrumented.
How do you build a dependency map without instrumenting code?
Observe the connections. Every call between two components is a network connection that the operating system knows about, along with the process that owns it. Reading those connections on every host gives a process-to-process map with no change to the applications.
Do you need a dependency map for root cause analysis?
No, if you have the behavior. A dependency map narrows where to look. Anomalies that appear in the same seconds, ordered by onset, show where the problem is and where it started, including across dependencies that are on no map. With Netdata you get this evidence without preparing a map first.
What do you do when the dependency map is out of date?
Stop trusting it for incidents, and use what the systems did instead: live connections for structure, and co-occurring anomalies for the incident itself. A declared map is still useful for planning and ownership.
What is the difference between blast radius and impact analysis?
Impact analysis usually means predicting, before a change, what could be affected. Blast radius in incident response is what a failure has affected. The first reads the map. The second reads the data.
How do dependency maps help with cascading failures?
They show the paths a failure can travel. To find where a cascade started, add time: the order in which components became abnormal. That needs per-second data, because cascades move in seconds.
How do you start an investigation in Netdata?
With one click on an alert, a question in plain language, a time window highlighted in the Anomalies tab, or a schedule. Teams that want investigations running on their own can talk to us about AI SRE.
See the dependencies your systems actually have
Every other investigation starts with a guess. Netdata starts with the evidence. You can install Netdata in the middle of a crisis and get real-time insights and AI-assisted troubleshooting immediately. Anomaly scores follow after about 15 minutes. Netdata is open source, and a Netdata Cloud trial is all it takes to see your own connection map and run evidence-first root cause analysis on your own incidents. Start a trial, or book a demo.
Related guides: anomaly detection in monitoring, alert and incident triage and runbooks.








