Skip to content

Add wallclock TaskBlock profiler support#11544

Draft
kaahos wants to merge 3 commits into
masterfrom
paul.fournillon/wallclock-taskblock
Draft

Add wallclock TaskBlock profiler support#11544
kaahos wants to merge 3 commits into
masterfrom
paul.fournillon/wallclock-taskblock

Conversation

@kaahos
Copy link
Copy Markdown

@kaahos kaahos commented Jun 3, 2026

What Does This Do

Add support for wall-clock TaskBlock events, including span-context attribution and native event recording for blocking intervals such as Object.wait and synchronized contention.

Motivation

Make blocking time visible as structured datadog.TaskBlock events instead of relying only on sampled wall-clock frames. It allows to reduce signal emissions.

Additional Notes

Foundation for follow-up LockSupport and Thread.sleep TaskBlock instrumentation.

Contributor Checklist

  • Format the title according to the contribution guidelines
  • Assign the type: and (comp: or inst:) labels in addition to any other useful labels
  • Avoid using close, fix, or any linking keywords when referencing an issue
    Use solves instead, and assign the PR milestone to the issue
  • Update the CODEOWNERS file on source file addition, migration, or deletion
  • Update public documentation with any new configuration flags or behaviors
  • Add your completed PR to the merge queue by commenting /merge. You can also:
    • Customize the commit message associated with the merge with /merge --commit-message "..."
    • Remove your PR from the merge queue with /merge -c
    • Skip all merge queue checks with /merge -f --reason "reason"; please use this judiciously, as some checks do not run at the PR-level
    • Get more information in this doc

Jira ticket: [PROJ-IDENT]

@datadog-datadog-prod-us1-2

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant