Skip to content

Conversation

@cleverchuk
Copy link
Contributor

Tl;dr: Set sw.transaction with new Span API

Context:

Leverage the new ExtendedSpanProcessor to mutate span before it's ended. This API provides a cleaner way to set sw.transaction on OTel spans though it's still experimental. Refactored code to remove codes that are now redundant. Also made changes in the test because some stuff don't make sense anymore and added additional test to verify that the Lambda custom transaction name setting works with the new api.

Test Plan:
Test services data 0, 1, 2 and 3

…an before it's ended. refactor the test because some stuff don't make sense anymore.
@cleverchuk cleverchuk requested a review from a team as a code owner September 30, 2024 15:06
@swi-jared
Copy link

For posterity, should anyone be unaware of the context of these changes:

@cleverchuk cleverchuk merged commit 2aa7bee into main Sep 30, 2024
@cleverchuk cleverchuk deleted the cc/NH-91749 branch September 30, 2024 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants