Skip to content

[load-generator] Split trace grouping based on workflow context - #2321

Merged
julianocosta89 merged 3 commits into
open-telemetry:mainfrom
ps48:load-gen-trace-split
Jul 1, 2025
Merged

[load-generator] Split trace grouping based on workflow context#2321
julianocosta89 merged 3 commits into
open-telemetry:mainfrom
ps48:load-gen-trace-split

Conversation

@ps48

@ps48 ps48 commented Jun 30, 2025

Copy link
Copy Markdown
Contributor

Changes

This PR: #2265 introduced trace context in logs. The PR resulted in user_add_to_cart (and any internal spans) inheriting the same trace context as the top-level span user_checkout_multi. Over time, all tasks executed by the user session are part of one large trace. This can lead to trace explosion or even semantics being lost.

This is a follow up fix based on comment: #2265 (comment)

Related issue: #2250

Before:
458812112-ab76a376-4e2b-4518-835c-340c86ace88c

After:
Screenshot 2025-06-30 at 10 18 12 AM

Merge Requirements

For new features contributions, please make sure you have completed the following
essential items:

  • CHANGELOG.md updated to document new feature additions
  • Appropriate documentation updates in the docs
  • Appropriate Helm chart updates in the helm-charts

Maintainers will not merge until the above have been completed. If you're unsure
which docs need to be changed ping the
@open-telemetry/demo-approvers.

ps48 added 2 commits June 30, 2025 17:24
Signed-off-by: Shenoy Pratik <pshenoy36@gmail.com>
Signed-off-by: Shenoy Pratik <pshenoy36@gmail.com>
@ps48
ps48 marked this pull request as ready for review June 30, 2025 17:40
@ps48
ps48 requested a review from a team as a code owner June 30, 2025 17:40
@julianocosta89

Copy link
Copy Markdown
Member

Thx @ps48 !

@julianocosta89
julianocosta89 merged commit a647741 into open-telemetry:main Jul 1, 2025
rnjn pushed a commit to base-14/opentelemetry-demo that referenced this pull request Jul 28, 2025
…-telemetry#2321)

* [load-genrator] Split trace grouping based on workflow context

Signed-off-by: Shenoy Pratik <pshenoy36@gmail.com>

* update changelog

Signed-off-by: Shenoy Pratik <pshenoy36@gmail.com>

---------

Signed-off-by: Shenoy Pratik <pshenoy36@gmail.com>
Co-authored-by: Juliano Costa <julianocosta89@outlook.com>
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