American Family Insurance names 1,100 Java services in traces
American Family Insurance fixed a monitoring blind spot on about 200 shared servers, where hundreds of Java apps showed up in traces under two generic names. After tagging each process and adding exclusion rules, the company now sees more than 1,100 correctly named services, according to the Datadog write-up. The post gives no speed or error-rate figures.
Problem: American Family Insurance runs hundreds of Java applications on about 200 shared servers, each as a separate JBoss instance. After automatic tracing was switched on for more than 1,100 apps, traces landed under two generic names, jboss-modules and root-servlet. Only about 300 apps were split out. The tracer also attached to unrelated tools on the same hosts and caused errors and incidents.
What they built: process tags read each app's partition and JVM name from its command line and matched them to the internal inventory. Generated config files mapped each pair to a service name, pushed by Python scripts to one or two servers at a time. Rules then excluded the third-party tools, moving from a deny list toward an allow list.
Result: named services rose from two generic names to more than 1,100, which the author says closely matches the real app count. Errors from the third-party tools stopped. The post gives no latency or error-rate figures. Datadog published the write-up, authored by an American Family engineer.
Lesson: work out whether the confusion comes from several apps in one process or from identical-looking processes, prefer allow lists to deny lists, and roll out in small batches.
New to this? The key idea
A trace is the step-by-step record of one request moving through your software. If every app carries the same label, the record is useless, like a delivery log where every parcel is signed for by 'staff'.
Use it at work
Copy this: 1) Find where traces collapse under generic names. 2) Pull a unique identifier from each process's command line. 3) Match it to your inventory and generate the naming config by script. 4) Roll out one or two hosts at a time and check each batch. 5) Add per-process rules so tracing only attaches to the runtimes you want.
Watch out: a deny list only covers conflicts you already know. Switching tracing off entirely stopped the incidents but removed coverage across the whole Java estate, so targeted rules were the better fallback. The splitting-by-tags fix only handles several contexts in one process.
Summaries are written by AI from the linked source. Always check the original.