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
The plugin does not load successfully because there is a missing index.ts:
PluginLoader#load: trying to load @grpc/grpc-js@1.1.3
PluginLoader#load: could not load plugin @opentelemetry/plugin-grpc-js of module @grpc/grpc-js. Error: Cannot find module '~/grpc/examples/node/node_modules/@opentelemetry/plugin-grpc-js/build/src/index.js'. Please verify that the package.json has a valid "main" entry
What version of OpenTelemetry are you using?
0.9.0
What version of Node are you using?
v14.4.0
What did you do?
Modified the example here to use grpc-js and added a tracer similar to the grpc example tracer.
What did you expect to see?
Grpc requests should be traced.
What did you see instead?
The plugin does not load successfully because there is a missing index.ts:
Additional context
The
package.json
has the following main entry:opentelemetry-js/packages/opentelemetry-plugin-grpc-js/package.json
Lines 1 to 6 in ab62a4d
but there isn't a corresponding index.ts file at that location. An index file likely needs to be created
The text was updated successfully, but these errors were encountered: