Catalogue / datadog-2023-java-wallclock-profiler

Datadog's Java wallclock profiler samples a fixed number of traced threads to bound overhead and explain request latency

Datadog, 2023. Java wallclock profiler in Datadog's continuous profiling product.

Organisation
Datadog
Evidence
Reported from production
Source
Understanding Request Latency with Profiling

Richard Startin's Blog (the author's personal blog), published 2023-09-05

Records

Decision#d1

Use a fork of async-profiler in place of JFR's execution sampler for Java profiling

Decision#d2

Reservoir-sample a fixed number of threads at a constant interval for wallclock profiling

Decision#d3

Sample only threads that carry an active trace context

Sign in to read what was chosen, what was rejected and what it cost, each with its place in the source. An account is free. The job-queue cards are open without one.