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

feat: Added segment synthesizer and provided ability to convert http client otel spans to external http trace segments #2745

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

bizob2828
Copy link
Member

Description

This PR adds new keys to the rules.json(for now) to identity which type of segment should be created. I didn't enumerate all the types just yet. The intention is this will be called on the onEnterSpan section of the otel tracer. Maybe we bind the relevant timeslice metric recorder but for now that's for a different story(#2654)

Related Issues

Closes #2648

…client otel spans to external http trace segments
@bizob2828 bizob2828 force-pushed the otel-http-client-span-to-segment branch from c18d106 to e81adc9 Compare November 15, 2024 16:33
Copy link

codecov bot commented Nov 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.93%. Comparing base (8b082c7) to head (e81adc9).
Report is 1 commits behind head on next.

❗ There is a different number of reports uploaded between BASE (8b082c7) and HEAD (e81adc9). Click for more details.

HEAD has 2 uploads less than BASE
Flag BASE (8b082c7) HEAD (e81adc9)
integration-tests-cjs-20.x 1 0
unit-tests-20.x 1 0
Additional details and impacted files
@@            Coverage Diff             @@
##             next    #2745      +/-   ##
==========================================
- Coverage   97.30%   88.93%   -8.38%     
==========================================
  Files         296      294       -2     
  Lines       46662    46486     -176     
==========================================
- Hits        45404    41341    -4063     
- Misses       1258     5145    +3887     
Flag Coverage Δ
integration-tests-cjs-18.x 74.30% <ø> (+0.01%) ⬆️
integration-tests-cjs-20.x ?
integration-tests-cjs-22.x 74.33% <ø> (?)
integration-tests-esm-18.x 49.86% <ø> (ø)
integration-tests-esm-20.x 49.87% <ø> (ø)
integration-tests-esm-22.x 49.89% <ø> (ø)
unit-tests-20.x ?
versioned-tests-18.x 79.11% <ø> (ø)
versioned-tests-20.x 79.12% <ø> (ø)
versioned-tests-22.x 79.13% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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


🚨 Try these New Features:

Copy link
Contributor

@jsumners-nr jsumners-nr left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@bizob2828 bizob2828 merged commit b591e32 into next Nov 18, 2024
47 of 48 checks passed
@bizob2828 bizob2828 deleted the otel-http-client-span-to-segment branch November 18, 2024 17:59
bizob2828 added a commit that referenced this pull request Nov 19, 2024
…client otel spans to external http trace segments (#2745)
bizob2828 added a commit that referenced this pull request Nov 19, 2024
…client otel spans to external http trace segments (#2745)
bizob2828 added a commit that referenced this pull request Dec 4, 2024
…client otel spans to external http trace segments (#2745)
bizob2828 added a commit that referenced this pull request Dec 5, 2024
…client otel spans to external http trace segments (#2745)
bizob2828 added a commit that referenced this pull request Dec 9, 2024
…client otel spans to external http trace segments (#2745)
bizob2828 added a commit that referenced this pull request Dec 12, 2024
…client otel spans to external http trace segments (#2745)
bizob2828 added a commit that referenced this pull request Dec 13, 2024
…client otel spans to external http trace segments (#2745)
bizob2828 added a commit that referenced this pull request Dec 16, 2024
…client otel spans to external http trace segments (#2745)
bizob2828 added a commit that referenced this pull request Dec 19, 2024
…client otel spans to external http trace segments (#2745)
bizob2828 added a commit that referenced this pull request Jan 13, 2025
…client otel spans to external http trace segments (#2745)
bizob2828 added a commit that referenced this pull request Jan 14, 2025
…client otel spans to external http trace segments (#2745)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants