Skip to content

fix(node): Do not manually finish / update root Hapi spans. #12287

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

Merged
merged 1 commit into from
May 29, 2024

Conversation

onurtemizkan
Copy link
Collaborator

Resolves: #12260

We're currently attempting to manually update the Hapi route transaction status, followed by .end() call.

Looking at @opentelemetry/instrumentation-hapis code, it looks like that is already covered by the underlying instrumentation.

This PR removes that, also extends tests to make sure the error events and the transactions are linked properly.

@onurtemizkan onurtemizkan force-pushed the onur/hapi-error-plugin-patch branch from b348a62 to 00dea2a Compare May 29, 2024 17:11
@AbhiPrasad AbhiPrasad changed the title ref(node): Do not manually finish / update root Hapi spans. fix(node): Do not manually finish / update root Hapi spans. May 29, 2024
@AbhiPrasad AbhiPrasad merged commit 730c794 into develop May 29, 2024
93 checks passed
@AbhiPrasad AbhiPrasad deleted the onur/hapi-error-plugin-patch branch May 29, 2024 21:25
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.

Investigate Hapi span warnings
2 participants