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

NH-91749: use the new extended span processor #267

Merged
merged 1 commit into from
Sep 30, 2024
Merged

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
13 checks passed
@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.

2 participants