Skip to content

Conversation

@Ferenc-
Copy link
Member

@Ferenc- Ferenc- commented Mar 4, 2022

  • Propagate X-INSTANA-L
  • Only return spans if X-INSTANA-L==0
  • Only propagate span_id and trace_id if X-INSTANA-L!=0

@Ferenc- Ferenc- requested a review from andrewslotin March 4, 2022 09:50
Copy link

@andrewslotin andrewslotin left a comment

Choose a reason for hiding this comment

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

Overall LGTM, however I've put some suggestions to make the changes less error-prone

@Ferenc- Ferenc- force-pushed the feat/X-INSTANA-L_0 branch from 4eb77a0 to 3fc6182 Compare March 5, 2022 16:02
Copy link

@andrewslotin andrewslotin left a comment

Choose a reason for hiding this comment

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

LGTM! As a suggestion I believe it might be a good time to refactor the way we populate carrier fields in HTTP propagator to reduce duplication. You might also consider using a boolean value to store the context.level for readability.

@Ferenc- Ferenc- force-pushed the feat/X-INSTANA-L_0 branch 2 times, most recently from 3c80508 to 24b3a00 Compare March 7, 2022 16:27
@Ferenc- Ferenc- force-pushed the feat/X-INSTANA-L_0 branch 2 times, most recently from 34c0d38 to d1a735a Compare March 8, 2022 10:37
Ferenc- added 2 commits March 8, 2022 12:48
* As stated in the changelog here:
  https://github.com/getsentry/responses/releases/tag/0.18.0
  0.18.0 Removed internal `_matches` attribute of RequestsMock object.
  Which has been used by our UT TCs, so before we refactor that
  we need to pin the last known working version.
@Ferenc- Ferenc- requested a review from andrewslotin March 8, 2022 16:11
Copy link

@andrewslotin andrewslotin left a comment

Choose a reason for hiding this comment

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

Overall LGTM.

For skipping tracestate update in suppression mode

Co-authored-by: Andrey Slotin <andrey.slotin@instana.com>
@Ferenc- Ferenc- merged commit 0118318 into master Mar 9, 2022
@Ferenc- Ferenc- deleted the feat/X-INSTANA-L_0 branch March 9, 2022 16:02
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.

3 participants