Menu
Datadog Blog·December 2, 2026

Scaling Distributed Tracing and Observability Across Hundreds of Java Microservices

American Family Insurance scaled APM across over 1,100 Java applications by adopting Single Step Instrumentation, solving complex service discovery challenges in a large-scale microservices architecture. This case study highlights architectural patterns for centralized observability, zero-code instrumentation trade-offs, and managing telemetry overhead in distributed enterprise environments.

Read original on Datadog Blog

The Challenge of Observability at Scale

In large-scale distributed architectures with hundreds or thousands of microservices, gaining unified visibility into system health, performance bottlenecks, and service dependencies is a critical engineering challenge. American Family Insurance operated over 1,100 Java applications, making manual instrumentation and configuration of APM (Application Performance Monitoring) agents practically infeasible due to the sheer operational overhead and inconsistent deployment practices across teams.

Zero-Code Instrumentation and Service Discovery

To solve this bottleneck, the organization implemented Single Step Instrumentation. This approach decouples telemetry collection from application source code, leveraging container runtime injection and environment-level hooks to automatically attach monitoring agents at startup. This ensures uniform data collection across disparate Java runtimes without requiring developers to modify codebase dependencies or rebuild deployment artifacts.

💡

Architectural Benefit

Zero-code instrumentation eliminates developer friction and ensures 100% compliance with tracing standards across all newly deployed microservices.

Key Trade-offs in Centralized Telemetry

  • Operational Overhead vs. Developer Velocity: Automated injection reduces manual configuration toil but requires robust platform engineering support at the infrastructure layer.
  • Network and Storage Costs: Streaming telemetry data from 1,100+ services increases network bandwidth usage and backend storage requirements, necessitating intelligent sampling strategies.
  • Runtime Overhead: Bytecode manipulation and agent overhead must be carefully monitored to prevent performance degradation on resource-constrained JVM instances.
observabilityapmjavamicroservicesdistributed-tracinginfrastructuremonitoring

Comments

Loading comments...

Want the fundamentals behind stories like this? Take the free System Design Academy course with certificate.