Skip to content

feat: Update hapi to v8.0.0-rc.1 #28

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 6 commits into from
Jun 17, 2024
Merged

feat: Update hapi to v8.0.0-rc.1 #28

merged 6 commits into from
Jun 17, 2024

Conversation

s1gr1d
Copy link
Member

@s1gr1d s1gr1d commented May 6, 2024

No description provided.

@s1gr1d s1gr1d changed the title feat: Update hapi to v8.0.0-beta.5 feat: Update hapi to v8.0.0-beta.6 May 6, 2024
@@ -13,7 +13,7 @@
"sample_rate": "1",
"sampled": "true",
"trace_id": "[[ID2]]",
"transaction": "/test-error"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

v7 does not include the http method

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, this is def. better in v8! 🚀

Comment on lines +364 to +365
"method": "GET",
"url": "http://localhost:3030/test-error"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is missing in all v7 files.

@@ -13,7 +13,7 @@
"sample_rate": "1",
"sampled": "true",
"trace_id": "[[ID2]]",
"transaction": "/test-param-error/{param}"
"transaction": "GET /test-param-error/1337"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

v8 is not parametrized

Copy link
Member Author

@s1gr1d s1gr1d May 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

getsentry/sentry-javascript#11906 This should probably fix that @mydea

Comment on lines +95 to +96
"op": "http.server",
"origin": "auto.http.otel.http",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

op and origin are different

@s1gr1d s1gr1d requested review from mydea and Lms24 May 6, 2024 08:09
@s1gr1d s1gr1d self-assigned this May 6, 2024
@s1gr1d s1gr1d requested a review from lforst May 6, 2024 08:10
Copy link
Member

@mydea mydea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is def. much better 🚀

@s1gr1d s1gr1d changed the title feat: Update hapi to v8.0.0-beta.6 feat: Update hapi to v8.0.0-rc.1 May 7, 2024
@@ -13,7 +13,7 @@
"sample_rate": "1",
"sampled": "true",
"trace_id": "[[ID2]]",
"transaction": "/test-param-error/{param}"
"transaction": "GET /test-param-error/1337"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The error event does not get parameterized in rc.1. @mydea

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm that is... not ideal! Could you look into this? Also cc @Lms24 (when you're back from vacation) as you worked on these things before - ideally we can figure this out before v8 stable goes out, but other than this should not block us either!

@s1gr1d s1gr1d merged commit 3a3e6f5 into main Jun 17, 2024
@s1gr1d s1gr1d deleted the sig/hapi-v8 branch June 17, 2024 11:40
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.

2 participants