feat: hapi 17 tracing support#710
Conversation
092bb6b to
4ad8993
Compare
1ccaba2 to
96d9e80
Compare
Codecov Report
@@ Coverage Diff @@
## master #710 +/- ##
=========================================
- Coverage 90.78% 90.68% -0.1%
=========================================
Files 29 29
Lines 1486 1492 +6
Branches 293 294 +1
=========================================
+ Hits 1349 1353 +4
- Misses 57 59 +2
Partials 80 80
Continue to review full report at Codecov.
|
| type Hapi16Module = typeof hapi_16; | ||
| type Hapi17RequestExecutePrivate = { | ||
| (this: hapi_17.Request): Promise<void>; | ||
| [ORIGINAL]?: Hapi17RequestExecutePrivate; |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| { | ||
| versions: '8 - 16', | ||
| patch(hapi, api) { | ||
| function createMiddleware(): hapi_16.ServerExtRequestHandler { |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
This is great @kjin - any idea when this would become a version we'd be able to pull down and use? |
This PR adds support for tracing Hapi 17.
GCLOUD_TRACE_NEW_CONTEXTmust be set.Fixes #601