惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
U
Unit 42
GbyAI
GbyAI
M
MIT News - Artificial intelligence
美团技术团队
罗磊的独立博客
雷峰网
雷峰网
量子位
博客园 - 【当耐特】
Last Week in AI
Last Week in AI
D
Docker
小众软件
小众软件
S
SegmentFault 最新的问题
Blog — PlanetScale
Blog — PlanetScale
阮一峰的网络日志
阮一峰的网络日志
宝玉的分享
宝玉的分享
T
Tailwind CSS Blog
WordPress大学
WordPress大学
V
V2EX
博客园_首页
腾讯CDC
The Cloudflare Blog
A
About on SuperTechFans
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC

Datadog | The Monitor blog

Introducing our open source AI-native SAST Instrument and monitor Boomi integration flows with OpenTelemetry and Datadog Not all index scans are equal: How we cut query latency by over 99% Platform engineering metrics: What to measure and what to ignore Integrate Recorded Future threat intelligence with Datadog Cloud SIEM CI/CD security: threat modeling using a MITRE-style threat matrix CI/CD security: How to secure your GitHub ecosystem Ingress NGINX is EOL: A practical guide for migrating to Kubernetes Gateway API Operating agentic AI with Amazon Bedrock AgentCore and Datadog LLM Observability: Lessons from NTT DATA Introducing the Datadog Code Security MCP Capture and analyze custom heatmaps in Session Replay Understand session replays faster with AI summaries and smart chapters Monitor ClickHouse query performance with Datadog Database Monitoring How we designed empathetic alert sounds for on-call engineers Search and act across Datadog to resolve issues faster with Bits Assistant Measure the business impact of every product change with Datadog Experiments Analyzing round trip query latency Configuring JavaScript caches for better performance Introducing Bits AI Dev Agent for Code Security Datadog achieves ISO 42001 certification for responsible AI Monitor Nutanix clusters, hosts, and VMs with Datadog Monitor Juniper Mist in Datadog A new Host Map for modern infrastructure Annotate traces to improve LLM quality with Datadog LLM Observability What’s new in Cloud SIEM: AI-powered investigations, enhanced threat intelligence, and scalable security operations Explore Kubernetes with native OpenTelemetry data Monitor Oracle Fusion Cloud Applications with Datadog Announcing the Datadog Terraform provider v4.0.0 Scaling Kubernetes workloads on custom metrics How to design cloud environments for AI-powered threat analysis
Enable end-to-end visibility into your Java apps with a s...
Sarjeel Yusuf, Stella Ma · 2026-02-26 · via Datadog | The Monitor blog

Achieving end-to-end observability for applications is a top priority for organizations today, but instrumenting for both frontend and backend monitoring can be a significant hurdle. What complicates matters is that the SREs and DevOps teams responsible for deploying monitoring tools typically don’t own frontend code or have the context needed to safely modify it. This means that those backend teams need to coordinate with frontend teams to instrument the frontend code, making end-to-end instrumentation a cumbersome process.

To reduce this friction, Datadog now lets teams use a single command to enable both frontend and backend visibility for Java applications. When you install or update the Datadog Agent, you now have the option to enable Real User Monitoring (RUM) along with Application Performance Monitoring (APM). Datadog then automatically instruments Java applications for both APM and RUM, without requiring you to make any code changes or configure the applications directly.

In this post, we’ll cover how you can:

Easily instrument Java applications for both APM and RUM, without frontend changes

For DevOps and SREs teams, one of the biggest barriers to gaining end-to-end visibility into their web applications has been the need to manually modify frontend code. While using single-step instrumentation (SSI) for APM has been possible, engineers can now also automatically add RUM functionality to their servlet-based web applications at the same time. The single step to configure both frontend and backend monitoring is performed when you install or update the Datadog Agent. You simply choose your platform for installing the Agent, enable both APM and RUM, and follow the instructions for running the installation command.

Agent install screen enabling APM and RUM for Java single-step instrumentation.

When you run the command, Datadog’s SSI mechanism automatically loads the Datadog language SDKs into the application processes. The RUM JavaScript snippet is also automatically loaded into HTML responses, capturing page loads, navigations, and user actions. Enabling RUM through SSI is currently available via the Java SDK on servlet-based app servers such as Tomcat, Jetty, WildFly, and WebLogic.

Then, after you restart the application, Datadog immediately starts discovering backend services through APM, capturing traces that provide visibility into how your services are performing and forming a service map based on production traffic. In parallel, with RUM configured, you can also see frontend user session data, such as page views, user actions, errors, and performance metrics. These RUM sessions are correlated with backend traces, helping you pinpoint which backend services are impacting real user experiences.

Correlate RUM sessions with APM traces using service map and session details views.

Use advanced configuration to collect user sessions and set APM correlation

Automatically enabling frontend monitoring through SSI sets up basic RUM functionality. You can then configure additional settings through the SDK Configuration page in the Datadog UI, allowing you to update RUM application settings without redeploying your application. For example, you can configure user information (such as email or account ID) to be captured, or configure allowTracingURL to ensure accurate correlation between frontend sessions and backend traces.

RUM SDK configuration showing sampling, privacy, and captured user attributes for correlation.

Troubleshoot issues faster with unified frontend and backend context

RUM and APM are most powerful when used together during incident investigation. RUM shows what real users experience, including slow page loads, errors, and frustration signals. APM, meanwhile, shows what’s happening inside backend services, including latency, errors, and downstream dependencies.

To illustrate how frontend and backend monitoring work better together, let’s suppose that an ecommerce company has used SSI to instrument its web application for APM and RUM. One day, an engineer notices an increase in checkout failures. RUM highlights a spike in page load times and error rates for the checkout page, along with a growing number of impacted user sessions. From one of these sessions, the engineer can then pivot directly into the correlated APM trace for the user action that triggered the issue. The APM trace might reveal that a service downstream of checkout is showing increased latency. In this case, the latency surfaced by APM provides an explanation for the degraded checkout experience users are seeing in the browser. This scenario illustrates how, instead of guessing whether the issue is frontend or backend, the engineer can quickly identify the root cause and then focus remediation efforts where they are needed.

Get started with single step instrumentation for Java

Single-step instrumentation of RUM and APM makes it easier than ever to achieve end-to-end observability for Java servlet applications. By removing the need for frontend code changes and reducing cross-team coordination, teams can easily gain a unified view of user experience and backend performance to remediate issues faster.

To learn more about supported app servers and configuration options, see the Datadog documentation. If you’re new to Datadog, sign up for a 14-day free trial.