Skip to content

feat: Propagate tracing info#1619

Merged
javier-aliaga merged 8 commits intodapr:masterfrom
javier-aliaga:workflow-tracing
Feb 23, 2026
Merged

feat: Propagate tracing info#1619
javier-aliaga merged 8 commits intodapr:masterfrom
javier-aliaga:workflow-tracing

Conversation

@javier-aliaga
Copy link
Contributor

@javier-aliaga javier-aliaga commented Jan 13, 2026

Description

Part of dapr/dapr#9189

This pr contains:

  • Propagation the traceinformation from the dapr -> durable-task -> workflow activities
  • Durable task refactor to simplify durable task workers
  • Populate traceparent info in the activity context

Test repo: https://github.com/javier-aliaga/dapr-java-samples

Version 1.16.0

In previous version the trace information was not propagated to the workflow application

imagen imagen

Version 1.17.0

New version propagates the trace information and also populate the activity context with the traceparent

imagen imagen

Issue reference

We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.

Please reference the issue this PR will close: #[issue number]

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

@javier-aliaga javier-aliaga force-pushed the workflow-tracing branch 3 times, most recently from 3ab4c5f to 768aa2e Compare January 16, 2026 08:52
@javier-aliaga javier-aliaga changed the title wip: tracing feat: Propagate tracing info Jan 16, 2026
@javier-aliaga javier-aliaga force-pushed the workflow-tracing branch 2 times, most recently from 0dfea77 to bc579e3 Compare January 16, 2026 12:14
@javier-aliaga javier-aliaga marked this pull request as ready for review January 16, 2026 12:41
@javier-aliaga javier-aliaga requested review from a team as code owners January 16, 2026 12:41
@cicoyle cicoyle added this to the v1.17 milestone Jan 16, 2026
Signed-off-by: Javier Aliaga <javier@diagrid.io>
Signed-off-by: Javier Aliaga <javier@diagrid.io>
Signed-off-by: Javier Aliaga <javier@diagrid.io>
Signed-off-by: Javier Aliaga <javier@diagrid.io>
Signed-off-by: Javier Aliaga <javier@diagrid.io>
Copy link
Collaborator

@salaboy salaboy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/LGTM , the only thing that worries me here is about Spring Boot and Otel compatibility .. We need a way to test this at the Spring Boot level, if not we can be breaking traces at that level.

@javier-aliaga javier-aliaga merged commit e46da9a into dapr:master Feb 23, 2026
12 checks passed
github-actions bot pushed a commit that referenced this pull request Feb 23, 2026
* wip: tracing

Signed-off-by: Javier Aliaga <javier@diagrid.io>

* chore: Propagate traceparent to workflow activity

Signed-off-by: Javier Aliaga <javier@diagrid.io>

* chore: Refactor durable task and introduce telemetry

Signed-off-by: Javier Aliaga <javier@diagrid.io>

* chore: Fix bug, return type is required

Signed-off-by: Javier Aliaga <javier@diagrid.io>

* chore: Checkstyle

Signed-off-by: Javier Aliaga <javier@diagrid.io>

---------

Signed-off-by: Javier Aliaga <javier@diagrid.io>
Co-authored-by: salaboy <Salaboy@gmail.com>
(cherry picked from commit e46da9a)
@codecov
Copy link

codecov bot commented Feb 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.48%. Comparing base (834b6b3) to head (b54700f).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #1619   +/-   ##
=========================================
  Coverage     79.47%   79.48%           
- Complexity     2190     2191    +1     
=========================================
  Files           237      237           
  Lines          6574     6575    +1     
  Branches        729      729           
=========================================
+ Hits           5225     5226    +1     
  Misses          994      994           
  Partials        355      355           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

dapr-bot pushed a commit that referenced this pull request Feb 23, 2026
* wip: tracing



* chore: Propagate traceparent to workflow activity



* chore: Refactor durable task and introduce telemetry



* chore: Fix bug, return type is required



* chore: Checkstyle



---------



(cherry picked from commit e46da9a)

Signed-off-by: Javier Aliaga <javier@diagrid.io>
Co-authored-by: Javier Aliaga <javier@diagrid.io>
Co-authored-by: salaboy <Salaboy@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants