Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link TaskGroups to Spans #7869

Merged
merged 3 commits into from
May 31, 2023
Merged

Link TaskGroups to Spans #7869

merged 3 commits into from
May 31, 2023

Conversation

crusaderky
Copy link
Collaborator

@crusaderky crusaderky commented May 30, 2023

@crusaderky crusaderky self-assigned this May 30, 2023
@github-actions
Copy link
Contributor

Unit Test Results

See test report for an extended history of previous test failures. This is useful for diagnosing flaky tests.

       20 files  ±    0         20 suites  ±0   12h 4m 7s ⏱️ + 46m 44s
  3 653 tests +  10    3 544 ✔️ +10     108 💤 ±0  1 ±0 
35 320 runs  +100  33 555 ✔️ +99  1 764 💤 +1  1 ±0 

For more details on these failures, see this check.

Results for commit 6a54542. ± Comparison against base commit 3286d2f.

@crusaderky crusaderky marked this pull request as ready for review May 31, 2023 12:03
@crusaderky crusaderky requested a review from fjetter as a code owner May 31, 2023 12:03
@crusaderky crusaderky requested review from hendrikmakait and removed request for fjetter May 31, 2023 12:03
@crusaderky crusaderky changed the title Link TaskGroups to Span Link TaskGroups to Spans May 31, 2023
Copy link
Member

@hendrikmakait hendrikmakait left a comment

Choose a reason for hiding this comment

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

Thanks, @crusaderky!

distributed/spans.py Outdated Show resolved Hide resolved
distributed/spans.py Outdated Show resolved Hide resolved
@@ -1063,6 +1063,12 @@ class TaskGroup:
#: Cumulative duration of all completed actions, by action
all_durations: defaultdict[str, float]

#: Span ID (see distributed.spans).
#: It is possible to end up in situation where different tasks of the same TaskGroup
Copy link
Member

Choose a reason for hiding this comment

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

Conceptually, I feel like this shouldn't occur. I hope that we can avoid this scenario (or task groups altogether) with dask-expr in the future.

crusaderky and others added 2 commits May 31, 2023 13:54
Co-authored-by: Hendrik Makait <hendrik@makait.com>
Co-authored-by: Hendrik Makait <hendrik@makait.com>
@crusaderky crusaderky merged commit bdc5177 into dask:main May 31, 2023
@crusaderky crusaderky deleted the spans_taskgroups branch May 31, 2023 14:00
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.

2 participants