Setting Up Datadog APM with the Java Agent: Tracing Without Code Changes
Attach the Datadog Java Agent with -javaagent, configure unified service tags and sampling, add custom spans with @Trace, and verify traces end to end in the Trace Explorer.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Attach the Datadog Java Agent with -javaagent, configure unified service tags and sampling, add custom spans with @Trace, and verify traces end to end in the Trace Explorer.
Learn how Datadog’s Metric Anomaly Detection can replace hard‑coded thresholds, with a step‑by‑step guide, an API example, and trade‑offs to consider.
Step‑by‑step guide to define a latency‑based SLO, set up automatic error‑budget tracking, and verify burn‑rate alerts in Datadog.
Learn how to enable Datadog APM distributed tracing for microservices, verify traces appear in the UI, and manage sampling and overhead trade‑offs.
Learn how to turn application error logs into a Datadog log‑based metric using pipelines, with a concrete Python example, verification steps, and key limitations.
Traces appear for some services but distributed traces are broken. Use this diagnostic guide to check sampling, service names, agent health and intake connectivity in Datadog APM for microservices.
Sampling rate controls how many transactions Datadog traces, directly affecting APM costs and your ability to spot rare bugs. This post walks through a practical engineering decision: adjusting the rate at runtime, verifying the change, and avoiding common blind spots.
Add Datadog tracing to a Spring Boot microservice with the Datadog OpenTelemetry exporter. The blog walks through a minimal example, environment setup, verification steps, and trade‑offs for a low‑overhead, end‑to‑end tracing solution.
When some requests produce traces and others don’t, or downstream spans disappear, follow these ordered checks to pinpoint tracer‑Agent connectivity, sampling, retention filters, or propagation issues.