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
{{ message }}
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.
I have added in tracing.js which is called before app.js registerInstrumentations({ tracerProvider: provider, instrumentations: [ getNodeAutoInstrumentations({}), new MySQL2Instrumentation(), new SequelizeInstrumentation({ // see under for available configuration }) ], });
http tracing is working with auto Instrumentation but not SequelizeInstrumentation.
I tried to debug and found this.patchConnectionManager.bind(this) & this.unpatchConnectionManager.bind(this) are not called on any Sequelize sql operation.
The text was updated successfully, but these errors were encountered:
issue was with esm module.
so below line solves issue
"start": "node -r esm --experimental-loader=import-in-the-middle/hook.mjs --require './src/tracing.js' -r esm ./src/app.js",
I have added in tracing.js which is called before app.js
registerInstrumentations({ tracerProvider: provider, instrumentations: [ getNodeAutoInstrumentations({}), new MySQL2Instrumentation(), new SequelizeInstrumentation({ // see under for available configuration }) ], });
http tracing is working with auto Instrumentation but not SequelizeInstrumentation.
I tried to debug and found this.patchConnectionManager.bind(this) & this.unpatchConnectionManager.bind(this) are not called on any Sequelize sql operation.
The text was updated successfully, but these errors were encountered: