Skip to content

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

Merged
AbhiPrasad merged 1 commit intodevelopfrom
onur/hapi-error-plugin-patch
May 29, 2024
Merged

fix(node): Do not manually finish / update root Hapi spans.#12287
AbhiPrasad merged 1 commit intodevelopfrom
onur/hapi-error-plugin-patch

Conversation

@onurtemizkan
Copy link
Copy Markdown
Contributor

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
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