getsentry / sentry-javascript

Official Sentry SDKs for JavaScript
https://sentry.io
MIT License
7.88k stars 1.55k forks source link

Supportability of the Hapi Framework Integration #9344

Closed Angelodaniel closed 9 months ago

Angelodaniel commented 11 months ago

Problem Statement

We are using Hapi as framework in our backends. From what I understand there is no official plugin for integrating Hapi with Sentry (on the same level as there is for Express compatible frameworks).

I want to be able to have a distributed trace between my frontends and backend that is using Hapi which is not supported right now.

The main goal is to be able to identify problems that occur in the backends and also to be able to track any related problems in the frontends to the corresponding backend problem.

Solution Brainstorm

It could be possible to have this with the help of the node-opentelemetry for hapi -> https://www.npmjs.com/package/@opentelemetry/instrumentation-hapi

┆Issue is synchronized with this Jira Improvement by Unito

mydea commented 11 months ago

We can add this to node-experimental (soon to be node-opentelemetry), via a new Hapi integration that wraps @opentelemetry/instrumentation-hapi similar to the other integrations we have there. this should give you tracing OOTB.

AbhiPrasad commented 9 months ago

Support released with https://github.com/getsentry/sentry-javascript/releases/tag/7.89.0