-
Notifications
You must be signed in to change notification settings - Fork 552
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
Support hapi v21 #1383
Comments
Yes, I'd like to help here if possible. This installs the legacy definitely typed package, which overrides my built in types and breaks all sorts of other places in monorepos because those type definitions override the modern builtins. |
Sure, thanks 👍 |
My team is waiting on this. Do you need help @toddtarsi? |
@blumamir @Towerism - Uh oh. I'm sorry, I just saw this was assigned to me. Sometimes my github notifications get a bit overwhelming. I'd be happy to start taking a look tonight. I believe we'll just change the dependency in this file to just drop the types package and bring up hapi to v21, and glue up wherever the types complain. If not me, thats fine. Sorry about that all! |
Azure Monitor tracing for waste-tracking-gateway Added Application Insights tracing to _waste-tracking-gateway_ via [OpenTelemetry](https://opentelemetry.io/). - Downgraded Hapi from v21 to v20 because unfortunately instrumentation is [not yet provided for v21](open-telemetry/opentelemetry-js-contrib#1383). If this becomes a problem, we can forgo the Hapi layer and rely on just HTTP instrumentation. - Traces will be written to console in development. - Setting `APPINSIGHTS_CONNECTION_STRING` emits traces to Azure Monitor. - This required an additional _tracing.js_ entry point as instrumentation must be loaded first.
hapi instrumentation has [support for version range '>=17 <21', as fixed in #1382
The package released a new major version 21.0.0 at 11/07/2022, and we should update the instrumentation accordingly:
supported version for patch
README
unit tests
test-all-versions (currently missing).
Relevant renovate PR, with the output errors of trying to bump the instrumentation version to 22: #1280
Looks like v21 now publishes it's own types and they are not compatible with previous versions of hapi. Not sure how to handle this in instrumentation
The text was updated successfully, but these errors were encountered: