You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a simple hapi server based on the example that only throws errors.
I made a few requests to it's endpoints, one throws a normal error, and the other using boom.
the server can be found here: https://github.com/CptSchnitz/instrumented-hapi-with-errors
What did you expect to see?
I expected to see the route span with its status set on error.
What did you see instead?
the route span is missing.
Additional context
I would happy to work on fixing this once you confirm its an actual bug.
The text was updated successfully, but these errors were encountered:
I started working on the issue and I got a question about implementation.
Hapi uses errors thrown by Boom to set status codes.
Do I need to set the span status to error (according to the HTTP semantic convention) and record the exception, or if the error is created by boom I shouldn't record the exception?
Do I need to set the span status to error (according to the HTTP semantic convention) and record the exception, or if the error is created by boom I shouldn't record the exception?
What version of OpenTelemetry are you using?
api - 1.0.1
core - 0.23.0
contrib - 0.23.0
What version of Node are you using?
v12.20.0
What did you do?
I created a simple hapi server based on the example that only throws errors.
I made a few requests to it's endpoints, one throws a normal error, and the other using boom.
the server can be found here:
https://github.com/CptSchnitz/instrumented-hapi-with-errors
What did you expect to see?
I expected to see the route span with its status set on error.
What did you see instead?
the route span is missing.
Additional context
I would happy to work on fixing this once you confirm its an actual bug.
The text was updated successfully, but these errors were encountered: