pulumi/changelog
bors[bot] 6d2cbcbf81
Merge #13278
13278: [sdk/nodejs] Add explicit dependency on @opentelemetry/instrumentation r=justinvp a=justinvp

The Node.js SDK makes use of ``@opentelemetry/instrumentation`` directly in 2a69c25241/sdk/nodejs/cmd/run/tracing.ts (L24), but it is not specified as an explicit dependency in `package.json` -- we're relying on the indirect dependency from ``@opentelemetry/instrumentation-grpc`.`

This can break monorepo setups using npm workspaces. If there is another version of ``@opentelemtry/instrumentation`,` it is not hoisted for use by the Pulumi program, resulting in pulumi crashing with `error: Error: Cannot find module '`@opentelemetry/instrumentation'`.`

This change fixes this by explicitly declaring the version of ``@opentelemetry/instrumentation`` the SDK needs in `package.json`.

Fixes #13104

Co-authored-by: Justin Van Patten <jvp@justinvp.com>
2023-07-11 10:45:41 +00:00
..
pending Merge #13278 2023-07-11 10:45:41 +00:00
config.yaml Reorder scopes to be alphabetically ordered. 2022-11-10 16:54:37 -05:00