{"_id":"opentelemetry-instrumentation-sequelize","_rev":"68-f8785b18ed85a01205af84cfbf8b9e9d","name":"opentelemetry-instrumentation-sequelize","dist-tags":{"latest":"0.41.0","canary":"0.4.1-aws-import-one-serivce.0","alpha":"0.0.0-2024-05-16--12-47"},"versions":{"0.0.1":{"name":"opentelemetry-instrumentation-sequelize","version":"0.0.1","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"dependencies":{"@opentelemetry/api":"^0.15.0","@opentelemetry/instrumentation":"^0.15.0","@opentelemetry/semantic-conventions":"^0.15.0"},"devDependencies":{"@opentelemetry/node":"^0.15.0","@opentelemetry/tracing":"^0.15.0","@types/mocha":"^8.2.0","expect":"^26.6.2","mocha":"^8.3.0","mysql2":"^2.2.5","pg":"^8.4.2","sequelize":"^5.22.0","ts-node":"^9.1.1","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":"ts-node/register"},"gitHead":"dbf57cd4ea0c9eb5e570c3e8ac194eaaf45d04d4","_id":"opentelemetry-instrumentation-sequelize@0.0.1","_nodeVersion":"12.20.1","_npmVersion":"lerna/3.22.1/node@v12.20.1+x64 (linux)","dist":{"integrity":"sha512-FVW16G13AVe4GlpO/qDwSy0qqQPbNolhUergHprBC9BNIdaoym1VOGnydnhW/GJDJxQ0dCKUzh3PIavsEugGew==","shasum":"8cc91277ce160a3e5ed309f7123fa5bfb94d899f","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.0.1.tgz","fileCount":19,"unpackedSize":70806,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgKUAsCRA9TVsSAnZWagAAC0sP/1xJIDWuJRDEHjPgS4yZ\nwu9Lq5VKemK5br1eqA+G4BZuG7SXSwpQGLGCuxbnwnrju0mYBRJmci9D5+29\n5uL6ggIgKKr7oFrOmHFgJg21NZP2Z0LmHRhEa7ebR7ouHsRv0fEsftVkH40u\n+i4m042HAvxP0Sh3vCbjAB06rBjXJKVyljZoQJdHAqdvFEhCZGkQn+d0RNb4\n/gAnBQfqUL4sa3yki6mf/EwDJfSww1qan2QkSWGDzPDrIgCJZCWCympCw4LX\ntTg/NV7sQ+yGeOzF74yfVOcMro2xxA/wVdRSFosiUeeORRkNrNJEuTpM5w/F\nx6t4DYWsE7M6jqxj5fSSYEhSM50Z7eBBaprHWdnt8qlflcJy+rD71Y0LYo90\nU2jV+4dXpE+Ho24CJHPsDcUBoSa5xprq01szskbrtBevUJg9sxL90rNNkhuw\n6Imv1J7AVBGcBl8IKDGY2MWWd9EO3moyFIzEVHkOm3RBMaKWDOycmJJqQwvi\n6GyFXCqjwSyqIHRIRWfFCWXtshKg1gaeILGDwGyV/IthjIqd4n9DajkNJdam\n/lirRdAlQGO1iv+jHE4TQZgIBxE5yulYKGblbLHHUI2dz/8V9F0Joa6yjOwe\nYkB59e/yBtnM2KCwW3EpTpFQIz+cf992K/lwb/4DPGD46OyLYCDzV98homJ8\ny+uf\r\n=ntOs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHjycx5Te0i901u3W68bYhYRHY7oVLtarPL7eiuo8cOQIgRf+je8VMm7Por2+ZHpXB+nl1vazzZzq0H8F1iU29Ncc="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.0.1_1613316140413_0.7248789592677032"},"_hasShrinkwrap":false},"0.1.0":{"name":"opentelemetry-instrumentation-sequelize","version":"0.1.0","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"dependencies":{"@opentelemetry/api":"^0.16.0","@opentelemetry/instrumentation":"^0.16.0","@opentelemetry/semantic-conventions":"^0.16.0"},"devDependencies":{"@opentelemetry/node":"^0.16.0","@opentelemetry/tracing":"^0.16.0","@types/mocha":"^8.2.0","expect":"^26.6.2","mocha":"^8.3.0","mysql2":"^2.2.5","pg":"^8.4.2","sequelize":"^5.22.0","ts-node":"^9.1.1","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":"ts-node/register"},"gitHead":"d3efe60f70de750b826225c56659bb44be423869","_id":"opentelemetry-instrumentation-sequelize@0.1.0","_nodeVersion":"12.20.1","_npmVersion":"lerna/3.22.1/node@v12.20.1+x64 (linux)","dist":{"integrity":"sha512-bMBYcWpfRJHrIey3zHdpkREgfaqArhnBC4Xkz/CfyCEuuDFPYbtLpTYgm+oAfPGJC9FzeHQpww9pi96YPuazhA==","shasum":"5581a85570561991effc65a17c98cb65629468e6","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.1.0.tgz","fileCount":19,"unpackedSize":71207,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgLkwGCRA9TVsSAnZWagAAkIIP/2qWi6oUciDkwqfpvMd6\nOL2yEP6jKMdZHND8aDp+1YomzxKzwv7QJuer3FFV+GvjJdN1BYMG+X82i/gr\nNPnr6Uyl4ylj/Uss6ax5RLqPkZkK7pG20DVqwVytWNSsAQcrDta40cLClODA\nFluX2SP7HAXuc0tv+PvBi2r81yxzNidrqsKy7Kg+DAm/en0z3Hf+k+xHtDh6\nJPDbzwuW9HwOm7ca3khtTNENh6m1ULcFm6gTDx4JjRBn+z3tUu8o+9SIaAJq\nHEE4137rc0oqlgMFhpwCa792/DheSCgo19V17lcFz1UoR4EHE/k9VI0/35LQ\n9oD4BGd62xUVSbdTrQ/cKCPCXrFridbwHjqR4+8f7AdP3m/MzrDc3tLv7ztf\nu27cfHkT4TjFA4OgdiH0UBgGEw9o4OpVyxqlTyeTwiVgNau36NverojNnGuf\nuGVc5ehnCCX5C1VJ+tR8530buN3Z9THPMDLhoS0FojdM2ka8FA5ajCETwc3p\nb9jFF85IstmUYTyFUqCIrW4oWcmyjYB9cUuAP77zhKC5iH06P4zF/SkNrM7f\nEFu3bolgQI4wBp3ZH/04RGMA1OaRzQbrOcZEh/S7xsSERyRgkpfkxgHOvYBy\ncsMfbOAG8HgVtNLH4yv61aTbFJZ4RbswsSZwyadPd56WoYOQ5VPAEt4DYPtB\nqHa6\r\n=4CEv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEpq5d0GyAdAkOq4TvdhK7eHrqQhYip1L4vSVbbYwoRtAiEAx6D1+1lli5BN/d2VKJ+Mxve0odGk7kSLAyorRPpySS0="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.1.0_1613646854433_0.7597764530384714"},"_hasShrinkwrap":false},"0.2.0":{"name":"opentelemetry-instrumentation-sequelize","version":"0.2.0","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"dependencies":{"@opentelemetry/api":"^0.17.0","@opentelemetry/instrumentation":"^0.17.0","@opentelemetry/semantic-conventions":"^0.17.0"},"devDependencies":{"@opentelemetry/node":"^0.17.0","@opentelemetry/tracing":"^0.17.0","@types/mocha":"^8.2.0","expect":"^26.6.2","mocha":"^8.3.0","mysql2":"^2.2.5","pg":"^8.4.2","sequelize":"^5.22.0","ts-node":"^9.1.1","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":"ts-node/register"},"gitHead":"22453519e8612436f2fe817f5feecfe486e32162","_id":"opentelemetry-instrumentation-sequelize@0.2.0","_nodeVersion":"12.20.1","_npmVersion":"lerna/3.22.1/node@v12.20.1+x64 (linux)","dist":{"integrity":"sha512-fDFmiW4+CnavSMKFMt/FuXFz8P7gvet+qTOTXOFpF5O77kk6TYEI4J9EL1BtHdLPmA/e+yZUNxTIHTgh77ZPlA==","shasum":"7cd6626c95fe6b828ef2fbe207fbd5d6f6c67b81","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.2.0.tgz","fileCount":19,"unpackedSize":71202,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgLoKICRA9TVsSAnZWagAAolcP/jypMvEH9twH7BwrUwLz\nWEizJitW9SwmJn0W3sG6wRwm48rkS4qpFJ/DRiH4Hh8BrB2ssERkyP/b7wt0\nt2r2FzJM/r+OAzLwOBdc3YNAufgmwm2G6FeOhQmYEwy+eMREJjopK73Rr2C0\nHKa56JlLJCFvdlEhjeHuwfK3oiihXC2TxJHQQBqzIlZqE6dySJSFD7nBlBQT\nqrXSVK555ieev9SRf2P7P9jIaTQm4AsoTr/iv5v9hSLIjLDnRr6PjMTQ77T2\nw6mU5BtnvJ3+/VDSUMWxMxa4XkAjmxuGXyjMl6Q4n0K3XiK6FlxkuzQeEzVs\nCXjm1eshbkuKUiwS+Ye/RgYAuZp9/he122pshmHzxHzWw82GyhJfvtgkgv1z\nh195twI43//OBoXaUf8m9YBypoFK3OEU699x8QKrzKdAQYQewWuKJhZoGaGS\nAgGjsJ6YtO6mX4PFdl7rffSsFeVG7gs0Lxwz9bxocZqW6oSV1GsMyOGZeSbJ\n9JAt1ln6r9ntmyy8uvZC88pdbOPA/PlXKoJe3snit6SV+2+f2gQiJvaV7myb\n6R3FMbxwoDHfWL59i2FSK52Rrdj/O4ctUnBqWqFqku4WetHkfUY9G71bo5qD\nbtTpLjDUlF6Ze826/KLWi/aNjiJrz3Xtzls+IXa82zL38QuOxbZ2eMreTByS\nXe/a\r\n=Kosl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD84W1ZNORj+CAKWn3zMBiDZo9ICJU3n9idrOMxJlifIwIgOieqcwJ9I9EXG/q/VsH5bafptWRe3zQncluSlk13ELI="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.2.0_1613660801135_0.11778128517543252"},"_hasShrinkwrap":false},"0.2.1":{"name":"opentelemetry-instrumentation-sequelize","version":"0.2.1","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"dependencies":{"@opentelemetry/api":"^0.17.0","@opentelemetry/instrumentation":"^0.17.0","@opentelemetry/semantic-conventions":"^0.17.0"},"devDependencies":{"@opentelemetry/node":"^0.17.0","@opentelemetry/tracing":"^0.17.0","@types/mocha":"^8.2.0","expect":"^26.6.2","mocha":"^8.3.0","mysql2":"^2.2.5","pg":"^8.4.2","sequelize":"^5.22.0","ts-node":"^9.1.1","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":"ts-node/register"},"gitHead":"0312aa58e73a215a2abba5ae23a08536517b3517","_id":"opentelemetry-instrumentation-sequelize@0.2.1","_nodeVersion":"12.20.2","_npmVersion":"lerna/3.22.1/node@v12.20.2+x64 (linux)","dist":{"integrity":"sha512-xt8FRrTTHQ+5gxWVjOlp0xyC3Twq6UBWLOjWWQSuXePC4I2rFd8ppFmyiCr2qWl9+5nZhORTYeQUHBrjx8Tz1Q==","shasum":"3f1c41d3920f87650329fcb289f4344ae158cd1b","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.2.1.tgz","fileCount":19,"unpackedSize":79952,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPPUxCRA9TVsSAnZWagAATJkP/2zZd3J7XZQteN3/eGc3\nNvGHlomUOzGzEdF+C8CNpn+Iaoa+nEUTbW/1WqkfqKJYA8zB5pTq/uhJC6RC\nMfsDZ7+NOJGYMOFOtagxQ2GWwGtcZcqnGSlCoUxU91XlttnTJZhwqsw1fuQ4\nmDjU9gBxvNj1AMfjum5GlJr/TenFfv0bPTnfat2nsmchyppc8zBnlAnYWTC+\nnTCqLDBA0DlYcQ+3+WvLinSJRezphjkyNwYn/1LmBJ5GtOPS1V9NIc7ckVdv\nh3OaH9nV4cpTdXPbBCttkOoith17lSbs8Fks4/ug8swKtbriBqEf6uHTc9Ck\nI4Hu02MWTbwEEbkt7AvM1oTaN6SK8nxZOJyGr223euayU68IEwHZNnNlTHvV\nOZV53rRdHvyVvwOMI5Ws/71dglXDQVSFJwNEBBIs5y9KnDnR853shd8EagbJ\nmW1RIhi3bZC8nzz0QVuFwAzO0PljcmLzcBSff89qkjYQA/c9evr0qGUJf5C6\n0rS3mgYxGMTx9opk3QhQuIiX+Fsd+cwB4ihor7GBwmnl3SHcQmN8AtvDClx6\n6jCYOMPBWoWLEsiQe4uxNHVuRhKSgKMWerCN9qPC44fJhNqpeNJk9tfcitrq\noD+i59xQpGw9yPDbptXAn0l2LOHlT3k5r7lxF4T1ANtxrk9ktpVq9gEydcHl\n9dL8\r\n=NQje\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIArpokvZB+OEJLhyIiiK6/xQqP8vFEjWBIT0I9wUqkNEAiEAucCC99IduG9t7GDchQhAjuvzXoEbPSugZ7J8CGB9jHQ="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.2.1_1614607664752_0.76520104827415"},"_hasShrinkwrap":false},"0.2.2":{"name":"opentelemetry-instrumentation-sequelize","version":"0.2.2","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"dependencies":{"@opentelemetry/api":"^0.17.0","@opentelemetry/instrumentation":"^0.17.0","@opentelemetry/semantic-conventions":"^0.17.0"},"devDependencies":{"@opentelemetry/node":"^0.17.0","@opentelemetry/tracing":"^0.17.0","@types/mocha":"^8.2.0","expect":"^26.6.2","mocha":"^8.3.0","mysql2":"^2.2.5","pg":"^8.4.2","sequelize":"^5.22.0","ts-node":"^9.1.1","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":"ts-node/register"},"gitHead":"99146cd88aace5c83f8d2034b81d44256ae4ac42","_id":"opentelemetry-instrumentation-sequelize@0.2.2","_nodeVersion":"12.21.0","_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","dist":{"integrity":"sha512-qdYrXywBG2CQOG/oKnkeQvjtcGjxhsF3WC5yNktXQTlMOSynCQCr8oOtoIsj41QoQo05/JOY37tp+lW2RyZHpw==","shasum":"58ac3670f3b232ecde9444d5a331a09a6d5a003e","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.2.2.tgz","fileCount":19,"unpackedSize":80401,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgQN9VCRA9TVsSAnZWagAA6hcP+wREH+RKVpLN9QSRNbul\nzFtsCwgXvFKcBqvx3E3WbHz9gu2nXlNGXOO+4RKXoblPpNTTAzGoUnM1j5NO\ngA1sex7ijzaf/pYjLxfkdZH2UYjXoizlMLqBH8e06sCuOjLj9RxYVpq/sw4C\nNWXI7zHKPOKBmVL95Vq4+QS65/CDXh5W38w9yjzvrGhYESTz09+zmuAwNu2k\nB62PdSVdDyzrKHctvKQC6L44iI3NOoIxrsK3mbWtTCa+r2xdnqlqnEMZII+Y\nQC006sraZnvtulcQCIp2JSOgrKeAu5SFQfbsneT+yTljwX0c+bHPT1Trm5xM\nCrzX+as4P8Tf1EJ41m2tbX8BcZ73utaH82c1WUngECPflQgg3XK4NAvIpE8V\nzQOy2++i0HU3j5SVtPMQ5nhajkSGePwLIgz8IFOeRyK+D3wF/Q+lSov9ageJ\nP3pIZJz81u3nf2k+R8DqMjiuuFejIVcGtZkrl+JhQOenk0LwSiEI3M5i0tS8\n1bYtcacRvFihCT7VD+HgDuftr4q2Ea+za682YQOUlnIuTNdptjJnotjlqUCr\najLZQKPEqAOwR0+UIzzJMGBsyvwI5aoWLPQ0XCNk3K01ivL3juawCoBZoa7+\ntc0vvuWOqt+tlH64uKhl+YGruPeyPAG4x0YX0ZxhPHnLEwnaVZx49w01qLJB\n5M+D\r\n=Iyjz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQNUs0Lpu2iPWtnc19OJdQkhzprBvsdPcqkFlgIS57vwIhAMc+CdIm5j3hMEvu/hGPbNregNLY5AkfhDqZeDtxMbWK"}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.2.2_1614864212862_0.18119283148254972"},"_hasShrinkwrap":false},"0.2.3":{"name":"opentelemetry-instrumentation-sequelize","version":"0.2.3","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"dependencies":{"@opentelemetry/api":"^0.17.0","@opentelemetry/instrumentation":"^0.17.0","@opentelemetry/semantic-conventions":"^0.17.0"},"devDependencies":{"@opentelemetry/node":"^0.17.0","@opentelemetry/tracing":"^0.17.0","@types/mocha":"^8.2.0","expect":"^26.6.2","mocha":"^8.3.0","mysql2":"^2.2.5","pg":"^8.4.2","sequelize":"^5.22.0","ts-node":"^9.1.1","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":"ts-node/register"},"gitHead":"7db144c76afe71c7951fe939f8b073c85e18ce00","_id":"opentelemetry-instrumentation-sequelize@0.2.3","_nodeVersion":"12.21.0","_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","dist":{"integrity":"sha512-hb4d/aLY6Q07QnNzKeMBfLjfpxrEu/kLNs9yLSo9QTC2L+yKFuzOBGvpbVDjCEchf9gEDy+/eubely16ChGYUw==","shasum":"6df2b939595b41668d496bf99b54fc57c7547bf6","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.2.3.tgz","fileCount":19,"unpackedSize":80934,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgTy2+CRA9TVsSAnZWagAAonsP/2Crxtu1MrTVW/AuG1MX\nepBfUcGY5DHt04sbV8lrkN8hiFSL07jNl6C33kHBGKdWLSGewdu3bN/1dB2a\nt2o+yB4EF77LxCbyURlv1rKBJvTO/cBFsEDie4rZdgkj9I8nlLayejGuhYrB\nKexz3LroWWmnL6wTbZuWygX1Xikq/lu8jMr6dus8uE1CqJJh0BGKDQvqOjTw\n7yUZEzaXrNPgINgcTfSuCCpTBGDh12cI0hA8iAiDhF5LU5r9BclgII/NbjSL\n+D/I2F1FXGWx1dW2bSBfqOf+MR84Li4k7gVojPqtbXTvyQG+a5lgnBn7FahA\nj0xRBvh63nZskAtLvRco2zCVyXnOtaUPjgAW0LT1LZdD39auDTwElWn3BHSa\naMgKMhofe+TiUY2xxeCiMLjoKolDwmeIGcrJcDmGYz4m3xCDJtcg8BxfBdnp\n4WphP/VUHw4XrNIu/EMqEk6gSfzFRrjF0HWwRn76XYoPvhwllzXYD4b+9Kye\n79rnVp7KRHEf3VbcYRd3koAAUY3YfLLSL8gn0bFktYYH9yWmdVPf1kBc+dbd\nZL+N0HibxPEmXDlxrS3o1KKNYG42uYxB7U+75hujVb3gORs701ol3A3F6137\nh+ynRb3inCWkP+LVx6Cljt4YJSLtcKzhU9fkH/xhfV1LrDbL2v4CSrCKqRuw\n6lLa\r\n=lvdo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBCSf0rpH0EZhsPPbt2SZrjACR/+O64LxNAW+JaMD3wzAiEA0953K4RmY/fr6TAiTaWzCPMq4FoaQA7qqpBugD9175E="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.2.3_1615801789797_0.3899419340954615"},"_hasShrinkwrap":false},"0.2.4-aws-sdk-v3.0":{"name":"opentelemetry-instrumentation-sequelize","version":"0.2.4-aws-sdk-v3.0","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"dependencies":{"@opentelemetry/api":"^0.17.0","@opentelemetry/instrumentation":"^0.17.0","@opentelemetry/semantic-conventions":"^0.17.0"},"devDependencies":{"@opentelemetry/node":"^0.17.0","@opentelemetry/tracing":"^0.17.0","@types/mocha":"^8.2.0","expect":"^26.6.2","mocha":"^8.3.0","mysql2":"^2.2.5","pg":"^8.4.2","sequelize":"^5.22.0","ts-node":"^9.1.1","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":"ts-node/register"},"gitHead":"b344d60d0514c4e4487a12b86248995c16768a40","readme":"# OpenTelemetry Sequelize Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-sequelize.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-sequelize)\n\nThis module provides automatic instrumentation for [`Sequelize`](https://sequelize.org/).  \n> _Tested and worked on versions v4, v5 and v6 of Sequelize._\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-sequelize\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SequelizeInstrumentation } = require('opentelemetry-instrumentation-sequelize');\n\nconst traceProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    sequelize: { enabled: false, path: 'opentelemetry-plugin-sequelize' }\n  }\n});\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new SequelizeInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### Sequelize Instrumentation Options\n\nSequelize instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `SequelizeResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\n| `ignoreOrphanedSpans` | `boolean` | Set to true if you only want to trace operation which has parent spans |\n| `moduleVersionAttributeName` | `string` | If passed, a span attribute will be added to all spans with key of the provided `moduleVersionAttributeName` and value of the patched module version |\n\n## Semantic Behavior\nInternal implementation queries generated on startup from connection-manager are not instrumented.\n\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-sequelize@0.2.4-aws-sdk-v3.0","_nodeVersion":"12.21.0","_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","dist":{"integrity":"sha512-RPI/l5gEU7z1sQORls13zhaSAFqrjwwNVatBCAbhle3glHqRYX5UlhiiA04dtek7KpTUwKDT0x2mZ5mwZAOeog==","shasum":"eb37c2f8b0a44b58b9836124c13932f3d83c4ff6","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.2.4-aws-sdk-v3.0.tgz","fileCount":19,"unpackedSize":80955,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgUKHeCRA9TVsSAnZWagAAfrcP/RfgUhMkQSYpU+IIzAMt\nbBYIsWlM/NjIse/mzkbTRqafFVD1HeLKNMBEOMwAHuQ+6PJB9ci9WLoTIXAC\nq/msw6Nxnhp9nrUeLdO5HPw08rC7FbkDmhcDG3gM4BC2EuV5JuV0f6PbIV1Z\nKf2govN0nt4eUsSaLFHi0mWmoz7nF7UTVs3WDi0ZP4Lz2IkVlSwxPGSpt3gC\nxWp2qqGgzcefbbADl7i8gU2DSlvJ2zEulmcwn8YqTnZM71wmzsOnC3tSl6iN\nyE/X2A673Akpzv+JYseHHsf1hqx8StZp/5dHCa0HzO1icNDI1rGZ0fY7ZJUt\ndpxHCS+uWWcoLVXSR99zjK2TsvurLZcWBb519Hm6avZrPY2k5DRdbD4TKL5n\nBRVuJdHLAm4MQRyCxUc7dkvt+8UbN8ZbvrdOSROgHZI9rh6WDIcG/hOrXsWK\nLHlN2z2/kkyjckJ7y6TK3pQDCi+APivcIWQm+rGH/4JEdeT7NXUaFHi6dUzQ\nqgESwBNSbLeTskOqdBQ5ZaFDH7R8OccMFNaOjfV8bhSNeSTCknnzhflrc6X/\ng6yhk/Hm3p848DgNI3yVwvw9thDknVB9TeUwtrDfXqkRVUBXOKg7U/O3kA4L\n+aa0UloQy2aHqCpk9udZJmHlFl1Hd6w8xQQUOwvfdvcHjJq+YPzW7IL5XMHm\nr4pj\r\n=+Ihc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+ZBOWgUGTJFPsN3DZB+fIG7yVg2GhFUfLtJ/ZaS7BbAIgTZcW5PFqOuXIgdIeMaJI0Asl3GJ1INZBdUesFmQZ0DA="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.2.4-aws-sdk-v3.0_1615897053440_0.5568746995399472"},"_hasShrinkwrap":false},"0.3.0":{"name":"opentelemetry-instrumentation-sequelize","version":"0.3.0","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"dependencies":{"@opentelemetry/api":"^0.18.0","@opentelemetry/instrumentation":"^0.18.0","@opentelemetry/semantic-conventions":"^0.18.0"},"devDependencies":{"@opentelemetry/node":"^0.18.0","@opentelemetry/tracing":"^0.18.0","@types/mocha":"^8.2.0","expect":"^26.6.2","mocha":"^8.3.0","mysql2":"^2.2.5","pg":"^8.4.2","sequelize":"^5.22.0","ts-node":"^9.1.1","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":"ts-node/register"},"gitHead":"3ba0a68be6bf32167217136346f1e4968a19e11e","_id":"opentelemetry-instrumentation-sequelize@0.3.0","_nodeVersion":"12.21.0","_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","dist":{"integrity":"sha512-MKs+4IAuSI/dFMl4Bz2BLGxEIvW+1MYjpbGi+twhK9vM4LgxFj8sJs2h+UsalmHOKLz6xdgfdK11Ohz+dfb9hw==","shasum":"64dc9a7176c29b027770a6ce8f957e57a9d9a20e","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.3.0.tgz","fileCount":19,"unpackedSize":81465,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgUzFLCRA9TVsSAnZWagAAAhMP/jR3R364bPG+iPcIe744\ncC1RnESv3pBHVP4MBnvTJ9tlLSWr45BqqiFlpkY9vr52Vcly9Fsel9psExAb\nu9/uuGk65d0fTCELSskNRqYWIIgai81iX6gv9yZr/A5fqJjz8gIPRPDYyLNF\nZosUtr6yFhUGesN148/QoLw+NJZKx98iSFqQnFR77dYeose3yO1jfM7fW3bA\nDP6Tb3DV/pIGUTz7ATmTFemfrpuoKUbCW795Lp8ebC3VB3i2b1PW3ubKTffK\nOQkaXbfO+i7Ou4wz0BZtonvXyDkXQOb2SP8HIL60z+/DBwm03oV6coy5Z2Cv\nWvOSJm9tODknYo5hvQeTJyWCkWlUGx0+caIFglTisLicFmYbjzGg/dD5NuL+\nYJmkkzU0j5yV0m01T4TxWC2FJhv54HCTxA8dOGfT3ELkHmo6BpEvHi48YMPU\nntrFcraOsIwaKS4FMisU0ujxot1QYFaKHqvkwtoYPOTDf8qdhFJ1+048aYbx\nf+5g17ZIOYPw605NbDgMvfhgZvqShu0Xk6vNYDWUpWjzf1a4Msl5SffDzRRW\n/NDNssGjd6n7xu7DxwdhD4MPozo1V2ho7kBzw5kDo+l2gQf6dEgvR2+yeSL0\nHV44+xhVUJ2imyUZgr+phamjIjsJI64Rfqln5LJxQdsV2WbG+RmpCMLqww5D\nuK2A\r\n=bAvb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCsDkApozmFLw4PXEmnQeLHZFITG0ho5bPVxa8eIwNRjAIhANZEaQcve9xbQpWJmJRNIEK3G0WBcc68FEVRsCyRacMZ"}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.3.0_1616064843135_0.24507981201701967"},"_hasShrinkwrap":false},"0.3.1-otel-v0.18.1.0":{"name":"opentelemetry-instrumentation-sequelize","version":"0.3.1-otel-v0.18.1.0","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"dependencies":{"@opentelemetry/api":"^1.0.0-rc.0","@opentelemetry/instrumentation":"^0.18.1","@opentelemetry/semantic-conventions":"^0.18.1"},"devDependencies":{"@opentelemetry/node":"^0.18.1","@opentelemetry/tracing":"^0.18.1","@types/mocha":"^8.2.0","expect":"^26.6.2","mocha":"^8.3.0","mysql2":"^2.2.5","pg":"^8.4.2","sequelize":"^5.22.0","ts-node":"^9.1.1","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":"ts-node/register"},"gitHead":"a196240634fd4cea8df6b5af60963bb7933c696d","readme":"# OpenTelemetry Sequelize Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-sequelize.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-sequelize)\n\nThis module provides automatic instrumentation for [`Sequelize`](https://sequelize.org/).  \n> _Tested and worked on versions v4, v5 and v6 of Sequelize._\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-sequelize\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SequelizeInstrumentation } = require('opentelemetry-instrumentation-sequelize');\n\nconst traceProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    sequelize: { enabled: false, path: 'opentelemetry-plugin-sequelize' }\n  }\n});\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new SequelizeInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### Sequelize Instrumentation Options\n\nSequelize instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `SequelizeResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\n| `ignoreOrphanedSpans` | `boolean` | Set to true if you only want to trace operation which has parent spans |\n| `moduleVersionAttributeName` | `string` | If passed, a span attribute will be added to all spans with key of the provided `moduleVersionAttributeName` and value of the patched module version |\n\n## Semantic Behavior\nInternal implementation queries generated on startup from connection-manager are not instrumented.\n\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-sequelize@0.3.1-otel-v0.18.1.0","_nodeVersion":"12.21.0","_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","dist":{"integrity":"sha512-cwBXTQOyAFmcx9upw402QKiX74pybV+SZ9pgQMCzrf/xMsSX0RpvLkgIEI5kEBFIeO7IMqwpo5a79GFgXy59mw==","shasum":"be838156275dd8b756108005664a1d620587f39a","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.3.1-otel-v0.18.1.0.tgz","fileCount":19,"unpackedSize":81492,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgYwR8CRA9TVsSAnZWagAA4AcQAJwOxtmcDV2WDV2wdFLz\n2zlh8XgIoTfJDYsa+j3GWXGEmKtAdET5czwVQBuCcgAnFKbzwCeOpCMcFY2o\nKlxrGxmmHxHoMeAPSQWyPIvMVRx6ptN9+ImUbYMhx6ZVzOglCm9WnvdV0kdD\nytvj9Zu8r/TA6XyKR0UkKi61GLt/i1seeR9hr8uE1RcqWTNCYFXAOHg5je7e\nj6DlBBNNkdbVCnpFtdjzShjApPh58bcDRrytuYKM0CXzpubnCXPtWoeJGTJQ\nMWNCN+QqcUCrKYB1TGcpjwQpKc+YbpvcM4K2/cgbQG26FptnxU5TX3zuRYox\n81b1vRTgyM+wxr0qEGOKH5DvHFwtRZ1SBCCLHqw+j8DBTXVVBY8BR3R68Y0q\nQjTN34Q7541453+63uLox9tGmg0AGTaiqesG0vj0JFpcpiWPWuxOjX+18RuE\nU7bAIIEAaRHrMESTTYoLUFu+DN7ukNbIH3C468Ey3jywK17TyPVmKpdeMD7h\nh20bv+E5jwDs+c+j4VFOUQZiTrMYJlsujfcBzvnu1t6IsviIgCuHDWGNDsKR\njzfiBPFYg1gEHJ/BX8xMjKiYmDBk1OkHCA3cJM/3K4r8BUSvmXkquvpbwi+Z\nieuQCxoy7EVtHbt32WwQeGCv00tAMDJG2O+1pHKUN93hBrxi2/pOVX3KzdqX\nKaM5\r\n=dsR9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDEvSIgWpGCfvm9lFIz6eXsoxuH3XYzOepq+/yh1n5FTgIgeV8DdYFVLe5FcPuV1SJ5nTiZAfNwOZksPQeF2zvu5yU="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.3.1-otel-v0.18.1.0_1617101947623_0.07597841056314225"},"_hasShrinkwrap":false},"0.3.1-otel-v0.19.0.0":{"name":"opentelemetry-instrumentation-sequelize","version":"0.3.1-otel-v0.19.0.0","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"dependencies":{"@opentelemetry/api":"^1.0.0-rc.0","@opentelemetry/instrumentation":"^0.19.0","@opentelemetry/semantic-conventions":"^0.19.0"},"devDependencies":{"@opentelemetry/node":"^0.19.0","@opentelemetry/tracing":"^0.19.0","@types/mocha":"^8.2.0","expect":"^26.6.2","mocha":"^8.3.0","mysql2":"^2.2.5","pg":"^8.4.2","sequelize":"^5.22.0","ts-node":"^9.1.1","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":"ts-node/register"},"gitHead":"62794a132c5369023597e9fc3696a126a07b2473","readme":"# OpenTelemetry Sequelize Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-sequelize.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-sequelize)\n\nThis module provides automatic instrumentation for [`Sequelize`](https://sequelize.org/).  \n> _Tested and worked on versions v4, v5 and v6 of Sequelize._\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-sequelize\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SequelizeInstrumentation } = require('opentelemetry-instrumentation-sequelize');\n\nconst traceProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    sequelize: { enabled: false, path: 'opentelemetry-plugin-sequelize' }\n  }\n});\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new SequelizeInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### Sequelize Instrumentation Options\n\nSequelize instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `SequelizeResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\n| `ignoreOrphanedSpans` | `boolean` | Set to true if you only want to trace operation which has parent spans |\n| `moduleVersionAttributeName` | `string` | If passed, a span attribute will be added to all spans with key of the provided `moduleVersionAttributeName` and value of the patched module version |\n\n## Semantic Behavior\nInternal implementation queries generated on startup from connection-manager are not instrumented.\n\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-sequelize@0.3.1-otel-v0.19.0.0","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-09uBmD2WjP39E+Wk4Vuj/Egmw/x3x1fuDBch0g7aKO5gZ5L3zb78PjoFi1mGRc79BgLuvR4CBI8cA55N//uphw==","shasum":"097f9fc6e6858d3ba2120f176f5f2bcfd70ab6c8","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.3.1-otel-v0.19.0.0.tgz","fileCount":19,"unpackedSize":81564,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiB7PCRA9TVsSAnZWagAAvcAP/2lokEtsH04VRjRPOr8G\nEd1hPq/+h8gPTGsQdvsuD6kGR55H2lX9LiagqxV/fhHn4lLGsMD2Oova7zhI\nk6pcEVjvrU50vzdBkfoMeNSncsAmiZxpPBSMx8hel7DOJRZzpb0tnz1jvYhM\ngwmNa4FPsxRvmYp1KhMZXVA8wKlYB/ILsHrE1WZ3OnOuGqtyVSAfQ7f6r+mN\niKadOyEiEQ4hQc2HBMabScTmSK1qaj160iUDb7omBBnTGpCoHV0LKrk6xhIk\nPYtYkFFn2/1JjwpCT45vDth978br4GevjsifnRPuOaPMUGgfO61nwqEXl+0F\nvSWp3/EdZYr5rruKaXZyiJifvpU8CxXB/nBuhIe48OUN0TXIWz6n8OnqlXXh\np0IbdPaTmRj5HNUjVV6seHpmHMrFJhoDlCNEoeV8MHuDaSdgJpbRAXXCgDz5\n5AD6q9BaYndql3xjBPNw6UxbijvAr9QeKVbwxQEeSjZY84PgLHyMnmHUKCE8\nmbOnyPs2YYvIQfTlEpYpvw/vq+wS5rfV3PRSUtcOMFytISrutZH3JqKvn4BN\nIBo1kwX8xfb+li1Olc8ea3uCS7h8OlgpHRTr3loYSJ1o71GdL/afRrn3Xc3U\n4uNsvYlXrFQyUFNxCI3k50IIbO3AgwtLARpkoh2hCgJfSJy47lZQ0ummcEwm\n6ddK\r\n=+zJH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICHV4pAY5k++CyR7n18fCGnYvUjt0qZgCu69TsT1UkizAiEAvHKY1185e6bLZ/nq+tzj/1ic7QaBAc41zJj5IQY42Lc="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.3.1-otel-v0.19.0.0_1619533518905_0.5550751728368641"},"_hasShrinkwrap":false},"0.4.0":{"name":"opentelemetry-instrumentation-sequelize","version":"0.4.0","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"dependencies":{"@opentelemetry/api":"^1.0.0-rc.0","@opentelemetry/instrumentation":"^0.19.0","@opentelemetry/semantic-conventions":"^0.19.0"},"devDependencies":{"@opentelemetry/node":"^0.19.0","@opentelemetry/tracing":"^0.19.0","@types/mocha":"^8.2.0","expect":"^26.6.2","mocha":"^8.3.0","mysql2":"^2.2.5","pg":"^8.4.2","sequelize":"^5.22.0","ts-node":"^9.1.1","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":"ts-node/register"},"gitHead":"1b74b8921ed523dbae077042585dc4feda0d602b","_id":"opentelemetry-instrumentation-sequelize@0.4.0","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-n6sgUPR+OUwYsZKl44iCHLtoj9NuOF3D2V7PsdGw4b6BxFiRyx6OJOQxRNK+aVZgnOWY1a7zVze5h5gCDJI3VA==","shasum":"83ec9186a10a4772fffa3dadeda03f4beab877e8","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.4.0.tgz","fileCount":19,"unpackedSize":81804,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiQXYCRA9TVsSAnZWagAArccP/3wGfjMNpAivUoRnYvMR\nBlsVPJ0GzxDlDF87VK3oOmRFs5BGXkAOrlimkoJEFu9bfWvVDUsRDR3fNLhu\nm3eH6d39QjG8+0bdF8Z2rPq+lJx688+mroCiyCARZRlYdpe2wzRAQaHfxhU5\nCxywDqxuJRXAist/xq1nDtKhdGynKwmYEGfSC5jNZBJmiSfobOTE8g36+htr\ngFe3EWH90cJXHwPA/AQ10hcFWrXI5tznF+Okxe6l6DUu2R19ReZzYTPRDaQ7\nzQOU9upC7lmO0GHE5yPadvaYpcdrcw37OZgZZA5gBXq74vjtR+VdgH9wEB2l\n9SVaFDrR9AT7Cu28KnjMmkYYH+LA0fUkjjuKeUCHi092353omF8+Zw+grEuN\nKJcdEaJxbSXtS4K0GRyooIbdZG7bwfSgosojZOhOjD/8gtpl2TNfm3nADWQM\nu/sN9STg5P1SBB8+1Vxf4XaHfoLThE33HGyCDBzoPK/h0FelBA9x0Ddjofzv\nBoZ/hnGUU2RF9Ib3DL40nvgOm1i2JpAwYeyMUv3ScEgp+r5iwc5Np/YfRWGz\nr9BAQLbU877NIT1He5iEXU8KtxZzoL7HGmBiiMtbh9JT9OW6jDO9sxFMf4r+\nlbegXCqWmitvCTKEGryNzdFaqXr3X4bxmW0+uKozi/Mqaa/ByuowFeQz2vX1\nic/W\r\n=zHPY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAE7OG2/EZKvQch69XHPpfyoYyR9hW5NH6DNZ4TiO6xEAiEA/nHtADsrsm/ULJzGrR7RNKb1lKhTHkDSn2lLqTxt2Ok="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.4.0_1619592664024_0.1454082534449188"},"_hasShrinkwrap":false},"0.4.1-aws-import-one-serivce.0":{"name":"opentelemetry-instrumentation-sequelize","version":"0.4.1-aws-import-one-serivce.0","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"dependencies":{"@opentelemetry/api":"^1.0.0-rc.0","@opentelemetry/instrumentation":"^0.19.0","@opentelemetry/semantic-conventions":"^0.19.0"},"devDependencies":{"@opentelemetry/node":"^0.19.0","@opentelemetry/tracing":"^0.19.0","@types/mocha":"^8.2.0","expect":"^26.6.2","mocha":"^8.3.0","mysql2":"^2.2.5","pg":"^8.4.2","sequelize":"^5.22.0","ts-node":"^9.1.1","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":"ts-node/register"},"gitHead":"863754d3c18e4293fec89dd79ce086b31cf4ece4","readme":"# OpenTelemetry Sequelize Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-sequelize.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-sequelize)\n\nThis module provides automatic instrumentation for [`Sequelize`](https://sequelize.org/).  \n> _Tested and worked on versions v4, v5 and v6 of Sequelize._\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-sequelize\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SequelizeInstrumentation } = require('opentelemetry-instrumentation-sequelize');\n\nconst traceProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    sequelize: { enabled: false, path: 'opentelemetry-plugin-sequelize' }\n  }\n});\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new SequelizeInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### Sequelize Instrumentation Options\n\nSequelize instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `SequelizeResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\n| `ignoreOrphanedSpans` | `boolean` | Set to true if you only want to trace operation which has parent spans |\n| `moduleVersionAttributeName` | `string` | If passed, a span attribute will be added to all spans with key of the provided `moduleVersionAttributeName` and value of the patched module version |\n\n## Semantic Behavior\nInternal implementation queries generated on startup from connection-manager are not instrumented.\n\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-sequelize@0.4.1-aws-import-one-serivce.0","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-fPq5ALTFQyeAy/wqbwQ0vuSZs5+wGTp29es6n/4LtUAGjxbepUokSOt3ozGbRdpcGQNd9poZdCrowuUvRcnxgw==","shasum":"863c839ee25f85a9a442d1b37974f342e0d8a672","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.4.1-aws-import-one-serivce.0.tgz","fileCount":19,"unpackedSize":81837,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiTNNCRA9TVsSAnZWagAAEAYQAJPFu6ttvW5qLfytXaqt\ngL9+3qvLD2Ztt6g0ce+zfvAezvHOwnhRwueEopxm+2AquIiwNG0cL2dSu61L\nJTgq1c5LdOTFeUZWBb2eWaSgaO80vvE0YtkDtwbrkv2/0+PLxTAHRWWLj1AJ\nqh0nOuhlNDGdnJ7Ub8jR8OJ0drbNe056UIK/bdSgEjs5+STcuv+09E1Jrw4q\nBPzEBijiSiodg0ne0jO2oPuZSBQ7UQ1gVmbDmUJvxrohX+YbCZfHBZhoAgAK\nc7+xvUQrTauaLcC30JRC/w3o9qYHvgrOABb0LhsHBw5yDaErM03ZVp7WYTbX\n628JHwYkXYNF24TD5Pj5Higvbt14/ecXVcwLoWByi21EhSLAhZXY/lLQUIpM\nsn3c/teQUDEVAJNqFU4Cp+QcBDRI7QlM5IdZRa9cQiMdjYeMZtzgH4Lz4jdP\nxaOZHy8Dv06V1zxcqEW86AJosHUDwCBTBzvrXKtGWSBXH1c4UCMXmddsxtSH\nWHrZf7pxeqhn7x3k2tUND1Vi44/zNzB930rQErsnIs0Hku6w1O3TSyExsUy9\nrl5c910NVGRZgRJaVn5m+iIvlRQEfQ5dZdVMXciS0af8w9TvSabsO1sX/G+V\nlQnMZCKjeW7i14JO0GmNXkgnfKtJcdppDrc7zMr+Sy4drYIaKQjzT3+OFZe0\nVZkQ\r\n=ilxZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDHnw+TNYZykw2BF375nao5VYle1Qz6GFtqeZumtYsmPgIgHNI6PfrXi2oa6UiOomctMjX3pOnvAg8BYK6hQc6mHbY="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.4.1-aws-import-one-serivce.0_1619604301209_0.45318775816146983"},"_hasShrinkwrap":false},"0.4.1":{"name":"opentelemetry-instrumentation-sequelize","version":"0.4.1","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"peerDependencies":{"@opentelemetry/api":"1.0.0-rc.0"},"dependencies":{"@opentelemetry/instrumentation":"^0.19.0","@opentelemetry/semantic-conventions":"^0.19.0"},"devDependencies":{"@opentelemetry/api":"1.0.0-rc.0","@opentelemetry/node":"^0.19.0","@opentelemetry/tracing":"^0.19.0","@types/mocha":"^8.2.0","expect":"^26.6.2","mocha":"^8.3.0","mysql2":"^2.2.5","pg":"^8.4.2","sequelize":"^5.22.0","ts-node":"^9.1.1","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":"ts-node/register"},"gitHead":"51bf5256ec5f0e623cef5705be9fa04a8a829b9a","_id":"opentelemetry-instrumentation-sequelize@0.4.1","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-PMGJ3QpiGfaAz/FTK4t+P1if3pTO7w1wJ29OiTT1OviQV5tuWHddsus+wa5MmLfp41QR3TQl8O68KeH6vTQ1sA==","shasum":"7cf918c30526a17e092f5d40f3b6e6074e03e62c","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.4.1.tgz","fileCount":19,"unpackedSize":82143,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgpP35CRA9TVsSAnZWagAAA2MP/1nZTVppQ/yqzaExGlSy\nBQd6+ar094eKG9eGtaXbnvLXoJvwPQ2mK2lbYrXBj++fsNvvj/YeF7ZWUFrj\nwTUz1klxuBTFRH+H+60eJ32NqjZjFwQptccdYSdL7uW7gWaMKRTAp3n0ncer\nRv3tNqPu5HoKRNJCMFqeBUWAlikIOlnX+pZyqNem+b4ROTDJ2kbpuIW7HxGx\naVcxoVM2BvWcQJWDOIlVuvcD7sgaeMtSICQeftgiZ+pMiCsQL1uoY3cC372o\nlGXStB2zg1XmWFYTccUzm2/1rnV5VJGY3rNsr4yi28RgwVCnW8AmSf0Mugw+\nijuqaEGy6ZlgIRp/6aHtxuvfFMy7XbCu10k4EP5hV0e0ydDLCP4cuDW8Liz0\n4B75zMr/XBz51A6VmTaUJJw0a+1dFp4Wk7iLwLm5wetwpitOk2fmLFcSv4/6\nlTXi9kj8G7ktVuyTfgQrQKpXn+LOa8Y+tdoqrBrCMC7jo+KHwhlViV/ynUyl\nj9v1hvvTTUVmIGw5CQ3rDTe5pKAJGQ26/MmY9Zw5NRc8nDb+RPkmdH28XpY7\n/dxcVlLyQNtCJqR5iQj0opgi68dZD3d26jeipURM9X5UQ6OBwRhIOo+Gxciy\nF2NVlxM4kC4ZifMpUvsE9e+ikkpr0lLbh9q6C0o3O7o1PP8x5Gco0LVet/oW\njvVB\r\n=ZV3X\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFsegyljJ/q3gIvaSQRqrv3PzRb/zL1sq9jsnTVNEgXrAiEAj0xBgUr58CsJrJ9by41ZbMpZrImoRmGAByPrlNr6PbQ="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.4.1_1621425656796_0.5464486942133175"},"_hasShrinkwrap":false},"0.4.2":{"name":"opentelemetry-instrumentation-sequelize","version":"0.4.2","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"dependencies":{"@opentelemetry/api":"^1.0.0-rc.0","@opentelemetry/instrumentation":"^0.19.0","@opentelemetry/semantic-conventions":"^0.19.0"},"devDependencies":{"@opentelemetry/node":"^0.19.0","@opentelemetry/tracing":"^0.19.0","@types/mocha":"^8.2.0","expect":"^26.6.2","mocha":"^8.3.0","mysql2":"^2.2.5","pg":"^8.4.2","sequelize":"^5.22.0","ts-node":"^9.1.1","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":"ts-node/register"},"gitHead":"61891435509330061efea9e3ffcdf34b80a584a9","_id":"opentelemetry-instrumentation-sequelize@0.4.2","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-m4zMiSeUJNtspqOCCAxaRcFkQgwute94LuG3YyqgD32SifsaLy6sY+zJIiIfORNaQPhfupSf/V5thW7xMfKFEg==","shasum":"5b293eb7adfd9e46c89a30a2c9e91bdaeb5f6f38","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.4.2.tgz","fileCount":19,"unpackedSize":82332,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgpR4CCRA9TVsSAnZWagAAueQP/jPm5Zdgc8fx6V07JM8a\nMYP0b7BexELlCxAAXNRixWmOz4jjAnu/DQCERkAgOYRZVyycVdlgI7hR6x23\ni8ZOJfnEh7gRpTKXixBJzdeXUtg+W9lD01Z/Qoad6WUgcr1zvH42zomX3UaG\n1PJaObteqNKnH4iutQoBz1OQPNF3CQkZHWf2/iALKRDf7rnAF6DPh38HEKnw\noNFZRM1XmS4xhAzpYSDX8xgkQOHnzctfJsdvuCvMe5Pia2Wpo5Oxpu2uxsEN\n5wn3z7EFWoY0tlniys9Kjkc8zb2ToaypxMF0bS7UIl30bjvs0twJyWT/CBRj\nuBh3Dk7RbDJstQjOmGfzHBKE6avNuEoiUXpzWPZ6NkOXM5dKzuBsBVeAJNG1\nMBOJNa9n8pCs+4eU95AWdOyT2O3bjtPxbbt7vusoyaKlDq1x/zRjscrCnON9\nkz/IyRFPkdWOLWRQJQtY2EoWgg6xEeuk6i/cyojhiysOZqDuxw+QV9Cxf3dm\npvxU+g6N6MC6cqrIWQxs9NmkhnQIX6y3/GCw0vDELvlluUuuQ+BLNdTbwCRP\n6NLj+1BKf05IHwSf6+zzkFRBsqwB/765YawRQ+KSJc1NTYF4tKoP/gPzeBEr\nRQUDwlMaCNkAYUV0GyeLyJO9IiCe8gt+JuZzIXmnBVF53QA0Xq8occ4hYzv8\nY8eh\r\n=fAXx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhB3hJE7/JFx1HMMh5RMkLhQ4X72vjyFDeX2h/H/HuRAIgHhQfyQvMVjs+dJdzo32Pd3seU7UK6pevDGeS0esggm4="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.4.2_1621433858164_0.9236945735961395"},"_hasShrinkwrap":false},"0.0.0-2021-05-25--13-03":{"name":"opentelemetry-instrumentation-sequelize","version":"0.0.0-2021-05-25--13-03","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"dependencies":{"@opentelemetry/api":"^1.0.0-rc.0","@opentelemetry/instrumentation":"^0.19.0","@opentelemetry/semantic-conventions":"^0.19.0"},"devDependencies":{"@opentelemetry/node":"^0.19.0","@opentelemetry/tracing":"^0.19.0","@types/mocha":"^8.2.0","expect":"^26.6.2","mocha":"^8.3.0","mysql2":"^2.2.5","pg":"^8.4.2","sequelize":"^5.22.0","ts-node":"^9.1.1","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":"ts-node/register"},"gitHead":"bd533753ec41cf4673d0393c42ed081d3a4e4f34","readme":"# OpenTelemetry Sequelize Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-sequelize.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-sequelize)\n\nThis module provides automatic instrumentation for [`Sequelize`](https://sequelize.org/).  \n> _Tested and worked on versions v4, v5 and v6 of Sequelize._\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-sequelize\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SequelizeInstrumentation } = require('opentelemetry-instrumentation-sequelize');\n\nconst traceProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    sequelize: { enabled: false, path: 'opentelemetry-plugin-sequelize' }\n  }\n});\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new SequelizeInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### Sequelize Instrumentation Options\n\nSequelize instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `SequelizeResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\n| `ignoreOrphanedSpans` | `boolean` | Set to true if you only want to trace operation which has parent spans |\n| `moduleVersionAttributeName` | `string` | If passed, a span attribute will be added to all spans with key of the provided `moduleVersionAttributeName` and value of the patched module version |\n\n## Semantic Behavior\nInternal implementation queries generated on startup from connection-manager are not instrumented.\n\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-sequelize@0.0.0-2021-05-25--13-03","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-N6tV1OsuRHiVWUmVfCYy2rTBCB5ITN6BL9RVtWzqvlO7vRdght3E8SxcXnu8UyPGqCTcpDw4tHUkPfyVPHpIig==","shasum":"f24a790a2ba961d5c9ba208fcb21b5cf8752634f","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.0.0-2021-05-25--13-03.tgz","fileCount":19,"unpackedSize":81878,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrPXlCRA9TVsSAnZWagAAHLYP/i9fX53CeKExfOqKw0Ix\nkPY+A4J0CvUl2T9IJoEwWn/2/bodu1xgDA3MO5A3jYOX271JPWXRULNq3kiJ\neMcPUyTjO05AUTyxY8Svz+o+3ejRHuN32xvQEszKBJqv6NM8wG/olrNahWOW\ny4JhdkcRy5GXVVCtDPDr2tKYL1djnIYpChSpo8ac0o7xn3u/+8HXlQ7FzHVP\nqCnX8fdt/BM2G6BAAs3SVlLAtbMCcxSP5i2lhEjJP4EzuqeqLfSLMlzEA9uc\neWgO/IBijrmM+xhMzJ1XZfYJ1Oj9OwPLGiArEibj0LEm0hNWSdkJbxwnJ4cX\nXUvatL/dn+X4rpHtqTxIU3LLYJWSJnXEdkca7oKz34l0A23oidghk5YLeCl6\nHA6FDsZzO/eCn9tC9HrjKo9ybbk/fYkrYzOm6TuhJJBz9EDMGFdzEPSTiiqC\nt+CLvFXA72it9tLQFHa+bu8duzLD7hOspwVgziF7F6kiSrraFkWSqn6vCSLr\ng/UK3n2RPcsw4x3UexT3y9DtyBNHpYJiH2MAjCvETS76PoxqKcsCbGY8uZEp\nhksIrhhcPwxp9jbBRY8jxU7VonXzSop5FfnNhp8DZJmjd1VkP0PQh42uLy82\nc9TfmrGuPopi0GZOikt37EwLLFnmD0CDWTJYdeSzZ2YV74XU9NssQijwHEjL\nqCMa\r\n=X6Ji\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGD6qCocJRGSoA6Ak1N2jl03mfyhzX9xz2hW74Q+DJ8lAiEA5uAzOXt8abNGqU2GmfMxnNWeYkZOBoygcXCtHpvivdA="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.0.0-2021-05-25--13-03_1621947876980_0.17710996979631166"},"_hasShrinkwrap":false},"0.0.0-2021-05-26--07-22":{"name":"opentelemetry-instrumentation-sequelize","version":"0.0.0-2021-05-26--07-22","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"dependencies":{"@opentelemetry/api":"^1.0.0-rc.0","@opentelemetry/instrumentation":"^0.19.0","@opentelemetry/semantic-conventions":"^0.19.0"},"devDependencies":{"@opentelemetry/node":"^0.19.0","@opentelemetry/tracing":"^0.19.0","@types/mocha":"^8.2.0","expect":"^26.6.2","mocha":"^8.3.0","mysql2":"^2.2.5","pg":"^8.4.2","sequelize":"^5.22.0","ts-node":"^9.1.1","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":"ts-node/register"},"gitHead":"2b31e4e63d0670d8067ee32ba46ce1979d17a6f8","readme":"# OpenTelemetry Sequelize Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-sequelize.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-sequelize)\n\nThis module provides automatic instrumentation for [`Sequelize`](https://sequelize.org/).  \n> _Tested and worked on versions v4, v5 and v6 of Sequelize._\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-sequelize\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SequelizeInstrumentation } = require('opentelemetry-instrumentation-sequelize');\n\nconst traceProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    sequelize: { enabled: false, path: 'opentelemetry-plugin-sequelize' }\n  }\n});\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new SequelizeInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### Sequelize Instrumentation Options\n\nSequelize instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `SequelizeResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\n| `ignoreOrphanedSpans` | `boolean` | Set to true if you only want to trace operation which has parent spans |\n| `moduleVersionAttributeName` | `string` | If passed, a span attribute will be added to all spans with key of the provided `moduleVersionAttributeName` and value of the patched module version |\n\n## Semantic Behavior\nInternal implementation queries generated on startup from connection-manager are not instrumented.\n\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-sequelize@0.0.0-2021-05-26--07-22","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-iEIgAJbPCc80lpQC+zUBW7OvMEiaIPQjzUxG/r4DMWCJPEE0WxPjLGCSTxcN4uxCt85rFAt411SHACIcaRkZGw==","shasum":"aac5500fb85c7b32bd42544984b8d9de12febf2c","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.0.0-2021-05-26--07-22.tgz","fileCount":19,"unpackedSize":81878,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrfdgCRA9TVsSAnZWagAA+PwP/0+qrXFC9XtUiQHDxWsc\nwiOhKY+8XoFpP4SaWimk8Ig2wbI0Cgn48NocO0KWhnSC3yi7x4awBrvhi/yS\nUgsaKcDMqNfylpOAFJ6jH5mwcbLhB82yQ1RaeOC7IOmi9E/rFd0T4VAyloy0\ndmGBuR9rYaFyMCV5lG2F8Ua/A/++ppPcXCQDa6ElzdmvopIhMixEXZ6bFH82\nAXOWz7+ZDR0GMeLr10rsKbX1gOqrSDwB20egpnIz5qhmCdu8E/v+BVEp7Zc3\nFWCloo8kNrmOkRF9VPExVhCbuNBwkvkEk2OTN+7qFHTBbBAnXV3mssPPv88J\nWayXwXTO3OQxpT2/F/3Yr1/UyfjSCmBeCR9PfG5xkPoWXfC65F5GTQynW20f\nINbKi3o40ns1fbU+91mVTUSObJyyrdVZYDQlgs7Ll3lCVVW3zrKVToSHwX0P\n6Dk7rMpurMQPja9sNDcxTY1GJdAOPGF8ABBRBi5uRwL27Inbo384scQLaYoH\nt1VnBaqdSy5pRT3YJQ4cExBo2Fu6eo99vIiMisOQ1woUWjy6GyJ07J6op3p+\n+VtqR9uEl6Z8EHD4yj+ZSdNARboBgjfwJpEF95h6fclYmHi+UGpGHOjCOURs\nuW3xsk+esh8kHbAnbuiRuC+DOuYq1+gtGDcgyGBGmLOQwltEkbo4yfdnr1a5\niId8\r\n=WGsR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBYdqOqbbPE08MtyONymL/y0LaET/OQ8wb89U8kMOAoBAiEA85FT/E8un55F60+tpIiLZMVxyGXPgO32rJASXZqPx24="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.0.0-2021-05-26--07-22_1622013792480_0.19457106527111412"},"_hasShrinkwrap":false},"0.0.0-2021-05-26--15-12":{"name":"opentelemetry-instrumentation-sequelize","version":"0.0.0-2021-05-26--15-12","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"dependencies":{"@opentelemetry/api":"^1.0.0-rc.0","@opentelemetry/instrumentation":"^0.19.0","@opentelemetry/semantic-conventions":"^0.19.0"},"devDependencies":{"@opentelemetry/node":"^0.19.0","@opentelemetry/tracing":"^0.19.0","@types/mocha":"^8.2.0","expect":"^26.6.2","mocha":"^8.3.0","mysql2":"^2.2.5","pg":"^8.4.2","sequelize":"^5.22.0","ts-node":"^9.1.1","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":"ts-node/register"},"gitHead":"6f64818f1e8c571b9e7341a8f019edb26605ea66","readme":"# OpenTelemetry Sequelize Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-sequelize.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-sequelize)\n\nThis module provides automatic instrumentation for [`Sequelize`](https://sequelize.org/).  \n> _Tested and worked on versions v4, v5 and v6 of Sequelize._\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-sequelize\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SequelizeInstrumentation } = require('opentelemetry-instrumentation-sequelize');\n\nconst traceProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    sequelize: { enabled: false, path: 'opentelemetry-plugin-sequelize' }\n  }\n});\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new SequelizeInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### Sequelize Instrumentation Options\n\nSequelize instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `SequelizeResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\n| `ignoreOrphanedSpans` | `boolean` | Set to true if you only want to trace operation which has parent spans |\n| `moduleVersionAttributeName` | `string` | If passed, a span attribute will be added to all spans with key of the provided `moduleVersionAttributeName` and value of the patched module version |\n\n## Semantic Behavior\nInternal implementation queries generated on startup from connection-manager are not instrumented.\n\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-sequelize@0.0.0-2021-05-26--15-12","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-GFCRJB7FPviBwonoaqhmXfaXMUuz+PhUT4XXKofQ5fn2cxsoA5KuIZ0kOsuGOj7/yeHSOOsHRect4K/N5hgA7g==","shasum":"bd9e5c88b409cc19643ca56cab54441b966ed165","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.0.0-2021-05-26--15-12.tgz","fileCount":19,"unpackedSize":81878,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrmWgCRA9TVsSAnZWagAAliUP/RgiYI80rnAH6HifukOx\n0/uVoq6Wuo6IHnU7cDS5IyYvMUKlhu1S+Em8IOPQz3LuO3HlBpeHnihMTXq8\n5d4aK6/u4hQetRmUatGKfXZrzcbVbaJyEn6Q/nBpiJCjrCLPbnEzB0R7xltE\nKFME2kz+FVBsmAVBZQ0gLW9AKpbYrHIf69nR2CJYXAOTRjcvVIq4E8JySu9p\nhfpqXKgAcaDSgnIX7pdnl4sCCXjGD7xiDg85srgE+bb2wOMtTxjOuaw5oltj\nrb1VMM36NOKeu6GqMzaYyTKWzxnuchk47tr5qDES4ANwi5qsWM6a/koFd/8l\nIY1LpSIN5h5Ro90D146ovUQMV+ooY48BhkiiuVd4unHdtwGEwkXRFqcZHmKc\nHirhqKGKSiYCW/yx9ARIBXn02Lyi5t5VrbaqX8hK0GIZbXP1glPZy4ppfhuB\n+1zkgTaiJaad16YQjP87YAYo8ikmvKiQW1EDCH4CdvTtXbWnUmB0+BikAiJb\n4FvbfBpdY9cTNaoBkU7rr59F4zT49kU3fyEQkWGxlZ6+pZKk5IYUbbqJZHxY\nMc3MyV/siZXpz4d3DuqLY+pe0VYL4Yd0D50joQnHLWCg+TQpZ3J84X1rOvBu\nrerUtI4f/RpKiXvos7G0faYuEfVFKmfcFgsw037XUXSRpsfDc40x+oogOSRX\nS7Nm\r\n=8N1/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDaKL+ev/D3rk0HF5CwsxGopXYr5Nhy1aScarThgGtJAIhAIdPWGJUzUbdhgoFeZxjjDnwHwmZgfygHCndT6pMfOCn"}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.0.0-2021-05-26--15-12_1622042016169_0.25612778196647135"},"_hasShrinkwrap":false},"0.4.3":{"name":"opentelemetry-instrumentation-sequelize","version":"0.4.3","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"dependencies":{"@opentelemetry/api":"^1.0.0-rc.0","@opentelemetry/instrumentation":"^0.19.0","@opentelemetry/semantic-conventions":"^0.19.0"},"devDependencies":{"@opentelemetry/node":"^0.19.0","@opentelemetry/tracing":"^0.19.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","pg":"^8.4.2","sequelize":"^5.22.0","ts-node":"^9.1.1","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":"ts-node/register"},"gitHead":"0ffb67e586f78c6b091b3af5fad8656fde819202","_id":"opentelemetry-instrumentation-sequelize@0.4.3","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-hEw1WWpHDHOWf1YgdjGxMeihnLY09spC59vUJRQCW4BOEiKfvdks/c/sE6YS2mKDzZb1OCslbd7anhbfQODtOw==","shasum":"45791eeba4b4021a0b59adab65a2f6612c684133","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.4.3.tgz","fileCount":19,"unpackedSize":82596,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgtOdvCRA9TVsSAnZWagAAIs8QAJmmqeISQF0gLuwa23jr\nrDbgfNOnmW0XiloRrbFKH9M4k+8KCdbnhge9bXgkaCjETLAOG3pgAOz52mnM\ntS6XTaZeCDl6lU7RIXoQvMbUC3jjsVfyLw2weS8kgYlU9dL7ce8E3gjuZ25a\ntV65a+npCR8RS8+BmgM8P8lQMwVN5bQ6WG2PkLUVcRURe8bN5EUTEMoQhwOg\nM4U4NRvtZ6t498fCkVRVs0t1v72b6xTHhukF+gdcx+SSNsnt/9fP5otVjf0g\nNGnfRopoKm82aPFcz9uMOSG8WzPrH9BrRSdnZMq9Is/Ptmw6loAT8Hakf83X\noiy3f1T/rP6D0v6+TjXh2efnFXRQIuctUBdycBoYn/OupvVgZFIfLAexjW68\n6wqjOBZxa4nCRSiR1LgqseVAlWt06oQvWiw4huAMr5PzRo0kt/bJuKngK9Nx\nn/71J1WCihWZQ6snUsx49OKyqTwXcP6G0bjDJzety3FrqLZky24f/aOay3L0\nhX0n/07kWohR/Zhz1431sPotU1any56KYfheGEOpAMfRLib9xogm4kJEUaJP\n1cQoOvp+B32wA7Sx4dvsGAtNXYIqJNeUp3dX3mSLoEYgwL0zKqO+3pmKHRWX\nvIKG/BGdmyFLHVB1TK9xqZqtPX/zHSBeH44f3CRedR5iaarHz6khKOGjOm/0\nMkYn\r\n=flGv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD218MZf1+p9Q/2hbYgtCb3GNblGIsF4EpMk6flyJ5oBwIhAI0i08wkq9xEjnuWGr6Y/SV+YHjORGRvTO8UGMmdEo7e"}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.4.3_1622468462735_0.7287692998797695"},"_hasShrinkwrap":false},"0.0.0-2021-05-31--14-38":{"name":"opentelemetry-instrumentation-sequelize","version":"0.0.0-2021-05-31--14-38","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"dependencies":{"@opentelemetry/api":"^1.0.0-rc.0","@opentelemetry/instrumentation":"^0.19.0","@opentelemetry/semantic-conventions":"^0.19.0"},"devDependencies":{"@opentelemetry/node":"^0.19.0","@opentelemetry/tracing":"^0.19.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","pg":"^8.4.2","sequelize":"^5.22.0","ts-node":"^9.1.1","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":"ts-node/register"},"gitHead":"bd5bce12191c8173f30d62733cb45d2dc0feb610","readme":"# OpenTelemetry Sequelize Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-sequelize.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-sequelize)\n\nThis module provides automatic instrumentation for [`Sequelize`](https://sequelize.org/).  \n> _Tested and worked on versions v4, v5 and v6 of Sequelize._\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-sequelize\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SequelizeInstrumentation } = require('opentelemetry-instrumentation-sequelize');\n\nconst traceProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    sequelize: { enabled: false, path: 'opentelemetry-plugin-sequelize' }\n  }\n});\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new SequelizeInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### Sequelize Instrumentation Options\n\nSequelize instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `SequelizeResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\n| `ignoreOrphanedSpans` | `boolean` | Set to true if you only want to trace operation which has parent spans |\n| `moduleVersionAttributeName` | `string` | If passed, a span attribute will be added to all spans with key of the provided `moduleVersionAttributeName` and value of the patched module version |\n\n## Semantic Behavior\nInternal implementation queries generated on startup from connection-manager are not instrumented.\n\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-sequelize@0.0.0-2021-05-31--14-38","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-ue98cCgmgeIRUwG2CqLq5THN3IIerGQqEG3RmBJftqU3LC0yShrtmOnG/FqKSDXyAiPddOlPSCWI1UUPAd+TtA==","shasum":"a849ca67aa1b115e3920cc0a41480bf9e9f934b3","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.0.0-2021-05-31--14-38.tgz","fileCount":19,"unpackedSize":82670,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgtPU2CRA9TVsSAnZWagAAASgQAJNG0fppcVgimaFCgPe0\n35w4ISmpZJIEAWWj9xQ0GkucZ/VHYqGJ2paWFjDQ8xUqrT3gdWc87a3PDPNR\nCoh09Gpxx28us63DOklYw/5X5ubjaH4YXgWlE37EjOBZ47DT0k26BICwlnfq\nBiRo7+Dvn8dg//+G5zOQB/HXg5mkhKrv2GmRCVi4ajY2Le9/JZ6ndLHsWgCH\nkP/nRPNMiM65+chu39GzAcwScL6cXIJOEnMQoCHhs2RHI9Vfdk50Q9ISlCZU\nwySYs5sjHX+Vd17Y7VA7IibPq8C+qubPGQQ4mDkVxjuTQ4wDnx4rToTb4Fad\naNnA/gpyOxivQQaPTcEM4zXdBsoP7vUUhUchsVgz01K8KaniWw+SEUJDeaAs\nItQ0zZhEAurrXmtVhNnQW3NwaugXasaPO80n+xUC5Fswaai4zV9XH/qWLPAp\ncsQBlYaPS30X6w6M75zp65hlWoTR09InOaLBhnW6MKi5+A9MMssp4kUs6Er5\nMOqyQ8Eatnei8Nc7T/XZyixW/NxYlU9XFCaA6SzqOYn2EjwpSn0+IIDpief3\nt5poicmSzlUG2fl4UTq5fYkeyuijhChpoFBA1kMAa/aGXS1/n9qOv8fELT/L\nEaL7A2C3/5SxwOrZ800wSWJAsyDlksilt/kBP2qiz9epl1lnnWefVqhvF4Za\nuQJh\r\n=KnbU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDSiAStUBmJlfWCqrwvKpl3k2xaFM6C4c38qqvj2Xir6AIgH1/MwpqJhqI6Ms5bU+uwA4BHa6ITJcjl27a+/JJHmOY="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.0.0-2021-05-31--14-38_1622471989721_0.8056030008306021"},"_hasShrinkwrap":false},"0.4.4":{"name":"opentelemetry-instrumentation-sequelize","version":"0.4.4","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"dependencies":{"@opentelemetry/api":"^1.0.0-rc.0","@opentelemetry/instrumentation":"^0.19.0","@opentelemetry/semantic-conventions":"^0.19.0"},"devDependencies":{"@opentelemetry/tracing":"^0.19.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"^0.0.1-rc.0","opentelemetry-instrumentation-testing-utils":"^0.4.1","pg":"^8.4.2","sequelize":"^5.22.0","ts-node":"^9.1.1","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"909b2e07091c7a7e88e29438f936bb30b6416c1f","_id":"opentelemetry-instrumentation-sequelize@0.4.4","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-lKr/WPSEwVUd7w8uWqzBLjzT8UchZslIiugApzcPIU/BBG2+VRqq96leVKOptSXmpl8Qz2q1+wYGzwUFdscnKQ==","shasum":"9392383eab035fcc95e4df10599b7f18ca228f01","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.4.4.tgz","fileCount":19,"unpackedSize":81824,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgt25oCRA9TVsSAnZWagAAWdwP/20q+3wO4J5ubUJDhek5\nWTLRnV866LCvjmX6fDnBOPYOBKwPzFj7ikKiLDY9REtAGw73aSqOP+GzUzuY\nl+yF/2nTSNklFH/9HBzWU0FFSL1Hjh6ZrsjaxHk54KjOuvDBTHTojUpGUY3v\n+D0pgX0au6AX5abEVXzJ0XjdhCGRjF+9vSM0VpdZTRnlcgq4SAfhPwNhcj90\nV1BidNkXF0KAnFbMttaPdt1ncBkmDgAmxY+Ee9LFWqcMl01Mc8EiYyHBCJAI\nbpN1dtLbhIXLtQjEO8UEPU4aNHUL0KJx/NldukIFAl2Hgt36lzBjP61OQ6Lr\nkSHEnHS74HHHfii56MM9ZN/3T08pdfDjU1rCFSO1pXIwRSErmBU1Zf0TD9yQ\n303blrBOI7qYP3CeYWwAJchb1bAu91t4pE3/xSR4WnrrkYpatzRdDYgzymV/\njOZH+NUPWR+VOxymR6djAnGcZoYCul7PHBTzMdVXlHzesgrt4CXHfP2ycJ3c\nq1ywwEjvXCRZ/75HZ1E5kTgRpmc7QLRXEABt6NUKaVYK3qyA5EaPrWCUu3F1\npBZbkVEYXI3lV7yO4Ok1fqJdA2W45hdq8Lq/9F41gSDYrtsgdtRlwBSXBEH1\nn66p1XL0WfLxWL4Yn4kQnSacssPHLOnUL7ZfcQ24/i5XQFfsOF6uFPWvRtdD\n4ODR\r\n=gVXA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBNQ7NEUncW3jnc+1B4ognAZYgNwx3otfFZvSeiclHX8AiEA6lRMRx4BDzLqpRO/6a+IzNG2A6r3r924GsU+j3peMXk="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.4.4_1622634087648_0.1804738509107391"},"_hasShrinkwrap":false},"0.0.0-2021-06-07--07-42":{"name":"opentelemetry-instrumentation-sequelize","version":"0.0.0-2021-06-07--07-42","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"dependencies":{"@opentelemetry/api":"^0.20.0","@opentelemetry/core":"^0.20.0","@opentelemetry/instrumentation":"^0.20.0","@opentelemetry/semantic-conventions":"^0.20.0"},"devDependencies":{"@opentelemetry/tracing":"^0.20.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"^0.0.1-rc.0","opentelemetry-instrumentation-testing-utils":"^0.0.0-2021-06-07--07-42","pg":"^8.4.2","sequelize":"^5.22.0","ts-node":"^9.1.1","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"bb0e4af3e4a101755c22fdb692be07a6ddeef51d","readme":"# OpenTelemetry Sequelize Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-sequelize.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-sequelize)\n\nThis module provides automatic instrumentation for [`Sequelize`](https://sequelize.org/).  \n> _Tested and worked on versions v4, v5 and v6 of Sequelize._\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-sequelize\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SequelizeInstrumentation } = require('opentelemetry-instrumentation-sequelize');\n\nconst traceProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    sequelize: { enabled: false, path: 'opentelemetry-plugin-sequelize' }\n  }\n});\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new SequelizeInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### Sequelize Instrumentation Options\n\nSequelize instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `SequelizeResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\n| `ignoreOrphanedSpans` | `boolean` | Set to true if you only want to trace operation which has parent spans |\n| `moduleVersionAttributeName` | `string` | If passed, a span attribute will be added to all spans with key of the provided `moduleVersionAttributeName` and value of the patched module version |\n\n## Semantic Behavior\nInternal implementation queries generated on startup from connection-manager are not instrumented.\n\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-sequelize@0.0.0-2021-06-07--07-42","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-QjMJl+ZCEnSNp6ZPZuLTLeb8egn9ZC5ATKuQVD308nyIrnoYQ7U6+lOJ258y3wPPTuJHcl49VpjHD5lAi19I0w==","shasum":"a9c0cd755af9ffcd22a008749e9bcff22a4bb335","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.0.0-2021-06-07--07-42.tgz","fileCount":19,"unpackedSize":82004,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgvc4uCRA9TVsSAnZWagAAts8P/jZYy5wwwh4tRfrCp9wM\ny5XGWappuai8o4XGwRhS2EadiPFMUyzSqvxBv3ClITiwFn1IvLNfRqCL0FgT\n2g/0U9kJGi1gtBobrndLdxz7l+x08aZgaN7eMlqCjt+FFAUivhhPYNqJ46Na\n7MVEwRJSaUBIob5J/WtsNTyz0b4K4lABejTQ16m86zVhoCdfXtbcSU8BDbP/\npzfyqSLjKlcJQ1l8OtSJy17Ob5t7KY62plBIsPZKEZVLxa/hh90OlWWCN/nZ\ncyuzlBFYFFRhD4EST3kJTcAkvlNZRI3LAEJUSqxA7axp0d3384+X6Z+eWQUd\nkxzbIyZNblqoPKVUabIMbJKu4lhY+FWNNJtbEuo9QpklKYnLwpZg+nZyMRRQ\nJIGyGvjZebAvdasfIUHR6E6xl9mcPQY9Q+fDISS1cmOVmbMlJfDRh6adkBBW\na7N4V69dLS2lpPrftFMHCv4zLT8gwufv5zTj6wsbQos5Hd4hnqg8bSQ86vcZ\nM3eF5xQ8aheeUkemWpw1+IZ3/ZZhgM3eZhKBIluGUMqMNoslEKb/nytRKXYU\nXyKn6Op099+bI+AJQBkIVpNYww5SjZa0X/pcGnGw1CdPCy16NwCTqzsuMNg/\nkhTfsWr0PecrSTUkGO/1ABvGJNixErbp0+p1bTez4EX57XtWwvAFZece1vRK\nLXTc\r\n=rYq8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBcVmimYSEPNctQzubgVbN8G4F6qW0pHPHiKYF+SVCnmAiBPyO1VSpsziaWqAy5RVhodP54/7xP/AWvQxbf6u9xsbg=="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.0.0-2021-06-07--07-42_1623051822345_0.6067316439800041"},"_hasShrinkwrap":false},"0.0.0-2021-06-09--06-50":{"name":"opentelemetry-instrumentation-sequelize","version":"0.0.0-2021-06-09--06-50","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"dependencies":{"@opentelemetry/api":"^0.20.0","@opentelemetry/core":"^0.20.0","@opentelemetry/instrumentation":"^0.20.0","@opentelemetry/semantic-conventions":"^0.20.0"},"devDependencies":{"@opentelemetry/tracing":"^0.20.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"^0.0.1-rc.1","opentelemetry-instrumentation-testing-utils":"^0.0.0-2021-06-09--06-50","pg":"^8.4.2","sequelize":"^5.22.0","ts-node":"^9.1.1","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"89781f894dff1488c9794fd361dea0b63f4c9be3","readme":"# OpenTelemetry Sequelize Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-sequelize.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-sequelize)\n\nThis module provides automatic instrumentation for [`Sequelize`](https://sequelize.org/).  \n> _Tested and worked on versions v4, v5 and v6 of Sequelize._\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-sequelize\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SequelizeInstrumentation } = require('opentelemetry-instrumentation-sequelize');\n\nconst traceProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    sequelize: { enabled: false, path: 'opentelemetry-plugin-sequelize' }\n  }\n});\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new SequelizeInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### Sequelize Instrumentation Options\n\nSequelize instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `SequelizeResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\n| `ignoreOrphanedSpans` | `boolean` | Set to true if you only want to trace operation which has parent spans |\n| `moduleVersionAttributeName` | `string` | If passed, a span attribute will be added to all spans with key of the provided `moduleVersionAttributeName` and value of the patched module version |\n\n## Semantic Behavior\nInternal implementation queries generated on startup from connection-manager are not instrumented.\n\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-sequelize@0.0.0-2021-06-09--06-50","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-l3XSBZ90lsrLZep9E1zpQGEC7pdPU0SenN3xH+u2nLpqz0W2tDtn1rTS95H1h9pUNJbekkpJheuR3AJKVysDCw==","shasum":"bbfc23f89e7f33ca886b9741a795e92cae644a0b","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.0.0-2021-06-09--06-50.tgz","fileCount":19,"unpackedSize":82004,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgwGTYCRA9TVsSAnZWagAA8DIP/A1X7sIToZP34oXaK+5e\nxoxSfIdR2Ux9RZGrG9HwhfKgk67/3cskzIdY4WvNe8Sokhec0G+G3b8wlcBj\n9eBaYeVL4bLID6OCOw3DmW8DdHppeNWXrrEayQQlecmXJnZdUoDG6g4RZead\nUzaMy2genHZrex/kq6gYBDrhl4NZ9JldV+7Pc5h8O3J95Nz9Ko4RDMhOYPIg\ntvYafalTkJv2YiYrBn7O+uA5HdJkMbT7sLiAKHjnL4+DK/HHOWNzqlVlZkeh\nA7wkewFw/gRMVaJesVK43K9AALxWqJeISAUu5gk00Z5jcx6tZi/a8jphs0k1\nJccFdWvnHtZWf8rJK/G6IJlb3FDUU4bYyvyJbNOzLeWBBDgf8EB5iYzYjx17\nTWYJVEibFo+1SM1aRFFwlDIbo3JnET2FmTNQ+91Bfh9ImfXmbTTqQvwLYWQi\nLIFgKggb2UH9QMEQI9gdktlUX4rCYnvNxvqU2xJnWiuo0z+S4D+JdKqzxXhs\nwcg2pyRwL2KdwZ3MbCjLO/5B7BRiSHDkbnW/RSo+jxspgIU1p6/XHKJ5D2Dq\nA6Z5xaVZBLc+eBeYV47tFgBud2NJTvlntWCED7pywZo2QsSLB6JDDqJ84brp\njFoZdMVYGyVqd6hKzf69IFMQEavBRWntbqRYq1tjULSMx9/aa6U2F+dx/83V\nRs7g\r\n=mAR2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFMWAyXfU7iGr6rHoqvzxPqfB1o6Mf3bA08bJMxc24UdAiEA1+k2riiE704Z+yCXfvbed/SGJU16mRXH5WG+vXFdy0c="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.0.0-2021-06-09--06-50_1623221464602_0.41258362527297154"},"_hasShrinkwrap":false},"0.5.0":{"name":"opentelemetry-instrumentation-sequelize","version":"0.5.0","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"dependencies":{"@opentelemetry/api":"^0.20.0","@opentelemetry/core":"^0.20.0","@opentelemetry/instrumentation":"^0.20.0","@opentelemetry/semantic-conventions":"^0.20.0"},"devDependencies":{"@opentelemetry/tracing":"^0.20.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"^0.0.1-rc.1","opentelemetry-instrumentation-testing-utils":"^0.5.0","pg":"^8.4.2","sequelize":"^5.22.0","ts-node":"^9.1.1","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"5d2d40dae3dde329743437740a7987ac53e7814d","_id":"opentelemetry-instrumentation-sequelize@0.5.0","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-hhp+knj7bVAqZp2riZafy1+XckJ3Rkph4ocaNEu+WUr/x7vga7zMsS+pNYk/az8v1mt7sGrvxjhwE32oSKr7PA==","shasum":"79bd206a233e0c736224e3b5453a24b7de934408","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.5.0.tgz","fileCount":19,"unpackedSize":82175,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgwIYBCRA9TVsSAnZWagAApUUP/iQ8yzsKwMgZyawWXksp\n4hFizvuf36OLll4sPjCa22BFrOZ7IujBokwgTXDmFbVAJRJ2kaJ7DTuu+rf2\nKSwnqXcfPPqSP20A+94kUMJhdl0wtSFHJ3Q3Y3oBFvP3z5/iwOTALhaEdgDf\n1ZpE9uDN6qjKP541OwBi0UnDhOoaXxev+mNEJi7T3dnlm8FlmB41H1gHftAm\nZGCgK4T6aqog7CwUysj6ZewmC+Iqxmq3LnkdESWKFUjAw0c03Y15+OZOWYXM\nhDKiDTqitfpJcIgagy5BxAxT7ZuRv80oqOpGyjlqXjMi1CRsp1iWF8nG9zgD\n3fKEm1lUdAbwhFwBapDnvH0w696mV6ucBy1f6ABIn9LaHQV/7T9dwg72iucF\nrBK5Lc0JbFGxc60Se1yHOgbHjwjjuqrImYp/cCy97eDhg+h9QVBXFYxo+S31\nBNe3MFCqHnI3q9M6F6sI07rEFxgK1QIMo3GVbGuNe3p2bf17Jax4gaB2Qerz\nodJkyauDrpNl/t7dlFQQCn7YO3apNvtrkhw8k5OukVqGQfznuNYq2YLr1bQ5\nBOoAEh1Vo8F7aaaaIIFRpgZwp7a0F2Aawao4ImYGxxBJtiEVQ5CTTM59Py6b\n4XDqecXGDk0IlNAFpgSLAkPAHE3o5FXGoEAEVx4TCDLHXEXaUGBUs7owzxR9\n7z5C\r\n=o5Cv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOrzrRyF3Gn3ciOdAL2nZSQncxDh2vZWMKmcwgvgyPzwIgTB29OP3zRhBDLLEMJmQU8blSHqt/L0OgYbVA3Flte+c="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.5.0_1623229953272_0.6995590851723281"},"_hasShrinkwrap":false},"0.0.0-2021-06-14--13-06":{"name":"opentelemetry-instrumentation-sequelize","version":"0.0.0-2021-06-14--13-06","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"dependencies":{"@opentelemetry/api":"^0.20.0","@opentelemetry/core":"^0.20.0","@opentelemetry/instrumentation":"^0.20.0","@opentelemetry/semantic-conventions":"^0.20.0"},"devDependencies":{"@opentelemetry/tracing":"^0.20.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"^0.0.1-rc.1","opentelemetry-instrumentation-testing-utils":"^0.0.0-2021-06-14--13-06","pg":"^8.4.2","sequelize":"^5.22.0","ts-node":"^9.1.1","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"7c1bec0d45e4e1729da931048881068dd80a4b90","readme":"# OpenTelemetry Sequelize Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-sequelize.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-sequelize)\n\nThis module provides automatic instrumentation for [`Sequelize`](https://sequelize.org/).  \n> _Tested and worked on versions v4, v5 and v6 of Sequelize._\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-sequelize\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SequelizeInstrumentation } = require('opentelemetry-instrumentation-sequelize');\n\nconst traceProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    sequelize: { enabled: false, path: 'opentelemetry-plugin-sequelize' }\n  }\n});\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new SequelizeInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### Sequelize Instrumentation Options\n\nSequelize instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `SequelizeResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\n| `ignoreOrphanedSpans` | `boolean` | Set to true if you only want to trace operation which has parent spans |\n| `moduleVersionAttributeName` | `string` | If passed, a span attribute will be added to all spans with key of the provided `moduleVersionAttributeName` and value of the patched module version |\n\n## Semantic Behavior\nInternal implementation queries generated on startup from connection-manager are not instrumented.\n\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-sequelize@0.0.0-2021-06-14--13-06","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-gVUrc/idw0rBoydOFFhR9mSs678F9f52+69CgXSwXc/iVtMa0sdtwdpX5e4F92b2v5FSAdd7eQIUWz/6syZTYA==","shasum":"cdcb0c555df05034aadbc306bd818c00f4d1749f","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.0.0-2021-06-14--13-06.tgz","fileCount":19,"unpackedSize":82267,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgx1R7CRA9TVsSAnZWagAAIPYP/A5q+7UHw3blt0LlgxgV\n7TRLtCyjJb9CxNC2Gucb55i+vhvARJ/apBTZOd44vdMmMdBBoEFi+Psp4d4q\nV7NeDiQkANMENky0K1Q7B1KDO8b1vizgqpah4EwcX0fxbquVLLXM1pP56BQw\nFwoxVd6I/izcTXpUvrBDe5EqhH1H1CtfCoU3jw7Pi3UfzcJMuDAuqmetIRBU\njQ72Iu9i6gWGvk/UXmuqTH58yw6kRrND39IGQk3TW5vTAOJmr4TAaWkVP60y\ngw0/MK4WKNTrv8gM2u/TcWTE/m3TQgZFmhkyI1bmkZ7pmlglqufq2OF4g3l5\nQgO0H8uGT8Myq8NJ3r9LTX2zN0xIqlfBXsbF3LUEoEsUkbsCHSvzqhH8+KFP\nBF0dblhCk5SpvQix7Z+Jb/CBXa4kQFEr2No5WFDxGGoXJDWdUPCkzRPS698U\n+HR/p17UW4rYu36jY8THttgcVRLNNr+xmRp9DCwygt3O/idn8TXObUSxX5sz\nuBCOmdrX62mMhHAxXDXA4s2tAOJGzGOXooXBEsn0ASVDy4QttKOV/IJ6bzNk\nGByqYEFwugWetAbvZohkbHSliEjrHOBkSYYmupvIVNJam2h13SVtEbZfq4Vl\nFI/GV+vIfr4o1Mt4s7uInQ1LAsDYeyG6qFphEasHwSX6CB3U8ffV54xkLZkZ\nMyq7\r\n=SyhO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICfUZLqFOy+jKUVVWhkaFeOZQc3lKJZg8f7xC3bTmHP/AiEAs+lXGQbRfDtie5ZJpaKE703Y20XyYmUfvqlWeO0oQ4Q="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.0.0-2021-06-14--13-06_1623676027716_0.4538288464895215"},"_hasShrinkwrap":false},"0.5.1":{"name":"opentelemetry-instrumentation-sequelize","version":"0.5.1","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"dependencies":{"@opentelemetry/api":"^0.20.0","@opentelemetry/core":"^0.20.0","@opentelemetry/instrumentation":"^0.20.0","@opentelemetry/semantic-conventions":"^0.20.0"},"devDependencies":{"@opentelemetry/tracing":"^0.20.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"^0.0.1-rc.1","opentelemetry-instrumentation-testing-utils":"^0.5.0","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^9.1.1","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"8a05453ad6b24753a24257196bf8601ad1f4c79b","_id":"opentelemetry-instrumentation-sequelize@0.5.1","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-VcStiHe1eEXGNvq7sMwwG+I2OypgM8B2x2Z/sPCsctNOgk3M/IDFs3QdwnXBMvJvGrMq6kQXtINJufH8a/KP5g==","shasum":"290f44eb319a71b880aeb6539c9bad2e72d5f0eb","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.5.1.tgz","fileCount":22,"unpackedSize":100038,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgyKPnCRA9TVsSAnZWagAAFx0P/Rkd0uStZNEGrusgynxK\ntUbBkhWxvamy0UrJeaKmpETOYPTbXK+pr4Bu3dN3fGdrGujRmQpk1z2yAFVP\nMAntMKGu+CHObIiytiQDm/qURpujPnsnWq0oKcEW2Mc0X/Dkm07ojoBdyG3s\neXHGILYcLiQ+yb66ZPRRLayEyk0yjKswVKktXHnuguajoATsHs63I+sbTkEj\n+N738g7y+9Q8apWax909UL4sBO8NWM/4Gz8Z8NWuiVjctJGD04eNARDUL9st\nwS5VyickVc62uTI9e7gubXtOQgYvuxLnaxCcYr4P0LNyV/BfO2q59oq8v4o/\n5ctfsqgSVP0jgyXNrkkB+zOamIVD4xJdkcBhqdMEiIONb4B9y5UJhb3qeoag\n4SKxSelgqUzutYWXtwaYLpx2EcAih6Mq9gC5Q11Xcb8BmKqazayfo35RB5V+\nTFpziNS8u/ARGFTbTlNwzTWBXoKD/z9B6ObmfnOwKGCnO1Ho+UQ8HXkqYEJv\nrJMp+dM+KhMWZdG3yGNJklmrs1wG6SgRPwnGl17NYDuDmcQuEOpl2wq2ouRA\ndm3gOPAdJYIX1dfiKNh/i8CwY70MTNoTpyHEmx+8oDtrnmr2c0l2TQkUJbH3\npfiLlmq4XV51v78RFQcGvTotjKsOa5LVh+Tud9y6gaEZ0tTuuloVKseC7en+\njYhF\r\n=qSHJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF6JfElY1QfVuRJOgFUXMeAyLNt5BPbWazcnmXXHmQ0yAiAVcnuDPPCyBdvW/HtQtfpsozolQ6wTKn7Qbu2IPp5KOg=="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.5.1_1623761894899_0.173027699999881"},"_hasShrinkwrap":false},"0.5.2":{"name":"opentelemetry-instrumentation-sequelize","version":"0.5.2","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"dependencies":{"@opentelemetry/api":"^0.20.0","@opentelemetry/core":"^0.20.0","@opentelemetry/instrumentation":"^0.20.0","@opentelemetry/semantic-conventions":"^0.20.0"},"devDependencies":{"@opentelemetry/tracing":"^0.20.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"^0.0.1-rc.1","opentelemetry-instrumentation-testing-utils":"^0.5.1","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^9.1.1","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"5922581fbe66f3590eeabc9e1983e33fc1ab3021","_id":"opentelemetry-instrumentation-sequelize@0.5.2","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-K4T9C6RFy3xnICBZi7yCQMmEQNXxv2lMrnB7ooBXpWeZ2kC67CWcMkcnsUeOtMCLnDcXKS/altzbwu228UhGFg==","shasum":"54569af3b4b5e23d5b66d08776918cb94f2a09db","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.5.2.tgz","fileCount":22,"unpackedSize":100491,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgycJGCRA9TVsSAnZWagAAwlIP/iBF35yj6NPH4bavfRMr\nrMurqpt3RgSQRNqzj6Ra0pCqI1WjO6+CwA+97THzU9Hn4HKPOIQDLFdT9/YQ\nWNzQqHBXS2OuT1tkWr3B7cf5+sWszYw/Rgz3uKGAG2uzgQh3635vY7w7QETR\n9fOpD2Bo7so4BVO//4F/ieBtXe4fGEHzTn4VE1GpLQcXEw8kV6lwONTIV9kL\ng/SIWAqf0W/U55506zHrPABy5HecbAq3EZTHoMCVLu+bqTJZnsb5QJpkaAUj\nr+oRutMsZKKdyeUZXuKLbvaq0qjq3QW1wQOVUMOfF0xVYxMmq4IXlR6V2Bna\nRX/RWH1LdlZ3QGSqPMF8RQRF3SwSrwXVvWlUh4NfMuynRa0REmX0Uho8Syor\nib4VHmN9Qmn+x41kS1q+udQue2SKak/6OX5jQ32vJuJ0jCbKr8Kx59bH/CiL\nOAWYwQE2/sKUK++2kmJl6zBd/1Kg93HmrtOYZHaET7pq27dCA7Up+PHTk5EC\nt7nI2vc5rWXei8tiwTjyUm6h0MpY2/BY8Y9dVuZQk4ocRSBtZlIP6/MfGgxA\neUZ0++JAvB8uJSH6ZYo3XS7itzp/E7vK7gW+kcniKC+mXQvXNJPGFyrmlRku\nUEOXmzCShvZIkIxfaPKPUH9HenWmFKYtk/tgLfpq4LgnjZDHBYwTywJXk1ps\nSK24\r\n=fXOR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCuBnW4zE6u9I3DZfDLdJ4NOcET6QvEkicmYD8yvSJ5qgIgLwxI/fMYkPoxuGQVrvtUOxJnwZZuZGiLmMdSzFT0QOc="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.5.2_1623835205991_0.45176151337573245"},"_hasShrinkwrap":false},"0.0.0-2021-06-17--13-11":{"name":"opentelemetry-instrumentation-sequelize","version":"0.0.0-2021-06-17--13-11","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"dependencies":{"@opentelemetry/api":"^0.20.0","@opentelemetry/core":"^0.20.0","@opentelemetry/instrumentation":"^0.20.0","@opentelemetry/semantic-conventions":"^0.20.0"},"devDependencies":{"@opentelemetry/tracing":"^0.20.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"^0.0.1-rc.1","opentelemetry-instrumentation-testing-utils":"^0.0.0-2021-06-17--13-11","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^9.1.1","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"394b69f3cbe81fb9c51c6571e782f08126d97735","readme":"# OpenTelemetry Sequelize Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-sequelize.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-sequelize)\n\nThis module provides automatic instrumentation for [`Sequelize`](https://sequelize.org/).  \n> _Tested and worked on versions v4, v5 and v6 of Sequelize._\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-sequelize\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SequelizeInstrumentation } = require('opentelemetry-instrumentation-sequelize');\n\nconst traceProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    sequelize: { enabled: false, path: 'opentelemetry-plugin-sequelize' }\n  }\n});\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new SequelizeInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### Sequelize Instrumentation Options\n\nSequelize instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `SequelizeResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\n| `ignoreOrphanedSpans` | `boolean` | Set to true if you only want to trace operation which has parent spans |\n| `moduleVersionAttributeName` | `string` | If passed, a span attribute will be added to all spans with key of the provided `moduleVersionAttributeName` and value of the patched module version |\n| `suppressInternalInstrumentation` | `boolean` | Sequelize operation use db libs under the hood. Setting this to true will hide the underlying spans (if instrumented). |\n\n\n## Semantic Behavior\nInternal implementation queries generated on startup from connection-manager are not instrumented.\n\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-sequelize@0.0.0-2021-06-17--13-11","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-HOQPxNKD4bJg39B96BPYF6mkk/M2pbVoqag5OmuuQUFEBItl+NY2RJtf9sFh1Ta/VtwaUhUggjGQLzG7JJ6iBw==","shasum":"26d17ddcf13c1045c492207e0976f7941e5e931c","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.0.0-2021-06-17--13-11.tgz","fileCount":22,"unpackedSize":100583,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgy0owCRA9TVsSAnZWagAA5VkQAJFcb4I/8CZ9Pmm7Qx1J\n6TQlNOaImK8vGD72WdH0ITccSXdEhSivjM6vzi1UYfYxkco0qpsCLuIizU75\nM+1EipMxQo9D3/b5DUdYrbGtxtJx/CAsVCdvNcQ+Z7wSJ13SOWU5pb/yBzcJ\nZTfQmrR/I3yjD0Kz+9SGUC2OrIlkZy9z5KVQBdANt9mq2NOM3yI1PAOoqTNk\nTbAWYiVRPvjmAVIwVI6oSlSYPnlbPiaKppiNfzB+5nKx0+iAhiaHfY7+Xpym\nac0eZmEnJVb0nEAKv/TTZMgwndiNyYvkkee9dfjoTNIRSm6CdQWqdz/o+nfW\nlqzsZiPZeYfoEI8GrRnw1wD8PYZmTi+w9P8kJEaFMEQch+wut+FVSdEH/ZbF\nbu0Jx7uc7f3e1g6BC9vZ5VTC7UOs5dZXfdIz6HOiKA7/ifvD257jj/60UkO2\nVHnxaB1wEA0mMn0rIpYhFIszFMmX0wvjaOm82VCQRsFCYoToZy14I1nm110M\n698c4V6QLyejwynG0CmXnMLV/mzBRIHKQTptn11vctZYZgd3up8wHBneFyRm\nR62n0qxR+mcq1ViWkeitBh/C5UQIKCZX3EB5ofPeRNUaEoBRJWw2pi3NySUV\nnYueSktMfs/PhbkGIFyeHDAR/kbpzhrYNjE4uiLZZAe4W6OHX7gkPxTgzc8x\nGCR5\r\n=hr2q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCXkMmxOA7acrriyVl19HMz8b7ZPe3P1+DDgNjfEFL1ggIhANF73gf4R1jBBcQE+BcPzWF9JRQfHjld7iX5x1VTVpPH"}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.0.0-2021-06-17--13-11_1623935536384_0.24823772793792065"},"_hasShrinkwrap":false},"0.21.0":{"name":"opentelemetry-instrumentation-sequelize","version":"0.21.0","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"peerDependencies":{"@opentelemetry/api":"^0.21.0"},"dependencies":{"@opentelemetry/core":"^0.21.0","@opentelemetry/instrumentation":"^0.21.0","@opentelemetry/semantic-conventions":"^0.21.0"},"devDependencies":{"@opentelemetry/api":"^0.21.0","@opentelemetry/tracing":"^0.21.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"0.0.1-rc.2","opentelemetry-instrumentation-testing-utils":"^0.21.0","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^9.1.1","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"0eb9c76b2bbcf85cb228e2301ce0cc1346076808","_id":"opentelemetry-instrumentation-sequelize@0.21.0","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-Qubw9RC87Dy/dHgZgB3O+Xz2cB9uXFLr1a3bnL9lRoNT19aKQjsQMITAnQ7n0PnXjR8K+kXBVEXejGU+sIeIyA==","shasum":"13be28ea1c0d1cde33886641015e6a409bb7dd64","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.21.0.tgz","fileCount":22,"unpackedSize":100941,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgzxMcCRA9TVsSAnZWagAAbGIP+wU5nbLfQ5EJJjNt+OtK\n9+JlPCkjacGmacD0fbiTVSQLJCxvhJlHohu/d+4SPaxYR4yO4K9W4mbfsYgN\n67B84gLQFfm+hrMTFArRcbp296enZgro5VNllQxTEihQcINfDLhYGjGBp6WQ\nDEYBpI+ED1ES5YTXp+tL6F6UIVhb0rNt5VKq1dDddJ4nNDdY+t0+7iUFQzb7\nmjN/P0fvbW0JCHrcCzVg50urKgi0vjYU0z5mNW5EXucP11VRAaHJ1EIMcTFZ\ngWj2x6RTtpvWJLxw2dquIUEDOM3u3Zyx6c5aZLU5eqsPJAGrpoy/CQJPIFPk\nvbcNfDnfltzYp2mHvXuBjc5M8I6VUhSUjMFGWnaeY03xriHZnDGmPlY2fdXW\nzxuJE8H0tg95r5qtXsMMUGobR8zri07GJ72Bdf2O2axX2htF1gGaq6x/WYOj\nnmA8Hx3PPAfTvUqHzDjx0ozIrZB20k/9rN/nUkOMBzAWXGNW2bTvp6tFRezF\n1K7HQmGYh6/wzm7hyEgZ5+4nvOug9kP6mHYn+6KdX5lNXnSI/igzLbri8a2E\ntgeKISoa6tbnSdnO/Xc7tl2kKUAEK7+/5xiSd/hfWDNKe/kBgga2KXGg+g8V\n7YXltSp7QMb5Us1r6ZLzn+TKktidoadueE2x51Xksd51IyU0IX8eHBZGX1L8\nFmbX\r\n=4Is5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFjNeM6oNbhxDm+9rTbZCzIwjXOoPY5dH+mFAlbUdbBQIhAPufkyIIi+2xECCQB450BPKa6jb6WCY1GxN5lExLgBBu"}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.21.0_1624183580260_0.6992787507741496"},"_hasShrinkwrap":false},"0.21.1":{"name":"opentelemetry-instrumentation-sequelize","version":"0.21.1","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"peerDependencies":{"@opentelemetry/api":"^0.21.0"},"dependencies":{"@opentelemetry/core":"^0.21.0","@opentelemetry/instrumentation":"^0.21.0","@opentelemetry/semantic-conventions":"^0.21.0"},"devDependencies":{"@opentelemetry/api":"^0.21.0","@opentelemetry/tracing":"^0.21.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"0.0.1-rc.2","opentelemetry-instrumentation-testing-utils":"^0.21.0","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^9.1.1","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"688f7e954c82c3bf053f56332af2688580ee7a72","_id":"opentelemetry-instrumentation-sequelize@0.21.1","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-P3PrTXEgcn43gthhrw3Dyxy7zOQRT76XRWlhcS/1AHPpMzwaIMermIJV1fN044JIpsCQB7E9PqWf33frjZDpLg==","shasum":"3d96f40a5fc95b9f6c0bb028cea8193a5fc517c3","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.21.1.tgz","fileCount":22,"unpackedSize":107082,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0eS4CRA9TVsSAnZWagAAaIEQAJfQ57U0f+PYDT82nrRP\n1V59vRD8HS/Cg7iwn7b6s6iuYIQhiwKzaWgDXnYyUqO/wLF7rQIpc3/YHDR9\niSMsQSBD2+7LxcCjUw6RyGbt3zAD82mveYItZIGb6Or8B54RG5FkzZrl+Iwh\nl6x8Rz8kU6TjA1TDGJBq/dzkmfPaV0lFBELB9xG/Zk0ZPyooEtbyzd5bYm6r\nchRBJ3CLfegNOB7Ih9Z0hH2+ZCgCNZg+CUwEwwkkasl9fRLvRk4YS+eOvpyQ\nugY7VY6aUBxGFQ1HK1xMmcstx/ZsxWqVrQYKk0omgH5PPURvXbrhjLwFRO2g\nHMy1MODgsLerrwSW407Y91NcRDBQLEAJaLntS5glI9gmAgPQEzyk/r/n8Jeu\nn+9CvDgHEXI9mwxP5qaISkEha3enFfuXiKA4P0780OCEUBXwm0KQC8Zt26H5\nPgZuZijHYlhLz8Li76RXiT0znWZAJh0NkwKTuhPNhXntHZeav5tfvjvgI7sQ\nHxZ57wqJhvT+HCKINss0xOhLLjkYKZ6mQv0t8zM0uU98V1lBfBT54gtdK/Jk\nnLAUqIQ1hpOc0J0ccUz1nFE0F8W11PdpaBhg7VGT/w/6cxyAsykkJF2x7zgF\nanDEFpvJQBmtMUJPkGTAO9kV/NKTqoKQY3MsVpfizFhHHurEW8f1vbYg28PQ\nnHti\r\n=qIFP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDyD48Jfh6hKP4Oc3dRNPPOtYwCpH+4Us1Sp4eFK73kIAIhAO/Z1rktk7KpLFYrLeSb/ovJZ0mNsP6L/KA1pGoLcJT7"}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.21.1_1624368312378_0.9616328000406051"},"_hasShrinkwrap":false},"0.0.0-2021-06-23--07-47":{"name":"opentelemetry-instrumentation-sequelize","version":"0.0.0-2021-06-23--07-47","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"peerDependencies":{"@opentelemetry/api":"^0.21.0"},"dependencies":{"@opentelemetry/core":"^0.21.0","@opentelemetry/instrumentation":"^0.21.0","@opentelemetry/semantic-conventions":"^0.21.0"},"devDependencies":{"@opentelemetry/api":"^0.21.0","@opentelemetry/tracing":"^0.21.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"0.0.1-rc.2","opentelemetry-instrumentation-testing-utils":"^0.0.0-2021-06-23--07-47","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^9.1.1","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"3aa46659e7d7b8cb0038645cab620fce3d08348d","readme":"# OpenTelemetry Sequelize Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-sequelize.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-sequelize)\n\nThis module provides automatic instrumentation for [`Sequelize`](https://sequelize.org/).  \n> _Tested and worked on versions v4, v5 and v6 of Sequelize._\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-sequelize\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SequelizeInstrumentation } = require('opentelemetry-instrumentation-sequelize');\n\nconst traceProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    sequelize: { enabled: false, path: 'opentelemetry-plugin-sequelize' }\n  }\n});\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new SequelizeInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### Sequelize Instrumentation Options\n\nSequelize instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `SequelizeResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\n| `ignoreOrphanedSpans` | `boolean` | Set to true if you only want to trace operation which has parent spans |\n| `moduleVersionAttributeName` | `string` | If passed, a span attribute will be added to all spans with key of the provided `moduleVersionAttributeName` and value of the patched module version |\n| `suppressInternalInstrumentation` | `boolean` | Sequelize operation use db libs under the hood. Setting this to true will hide the underlying spans (if instrumented). |\n\n\n## Semantic Behavior\nInternal implementation queries generated on startup from connection-manager are not instrumented.\n\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-sequelize@0.0.0-2021-06-23--07-47","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-2m9FD9EuwEKli9RrlEfeqjPHQ3v+Zp/KMIeISmDDpJqsfJsQB8ikjUlN06hgDIPmb0KqVzrPYqRo1GbkliYIIg==","shasum":"9913d4be969aa56cd4cfc924dd357940e4804171","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.0.0-2021-06-23--07-47.tgz","fileCount":22,"unpackedSize":107169,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0udlCRA9TVsSAnZWagAAaygQAJD8K00HeUk1K18E4T2E\n0dHb7Wg0rQVgiU9FySFSwcB80q9AO0syYFw5NdM0QAr0RPuFEDMpaF2DHZzQ\nds3yG0wBThoxR5DNboc7n3a8jCdI2njFKpR5w+o0Yf4Y2kY57dJolprGVQlp\nxXfpug92X6145gpd+d9+gwr+mC/xicRoGWu8WtsUz6CO4bI7zBZuzcwQH1Lp\nphcMKdfBsxSfHUvgjyR/4LANrE2w5Od/JQfa1bsyYKE5ApP1++9XYjmsH0/I\nhzozjjG2SrSK6XNiI8nhCAL/R15I4mi+W31SLtiVhb449oqhAefsHiC3DC6O\nyv9Qg6BD5g8Nlm9n9DkTaTq1uJ80GDMGD+HnWO9ENGinC9g5C5eAj2DwWH1A\nZf1AY+V8yUxTomT0knTEoibLRW8mp+6jU+XnV4NJtb8ck3l9lKKtEQuwaIfZ\nwjV/wf/MTnk8l7yVey45B03wFWkNinQrGdV5Y1NG6xYB0vpY0Dmp9Fpb+oXB\ndJdzdR/8AkB7Dxy+RaCAVYgtWf+IPBFVw6x5WtX+sb+/+r2JdSlDzJ0u1MOs\n9H6K0+GqSUw3c2QZxUID+WqJZYl8vH/UTqpNiIoQ2Yo129OHtf818ufLX+r+\n0rfWgPBTf5gctSr6XCY/spXQW+PEs7i7x/9tEXXmwcTRgT0gHeLnF/WeIC7+\ngJPz\r\n=hxnl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGAuD0a2KifKeSjV+MY7+LDbGss5K/ixs3z1ddEjQ0LMAiBFREWrRZVaQ+4AZtAxYzQaHss3zo7yZ1SBYUIBw3MpPg=="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.0.0-2021-06-23--07-47_1624434532624_0.5224947305338521"},"_hasShrinkwrap":false},"0.0.0-2021-06-23--08-12":{"name":"opentelemetry-instrumentation-sequelize","version":"0.0.0-2021-06-23--08-12","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"peerDependencies":{"@opentelemetry/api":"^0.21.0"},"dependencies":{"@opentelemetry/core":"^0.21.0","@opentelemetry/instrumentation":"^0.21.0","@opentelemetry/semantic-conventions":"^0.21.0"},"devDependencies":{"@opentelemetry/api":"^0.21.0","@opentelemetry/tracing":"^0.21.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"0.0.1-rc.2","opentelemetry-instrumentation-testing-utils":"^0.0.0-2021-06-23--08-12","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^9.1.1","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"9219abdec94e8dbeb50e61b1c289c60309c0a56c","readme":"# OpenTelemetry Sequelize Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-sequelize.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-sequelize)\n\nThis module provides automatic instrumentation for [`Sequelize`](https://sequelize.org/).  \n> _Tested and worked on versions v4, v5 and v6 of Sequelize._\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-sequelize\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SequelizeInstrumentation } = require('opentelemetry-instrumentation-sequelize');\n\nconst traceProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    sequelize: { enabled: false, path: 'opentelemetry-plugin-sequelize' }\n  }\n});\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new SequelizeInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### Sequelize Instrumentation Options\n\nSequelize instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `SequelizeResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\n| `ignoreOrphanedSpans` | `boolean` | Set to true if you only want to trace operation which has parent spans |\n| `moduleVersionAttributeName` | `string` | If passed, a span attribute will be added to all spans with key of the provided `moduleVersionAttributeName` and value of the patched module version |\n| `suppressInternalInstrumentation` | `boolean` | Sequelize operation use db libs under the hood. Setting this to true will hide the underlying spans (if instrumented). |\n\n\n## Semantic Behavior\nInternal implementation queries generated on startup from connection-manager are not instrumented.\n\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-sequelize@0.0.0-2021-06-23--08-12","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-F2hrVH6q8R7tB3nMQk0ej9kBzp8vzPtwQIv2XXbQo5aLmtWQDDCeLbwgsKIPLeeexqbJHJOToPdY5sC2wCBqpg==","shasum":"4a669c872eddf4f44eb79bebc6bb8ab60a085a02","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.0.0-2021-06-23--08-12.tgz","fileCount":22,"unpackedSize":107169,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0u0VCRA9TVsSAnZWagAAAlAP/0X232kIPYS5VuUz2SeR\nXFN8phjdEQl4AtCedyhXQ35dzq85iBBMFn4XtQHvx6/Fk4GAp7+UUIjz7jB7\nxu7pw47/b5Xr2v2FCEwIh8DUcmGEFIyXqCnA8Bmyyvn81FyPcvufwMyUPDdv\nZpH1Hj4EHhKzEj37OFvtefgzjaZNLxo6GyuJXm6qSNcHvzxeL9C2wRyyH4bE\n9tNav7+RxGvZKYVfVF+Jw7yxsinL+zgQlEcutBWmiwVQgNSI0teK3pCqYBf2\nI5tN4sLCS66JBcp7oJD9ym9so/GlILOoS/cgvjosS9iJBvASbQ28Si+HFDbh\nvMiCLnEXNeEu+hJU3RGJRRfzDX0VyO6VgF9uOoU9PUhwXbE1DduU7I/YSAYE\nEgB6o6hdzeAGGZDs559xib8cRXA+EjZ10Ct+Xr+SzhEh6o9SJ6a7MUyzdOTR\nJa4xi7eb/HE22T3B4IYf/dn2LCQF89eJOXUO5Wpc+0PuFd9JEj2EY9Z1Estz\nkaX1GimfD83HISqrBPEDNq5gJFyHgWmDaIh6kqlg0h6lH4KBOBI4WdL8Wrzt\nunFRWWQgNqkl8T8eD2qv5R3KkM4oMlVN6P8Zshk2sE8aYX4rlG4YHPih3Rxp\nqZ2bgSCwDj73tOPTRapReD9Fn2GLm/nHuTpF5SPqXwjcYLIdm6eMGIMvNtnO\nDtdi\r\n=xpOf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDhFPmyd6m9TkhlxNCcsgXjKaTpZi7ymnJF6hVQ/cGdKgIhAKroo30aMr6+A76q2TpegaZJp83tfFx3MDtjRwNIc/xZ"}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.0.0-2021-06-23--08-12_1624435988817_0.7615892230219337"},"_hasShrinkwrap":false},"0.0.0-2021-06-23--15-11":{"name":"opentelemetry-instrumentation-sequelize","version":"0.0.0-2021-06-23--15-11","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"peerDependencies":{"@opentelemetry/api":"^0.21.0"},"dependencies":{"@opentelemetry/core":"^0.21.0","@opentelemetry/instrumentation":"^0.21.0","@opentelemetry/semantic-conventions":"^0.21.0"},"devDependencies":{"@opentelemetry/api":"^0.21.0","@opentelemetry/tracing":"^0.21.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"0.0.1-rc.2","opentelemetry-instrumentation-testing-utils":"^0.0.0-2021-06-23--15-11","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^9.1.1","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"7faff48d9d7740fef1b799dbbaf1dddc673aa97e","readme":"# OpenTelemetry Sequelize Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-sequelize.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-sequelize)\n\nThis module provides automatic instrumentation for [`Sequelize`](https://sequelize.org/).  \n> _Tested and worked on versions v4, v5 and v6 of Sequelize._\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-sequelize\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SequelizeInstrumentation } = require('opentelemetry-instrumentation-sequelize');\n\nconst traceProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    sequelize: { enabled: false, path: 'opentelemetry-plugin-sequelize' }\n  }\n});\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new SequelizeInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### Sequelize Instrumentation Options\n\nSequelize instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `SequelizeResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\n| `ignoreOrphanedSpans` | `boolean` | Set to true if you only want to trace operation which has parent spans |\n| `moduleVersionAttributeName` | `string` | If passed, a span attribute will be added to all spans with key of the provided `moduleVersionAttributeName` and value of the patched module version |\n| `suppressInternalInstrumentation` | `boolean` | Sequelize operation use db libs under the hood. Setting this to true will hide the underlying spans (if instrumented). |\n\n\n## Semantic Behavior\nInternal implementation queries generated on startup from connection-manager are not instrumented.\n\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-sequelize@0.0.0-2021-06-23--15-11","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-Yk798/KYmygWhb2T0IE9NgrujFQMCn/GrwqyRA1fMpZtgxya+SvQe59is/rWRGncI+acX0vZPHyDubQKsA53FA==","shasum":"3553c69f5f56ec1a91513a0704c374fbda3e0a62","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.0.0-2021-06-23--15-11.tgz","fileCount":22,"unpackedSize":107169,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg009kCRA9TVsSAnZWagAA1B8P/0wtvUV/5T9x8JUjp1bi\nXcB+e3AEX1YeM0P/JSXoiL3LTCyVo/RCylJlw7ZknZ4oR1oLRpq5j7mM/Q4q\nlh0xzOqvSbdbg9yqCVr2EHOH8Ene7xrAsDxHvSw4XD7wkz2hYPRijiRPSerl\nYsButAztITF+uVaPih4jiFSd7NWOfcWJrtYMVY9qERnnrlIEsSy43VVQ4exU\noqahkXmFLAeXTaZvPGqxbuRjTgDI/+6j+FNR/7riCMQPKO0cVBk1leUMQbPn\nWEySbaN5FqHX/IgORvW8gVDTigA80wbhbMPQ/d4AdRnDW4pXPRCHxkoeC1wF\nKaLk/pN/x+fdVkCl4QrD3dhFnain8lchv+LVwgkS5SGpBXrMpsg9ENhWa2RZ\nzYMh5fuXHsbA69ibynS8ur3SlT7YuNF5BmEtg5vpZuAVNiQPo7ulMHFclJql\nPGh4XMN1s1KO/HZBCjgvv6nlKWNxWy4zKCIIa4G2VGm89O2ZcPNAobwyS3sl\n++hiOAXsNb/1mPlfcGx9P7Ih2oIJqCeWJp8HBJJ+2KIAwUxj/VHTPEzVHMeR\nH0qmAIy0n/OXGmcRiaj95FWVulUuwVsBGQBqj/ECd+l3+1CcrCqhIPkZpe3W\ndwt08VuhoL9IGaEZ/NlG3H9tkHP9qKIKXJ4HZkVeTPVzFv4pOQUDh933so0f\nRmX3\r\n=70MP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUlT67ausway0dv2lEnUaJdz2P4MFSC/58rhJJcYjWqQIhAKpbwyuf9psJFMLfj0ZUWVmSARc8WQuDADZmOOYwaNKs"}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.0.0-2021-06-23--15-11_1624461156492_0.6604258105099623"},"_hasShrinkwrap":false},"0.22.0":{"name":"opentelemetry-instrumentation-sequelize","version":"0.22.0","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"peerDependencies":{"@opentelemetry/api":"^1.0.0"},"dependencies":{"@opentelemetry/core":"^0.22.0","@opentelemetry/instrumentation":"^0.22.0","@opentelemetry/semantic-conventions":"^0.22.0"},"devDependencies":{"@opentelemetry/api":"^1.0.0","@opentelemetry/tracing":"^0.22.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"0.0.1-rc.3","opentelemetry-instrumentation-testing-utils":"^0.22.0","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^9.1.1","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"e9f830a131164f45fcfff1a527a0ade411e5e977","_id":"opentelemetry-instrumentation-sequelize@0.22.0","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-5oBUQoWVluYkhmZ22o7o5zjFrfC2KWM60PLlbGs7cGekLj/r9Lj9Kewb/Ph/W0dTLIupHeRAWUNE+erA0WfnbA==","shasum":"c4e74363749f2e549c46755735eb61bd532d0c98","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.22.0.tgz","fileCount":22,"unpackedSize":107346,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg2Yg8CRA9TVsSAnZWagAAtJIP/RAQCDQy36TQbifTqlDQ\ncXx9a/U0iRi64oEGGoSzAVCuR9J/+iuo6jEihtdXd+OdLGaFZkQVIZ5fmQLC\njoqf37TLuLdTfnqdM+lcsUTbJxA/tryGo1TuUC/fvHDBZwMB+vFgnO70N3DQ\nFmCRvRPKZN3E4r5pvQOV42xUKUApifClUlQlk9lBzQryhpcw//Y6xRNIkjrQ\nSzO9JsO7TmcnYBphM0YIcPsPbV+bmMikW37v//1zRF5+tm3gvfzhQKlKkH+B\nf9RN4a6KuYxFTGudT3dinits+SIlnSRTEGXOcJA95pMpfj/pwzNo0oPFEFwI\n0nHy1tfCOB+8+R7aMc/VYRsMNqY1SMPn6pcnNJx13+4L2lpX3LAHXf7m+sKC\n3C31zvgXgBv2I4YlmXLqCjTD2uGXRdW6tE7Q8zwT9y/V6dNn+KcUxIykskoB\nW8CpKr47Dtoe0/rw0oSqngaNQhlmNhuB19IBCZjdvTPgQh9TyZNbP3hm7IYa\njRk/gxYXXZFSAX1vCZqOeqI4FSs51QoU8bC4IK6Wq9SDhA8qbQnqp4hlAuiY\nUMgTYlSuauTWAdV+sAEYy6EWtOSSehcO2KWwPND2xOv3ztqBQXshEp6KVHmi\nEkHeJHGu6Mf2wkDmMms5vhlzlSFObOBYffKMMLtLV39h+EmKoPzZfm2g7v2E\ne0gw\r\n=9KDX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLsj/Iri2LwEK764rMHmXIoFENfSMtWOuDSkV1ELSbkwIgeEg9+kdvj+LHtHnF3dnl/VsORRrMagEAJjN3khsM/UU="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.22.0_1624868924550_0.6906879016113092"},"_hasShrinkwrap":false},"0.22.1":{"name":"opentelemetry-instrumentation-sequelize","version":"0.22.1","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"peerDependencies":{"@opentelemetry/api":"^1.0.0"},"dependencies":{"@opentelemetry/core":"^0.22.0","@opentelemetry/instrumentation":"^0.22.0","@opentelemetry/semantic-conventions":"^0.22.0"},"devDependencies":{"@opentelemetry/api":"^1.0.0","@opentelemetry/tracing":"^0.22.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"0.0.1-rc.3","opentelemetry-instrumentation-testing-utils":"^0.22.1","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^9.1.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"1b95f429902c848b03570501648d88c82ce78d46","_id":"opentelemetry-instrumentation-sequelize@0.22.1","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-7vlCEKM7mE8tg18B0aCp/w0Gv2GEU11ZLjXOWb+Vc4BhepvHua7yq3KIPRvnvbnTFdxkYomsbSgbSCmFkGMs0A==","shasum":"af21b7cb3fd2b3bebfaaae142e2da5d616aa0f3d","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.22.1.tgz","fileCount":22,"unpackedSize":107630,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg4cS8CRA9TVsSAnZWagAANuEP/jYCbRjvCXCIq6f25TBy\n47ymHuTHR1Vy/m+53C/qx6OtgVVs8MKRVBOP2QGFeIjJcnwZVKDg3kGwYc8Z\nv1tMoviAJqQVJpfJE0YW9RAMIcvuX+CQJfnZxbJGn2rjJg+hyke58vOvyNQw\nyIXvz6eDkSSvCn1rVVdU2bLClqoiBoN3PUDLt+AdF82NqSZPlusgdclbvtnC\nc//HzYgiFqw7wMMjI3xFRF7JsEjdwext/E7gNNB0Zw5fMa8pB7E/0IHWJu1Z\nhAu4h+6amg5Wv1/5PAatLw1MLeJoIjK6Wv6tMv69YiSwXEQZvMELv/bznMy2\n15Tv43DIR0h5Vh9YBYKsTkh4nCNDsCtBHDWpYCQcB5fvvJxSHWvFNiSWetXN\necv6wzhBqPKcTIA02rDSgdyMRvtLNe6lxCfl6dfygTkqdoHDgbKNVaELC09H\nNz+ZVowqkP6qFAS5yu99PeOG8sZIeqvSkreU29kBe+iiWlQ7yVsOQorGFKQ8\nOTyTJ3QiRteSn85DGZZiAtLW73QHzlnNpevWDMK9IjJbJL1d6EdWaHHAayXD\nyU0v3DaNz/FJD8Eh9RpJPIXida+P2XWYPsBNwUAgrdOUnkQwOKhYEB00HGkK\nGJJLDRI2r+n+wyND810adM887+n+wNG3exznCEGy+6clwIqLqw5Eq2+aGq1U\nxSzN\r\n=GK9b\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD1RZSBDhCSu0lAGmUrC1rWO9ghqxLJjGE9XNLxO3/AWwIgVMDpd1T36uCZx1N195OqvjF1sDD1h45YPFGWD8lPfNY="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.22.1_1625408700321_0.28068651430417524"},"_hasShrinkwrap":false},"0.23.0":{"name":"opentelemetry-instrumentation-sequelize","version":"0.23.0","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"peerDependencies":{"@opentelemetry/api":"^1.0.1"},"dependencies":{"@opentelemetry/core":"^0.23.0","@opentelemetry/instrumentation":"^0.23.0","@opentelemetry/semantic-conventions":"^0.23.0"},"devDependencies":{"@opentelemetry/api":"^1.0.1","@opentelemetry/tracing":"^0.23.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"0.0.1-rc.4","opentelemetry-instrumentation-testing-utils":"^0.23.0","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^9.1.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"8467cdc1e0c3192d196b26d12ff05d63d5284f72","_id":"opentelemetry-instrumentation-sequelize@0.23.0","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-L8gAC5Yjh7VGwC4i789LXRe/8RrL5bKzyAriGkBLpUHjin23iNGfLZOB3Rk0TMJ+UpJ4b8nfKl6l6uw6rIFJqw==","shasum":"a30b0a10d765a1df115c115a5a64200727011775","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.23.0.tgz","fileCount":22,"unpackedSize":108049,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg4tb2CRA9TVsSAnZWagAAGtEQAJe+Qy0r1FbjAvP/M9GE\ni35zD7LVToV7/csQi2zYZfm93SdO4vrUHZeOWaftOuaP4zlBNGswIyjnnkOQ\n19lHI2KzNq5Yuv7/NDXmMhrsX86bt5k2zhCDprwSgZsYjyj/PIaC2D6ALnyW\n7mCBm8n+Oi8E059nSsbaPXumF88rcqgvq4HPyw+MAZrLSfdF3ukZnVl5HPdB\nMiqQtTs5yNbBIcbTf4IUFeSuuDE/8GmOZFQs152q9e4ClW7xs7VtZy/Y/Wby\ndJa9+ti7hqYaVnrET9agh1zGtoZZbWc/n8TuLLtNJsFEPpfxQmJgU89TFKsW\na1ahQqMSfso2BYM+LoMCeHBQRdXTdesHCZfHvMisL4wyKLDO+/jiUbvTtAPA\nnnT2ScVoq+zeyN48L3NX4ztMwBP2OPoTBnwbXA9i4EkelnkosUoXlqvKbMq2\nEJwP6NwngBf8pvJogi1h3v/ddf7XNb7M9mx4Pzmx6mCimuMSkaQY8yVxVeHN\nconww9P68EU5wsiFcKiG+MYOsHJjj5aZgOP1Urd76EHLUlRrrSsrj1UhJ4nf\nWFclCfeFIgVJMAJRdzbPJJ6MmdHKNGBgGBXTd8mfmROloC+cjkr/xnlV2HGn\npLKfJ7zYSwyqrLSoblDmkFI8PwwTVgYeJa4Oa2+3Z4HlRFzWB2f09Kfihkn9\nsHkZ\r\n=xAyY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF9TeMvWFIOxrTOwUCxCwErmf4A/rb0p9Fw5Z8OaCrzXAiEAqPCE9C5n8T3lYyPnn9kNrpXEb7FXCxICSOznSQeOpMY="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.23.0_1625478901590_0.791513728910352"},"_hasShrinkwrap":false},"0.0.0-2021-08-01--12-54":{"name":"opentelemetry-instrumentation-sequelize","version":"0.0.0-2021-08-01--12-54","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"peerDependencies":{"@opentelemetry/api":"^1.0.1"},"dependencies":{"@opentelemetry/core":"^0.24.0","@opentelemetry/instrumentation":"^0.24.0","@opentelemetry/semantic-conventions":"^0.24.0"},"devDependencies":{"@opentelemetry/api":"^1.0.2","@opentelemetry/tracing":"^0.24.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"0.0.1-rc.5","opentelemetry-instrumentation-testing-utils":"^0.0.0-2021-08-01--12-54","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^9.1.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"1c0b880a714e23ed5ba1ca97c35f49dc21064d8f","readme":"# OpenTelemetry Sequelize Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-sequelize.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-sequelize)\n\nThis module provides automatic instrumentation for [`Sequelize`](https://sequelize.org/).  \n> _Tested and worked on versions v4, v5 and v6 of Sequelize._\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-sequelize\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SequelizeInstrumentation } = require('opentelemetry-instrumentation-sequelize');\n\nconst traceProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    sequelize: { enabled: false, path: 'opentelemetry-plugin-sequelize' }\n  }\n});\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new SequelizeInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### Sequelize Instrumentation Options\n\nSequelize instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `SequelizeResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\n| `ignoreOrphanedSpans` | `boolean` | Set to true if you only want to trace operation which has parent spans |\n| `moduleVersionAttributeName` | `string` | If passed, a span attribute will be added to all spans with key of the provided `moduleVersionAttributeName` and value of the patched module version |\n| `suppressInternalInstrumentation` | `boolean` | Sequelize operation use db libs under the hood. Setting this to true will hide the underlying spans (if instrumented). |\n\n\n## Semantic Behavior\nInternal implementation queries generated on startup from connection-manager are not instrumented.\n\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-sequelize@0.0.0-2021-08-01--12-54","_nodeVersion":"12.22.3","_npmVersion":"lerna/3.22.1/node@v12.22.3+x64 (linux)","dist":{"integrity":"sha512-RZdPx3qiF+6FGN1FLNkZ/LoEV8IxMcJVUwoMD1i2vrpGP+HjKRTIwYExGFfsB+eZ8QzB4tBaVM5faPrL9or7xQ==","shasum":"a6c9c3f88c4abe52b4d8933e0b9579a2e86c9b45","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.0.0-2021-08-01--12-54.tgz","fileCount":22,"unpackedSize":108136,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhBpm8CRA9TVsSAnZWagAAkj4P/jyzCM846ZYKKonLa7kR\n5sba5keWe5GZ9k1Q7IiDssWjC4V49lfeJN/KMZM6TcViG7w0ypDfyRPkG1p+\nA+kiWPRg1+yKsK6hLm8B3cXiHlbjXR/xCrsQKwAJdBJ1TLyzNvn1DG8dA7wn\nGFMTK3eYoxMpEK69HqPREwZAreA/b4xe4WBZJmXXE9eGp/TPJ1e5D50R0og1\nMn6Z2GOAeB90FjCpQ+9Ixo81XT+NeXl1NTUp7tXr4SkBZd0rqIXlyj5kh2Gf\nfnPwH0te7YkYJnw+J+w2q09FSLjC/jYNCyw5ZkU8E3IV10xUe7b6uLtI/U1L\nQej5QqzV+g3/Vj4Dc9Cb5wQp4u26ZgcvTk2noymk6y/dTVMdiihWEFrzlXuc\n5fakks3nGT9TbZ5/IULlJ+mX4P4AcFayq6kPaqFW8Qbbxf7CCgBQkTSr6FZV\nyPoEmwbuwAfHx6/RtZfSXzUMUF3VU4J7LMT2E+WfGcbXaE6B/rfVN7kJAmyW\nb+dClzxicZpbE2ZHhiITDjh58LcGAyDk21EcfmK6lAlA0PFlD/PIhYyA3IWN\n5qnXUFi8ocqPzgue9K4Rk6WTXGO5xGHU8HSwUb+qls0dTf3URZBzdKUO693k\nfJGakDhPLQfZIXNSFkQStCI1p6OhyzD46FpFXhW+yD6Si+phCKs7HRoOkPLQ\n+zb9\r\n=R4Uk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDCFn0n/RI5lnBVxcLhL4Sn3qW+E4aYqh2XnmgQMm+WBgIgddvbIs+sSAEvpuA6BDLGo+BjqJy6cG8gGvIgxFfYlck="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.0.0-2021-08-01--12-54_1627822523943_0.5535480195544851"},"_hasShrinkwrap":false},"0.24.0":{"name":"opentelemetry-instrumentation-sequelize","version":"0.24.0","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"peerDependencies":{"@opentelemetry/api":"^1.0.1"},"dependencies":{"@opentelemetry/core":"^0.24.0","@opentelemetry/instrumentation":"^0.24.0","@opentelemetry/semantic-conventions":"^0.24.0"},"devDependencies":{"@opentelemetry/api":"^1.0.2","@opentelemetry/tracing":"^0.24.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"0.0.1-rc.5","opentelemetry-instrumentation-testing-utils":"^0.24.0","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^9.1.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"f9d08fb8dd95cfad7658ed979c154cf75c979262","_id":"opentelemetry-instrumentation-sequelize@0.24.0","_nodeVersion":"12.22.3","_npmVersion":"lerna/3.22.1/node@v12.22.3+x64 (linux)","dist":{"integrity":"sha512-F0FUaXE7M1NoOscNR+3TEx7KOu8Nh+fyfpmBlNNjm8f8E7sVmu1pBT8PZdgL/wGfze+RWmxTB8kqrr6NuaTU2g==","shasum":"d6f0653117bfbc97d32bda5c0fdb1ec3b931b51e","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.24.0.tgz","fileCount":22,"unpackedSize":108315,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhBqzICRA9TVsSAnZWagAATzMP/jHFTp3VvYWpjjvOe1PC\nbCa6qWeW/YrC5oyqpPKjXA9kDB018/SqMtyFyztK1ljcKEmnM+oFOyKM3paS\na7ExaMIfd7aew2Co28OSJrJxczdxi+4kPzc5raXh1YIxvNG5CZXxnpOLloOF\n+eWHaleonPgDPN7VNYjdUYRRCxLEH7VSSD74FtIZ2hjL506sYbb/ilkQMCCD\nKFb73DRuj9Iv6UNmiWGt0ohTSXtgr4d+k/D/yXepHVid0wYw2YaPHFCU32Gl\n1AC4HLwvrngzuoUCrgFEJX9QGGdRYxQ/n1bNJrHF85QFwv4x83Nx53OyXjhR\nwKaHSqCTvcUO1c1WfABzC7Fxcsk2GuK8GfSuLjPuj90uq91hwJFMFso3M9Ff\n2GolRUcatBNFST0Ut7gDgHtYJP1w3+XsJNMfaLaWbqbUAdu3y+LhADW7W0+L\n8SZpUDPP1JX5I+96w9N50crniuLi1bPKWOUwPNEuQB9EZ9dLLus2fkovzkv2\neWlHcYzjGdDdbvhl1Fgp9BCVkdzOX5+KbDkzcp1/Qn3Noxoq3O7cM3FGUZJn\nOGhtCI8EXqW01fxlZdfVHF3wl68roQNOI48xrJxAGFZVvpJyIsvPH/meuDCk\nYHw4huwiccU4filIXMY32oJEFv21IzrEzFSREaQ5fr7V6ZQgBMOROTIUuu1+\nrt/o\r\n=jy1f\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE62Q1sA6ymDsm/TnFj6scivyRXkSNSP3UZP34LYjx78AiBBUhI2dQ+Ak4iz5Aiw5+kN5O6gstgtDyBwx7MkZFIigQ=="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.24.0_1627827400474_0.017345968307820314"},"_hasShrinkwrap":false},"0.24.1":{"name":"opentelemetry-instrumentation-sequelize","version":"0.24.1","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"peerDependencies":{"@opentelemetry/api":"^1.0.1"},"dependencies":{"@opentelemetry/core":"^0.24.0","@opentelemetry/instrumentation":"^0.24.0","@opentelemetry/semantic-conventions":"^0.24.0"},"devDependencies":{"@opentelemetry/api":"^1.0.2","@opentelemetry/tracing":"^0.24.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"0.0.1-rc.5","opentelemetry-instrumentation-testing-utils":"^0.24.1","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^9.1.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"5ef9753bf1ab525497b2b925df0b2e2f24ae838a","_id":"opentelemetry-instrumentation-sequelize@0.24.1","_nodeVersion":"12.22.5","_npmVersion":"lerna/3.22.1/node@v12.22.5+x64 (linux)","dist":{"integrity":"sha512-q5CB+UAaWCyJiDBgeSJUR1ssNkKaocm5io7LTtqzeVtMCiR3uUvRpFGhMGwjsMdFR4IZK5GkyDl74Z6orMQtMA==","shasum":"0bb47dc8ff7160a81b596bd26713218f4b01c388","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.24.1.tgz","fileCount":22,"unpackedSize":108582,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhL3Q+CRA9TVsSAnZWagAAi4gP/2XWfF+UKn2Jh6t52pcY\n50pMXN6cGHHpPyr0N/c7ig7Kw6tG0+Yr6P6lom+gr82Ktg2i64zn7B/HRDgE\nytdczl73iwzqJwZQ+w/Fa0FDSGCyOQMKMIelQAcGzOzay+fUI1f9BU4WVPB7\nMlCgG6vITAY34//TPDRIN8TKhRS0RtXUs+H3BXdFjkim8nLRpXf8SyOHqSFl\nK9u2ZiYqMZPQbi4UBhe1UWk9j1bWKpAD7widQrNlJ+MFfoVrdHCz0t3OWSX7\nIZlDO+GManYwWUeH9CrhOeHpS+8F2Ku74wJrVE/k/bsRMskPEmUICAHMxWck\nrjxc4Vt5GxnTqy7g8HAHEDDIxR+L9uimMR1IKluVFcNEEsShvTRIHXK5dgnh\nf0sFJXLvypMQVgpKgTN+B2Vyjie0rOzkmjCtVIw+YY7iM0J8xdmeV6tIWn/b\npci7CB6ysueZ2MTLMCjHczmfAsIG43pfJ87rvGnypnvtiTDY//VIEwayGSDz\n67OYWeJzICV5u0JoU6GAsExnbKROz4KK0wU5Gd5YYlZM7F49Vb0txxYnNFus\njj9kE/ASp9VPuc2gqHeMM4wbTaVKHhm5UJTKwmbnQXBbX2C4HsJNj7lAKGFb\nCZ/qhp78WQLzQZrIlmsKHdaqCUjKTroi7ayK2cSE1SsHeuOVtkRzbDRvM1Ex\nMkjm\r\n=gFem\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFFU8bA2uemY2rsGVEtCIW/xMMOW1+IMvMVpGbZ31MGRAiEA3M0oaoD+bwzDeh9XOqKd5tWv0nLgqNdajEAvWk7DGwM="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.24.1_1630499902116_0.7947578254920329"},"_hasShrinkwrap":false},"0.0.0-2021-09-19--10-26":{"name":"opentelemetry-instrumentation-sequelize","version":"0.0.0-2021-09-19--10-26","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"peerDependencies":{"@opentelemetry/api":"^1.0.1"},"dependencies":{"@opentelemetry/core":"^0.25.0","@opentelemetry/instrumentation":"^0.25.0","@opentelemetry/semantic-conventions":"^0.25.0"},"devDependencies":{"@opentelemetry/api":"^1.0.2","@opentelemetry/sdk-trace-base":"^0.25.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"0.0.1-rc.6","opentelemetry-instrumentation-testing-utils":"^0.0.0-2021-09-19--10-26","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^9.1.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"a05e1c6b765af7984ae8433da2290faf0c3387f6","readme":"# OpenTelemetry Sequelize Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-sequelize.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-sequelize)\n\nThis module provides automatic instrumentation for [`Sequelize`](https://sequelize.org/).  \n> _Tested and worked on versions v4, v5 and v6 of Sequelize._\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-sequelize\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SequelizeInstrumentation } = require('opentelemetry-instrumentation-sequelize');\n\nconst traceProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    sequelize: { enabled: false, path: 'opentelemetry-plugin-sequelize' }\n  }\n});\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new SequelizeInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### Sequelize Instrumentation Options\n\nSequelize instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `SequelizeResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\n| `ignoreOrphanedSpans` | `boolean` | Set to true if you only want to trace operation which has parent spans |\n| `moduleVersionAttributeName` | `string` | If passed, a span attribute will be added to all spans with key of the provided `moduleVersionAttributeName` and value of the patched module version |\n| `suppressInternalInstrumentation` | `boolean` | Sequelize operation use db libs under the hood. Setting this to true will hide the underlying spans (if instrumented). |\n\n\n## Semantic Behavior\nInternal implementation queries generated on startup from connection-manager are not instrumented.\n\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-sequelize@0.0.0-2021-09-19--10-26","_nodeVersion":"12.22.6","_npmVersion":"lerna/3.22.1/node@v12.22.6+x64 (linux)","dist":{"integrity":"sha512-idqT9a/t6EjpwxpsHOBmIUvql6CsaWy7SKoE0s2pjUf54KKt3hSonljwq4NI3vri+aEorb/L4NR3XeGae36PZQ==","shasum":"0becba57261c5ca4f8aef9595a57bd0adffafd7a","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.0.0-2021-09-19--10-26.tgz","fileCount":22,"unpackedSize":108693,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFGK+lvKZJRjljF4riY5iNtk3fDn/c1v6ANq5jY17MwQAiEAkKm76e4EMmsGoBZBgxMmI8BiFF9vdzz5V8Ubz6s+kX4="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.0.0-2021-09-19--10-26_1632047261863_0.9750695927688338"},"_hasShrinkwrap":false},"0.25.0":{"name":"opentelemetry-instrumentation-sequelize","version":"0.25.0","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"peerDependencies":{"@opentelemetry/api":"^1.0.1"},"dependencies":{"@opentelemetry/core":"^0.25.0","@opentelemetry/instrumentation":"^0.25.0","@opentelemetry/semantic-conventions":"^0.25.0"},"devDependencies":{"@opentelemetry/api":"^1.0.2","@opentelemetry/sdk-trace-base":"^0.25.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"0.0.1-rc.6","opentelemetry-instrumentation-testing-utils":"^0.25.0","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^9.1.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"c5d54414b125bbc927012c68ff19b97bcd5b3796","_id":"opentelemetry-instrumentation-sequelize@0.25.0","_nodeVersion":"12.22.6","_npmVersion":"lerna/3.22.1/node@v12.22.6+x64 (linux)","dist":{"integrity":"sha512-c1a8cIV3BmXdZiXKk5pNUzA+SENH+2RqOQV0kD2QYmeGyDF77UUWYSPlun3/THza21wMD4SbMwHQ3UaNv20HGg==","shasum":"ce7fea7e84e558fcfd428cc25bcb87b0d41594d5","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.25.0.tgz","fileCount":22,"unpackedSize":108872,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIExCXA5Naey/bbjXfx9FXDaPEUmNRPRvHgaBwhW2CnovAiBZruCQUkn1SdNFZPyXU36pvxrinCd+qQPQW1Vk3V9nOg=="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.25.0_1632055479051_0.38417346921425133"},"_hasShrinkwrap":false},"0.0.0-2021-10-20--09-32":{"name":"opentelemetry-instrumentation-sequelize","version":"0.0.0-2021-10-20--09-32","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"peerDependencies":{"@opentelemetry/api":"^1.0.1"},"dependencies":{"@opentelemetry/core":"^1.0.0","@opentelemetry/instrumentation":"^0.26.0","@opentelemetry/semantic-conventions":"^1.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.2","@opentelemetry/sdk-trace-base":"1.0.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","opentelemetry-instrumentation-testing-utils":"^0.0.0-2021-10-20--09-32","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^9.1.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"c1c35ba226e94cdc824171847a6e252e02912c55","readme":"# OpenTelemetry Sequelize Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-sequelize.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-sequelize)\n\nThis module provides automatic instrumentation for [`Sequelize`](https://sequelize.org/).\n> _Tested and worked on versions v4, v5 and v6 of Sequelize._\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-sequelize\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SequelizeInstrumentation } = require('opentelemetry-instrumentation-sequelize');\n\nconst traceProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    sequelize: { enabled: false, path: 'opentelemetry-plugin-sequelize' }\n  }\n});\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new SequelizeInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### Sequelize Instrumentation Options\n\nSequelize instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `queryHook` | `SequelizeQueryHook` | Hook called before query is run, which allows to add custom attributes to span.      |\n| `responseHook` | `SequelizeResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\n| `ignoreOrphanedSpans` | `boolean` | Set to true if you only want to trace operation which has parent spans |\n| `moduleVersionAttributeName` | `string` | If passed, a span attribute will be added to all spans with key of the provided `moduleVersionAttributeName` and value of the patched module version |\n| `suppressInternalInstrumentation` | `boolean` | Sequelize operation use db libs under the hood. Setting this to true will hide the underlying spans (if instrumented). |\n\n\n## Semantic Behavior\nInternal implementation queries generated on startup from connection-manager are not instrumented.\n\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-sequelize@0.0.0-2021-10-20--09-32","_nodeVersion":"12.22.6","_npmVersion":"lerna/3.22.1/node@v12.22.6+x64 (linux)","dist":{"integrity":"sha512-P2kG1C6TJj2iFqUhrweTENxrHm5/AroV6yGahX2eRVTcQvRWY8HoKd+oM7WIMZngPupYLr/PU5Ga7sfg7htuNQ==","shasum":"9822a175419adef6c95ff0559f101021e9aa6ef7","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.0.0-2021-10-20--09-32.tgz","fileCount":22,"unpackedSize":119679,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIExMYSb2e29KlvYszNGcLSUPBoaKmOuDEfEsOpm4t4HCAiBnp5+5frY7v78nYLOGKX1/7g+HCRIzQxS1cTL9HlcbQQ=="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.0.0-2021-10-20--09-32_1634722388793_0.696969028956292"},"_hasShrinkwrap":false},"0.26.0":{"name":"opentelemetry-instrumentation-sequelize","version":"0.26.0","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"peerDependencies":{"@opentelemetry/api":"^1.0.1"},"dependencies":{"@opentelemetry/core":"^1.0.0","@opentelemetry/instrumentation":"^0.26.0","@opentelemetry/semantic-conventions":"^1.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.2","@opentelemetry/sdk-trace-base":"1.0.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","opentelemetry-instrumentation-testing-utils":"^0.26.0","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^9.1.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"197677ba38ce47bdd7e57c9e74cc5a19fae7e8e2","_id":"opentelemetry-instrumentation-sequelize@0.26.0","_nodeVersion":"12.22.7","_npmVersion":"lerna/3.22.1/node@v12.22.7+x64 (linux)","dist":{"integrity":"sha512-WpUzX4BPbevY1/ClbO7HiqtsDlL2n58D99G+QAdfHYQSdU1e5oZRfQaUUnvOyMuEsduXa+N9fG8B8h8SHV8t9w==","shasum":"d2d9771b3bdd90202d71df9e08acff176a999fe1","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.26.0.tgz","fileCount":22,"unpackedSize":120006,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFbgkwS0yx/GkW5VBnpbG557HKFThk34TtEqnk5s+/VcAiEAs76ZBNUdarjQwPbRTS7DjaSg1ks2xstUpqa73gEP9ys="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.26.0_1635276586575_0.01844976537597054"},"_hasShrinkwrap":false},"0.26.1":{"name":"opentelemetry-instrumentation-sequelize","version":"0.26.1","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"peerDependencies":{"@opentelemetry/api":"^1.0.1"},"dependencies":{"@opentelemetry/core":"^1.0.0","@opentelemetry/instrumentation":"^0.26.0","@opentelemetry/semantic-conventions":"^1.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.2","@opentelemetry/sdk-trace-base":"1.0.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","opentelemetry-instrumentation-testing-utils":"^0.26.0","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^9.1.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"d98dabe288b1d95ce7e3d8b9b2ccc3ed02854392","_id":"opentelemetry-instrumentation-sequelize@0.26.1","_nodeVersion":"12.22.7","_npmVersion":"lerna/3.22.1/node@v12.22.7+x64 (linux)","dist":{"integrity":"sha512-t/3H+MZKoPPo9tzi9cexLT6CZXP5l2DmfauLyV7z4DGzyuX1gh9Go0CFMZwAYXBtdUWW4RuaxBDAjueFkXJeNg==","shasum":"4830b8ea3133c29058303457d80c0cdec46ea1f3","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.26.1.tgz","fileCount":22,"unpackedSize":120275,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhpLV7CRA9TVsSAnZWagAAW/QP/2CX6u9kVZJa93rgNQ/9\n25Py+8D4lOHsaACwHo1r3I5LK6s95kDr8YJw6elVAsezr28n7zQlTCqQ81VI\nsjXAuztn6wRjG84PEAjwMBlbnvGYmHZUzmZ8R2FF+Q/5hoHY/ZSsVotcmWVu\nPfcnp0k9hbzF4r+0MwuVo4KoymquDCLJUf2a5Mm5Wz3PPkmih+4UJN7Tjrtx\nOjY52YKNdXTXC9IfuO3dZdVDtEGCgL596XRubZGa45zj+nAj1M3kcvmKrQhV\ng5Dvw5vpupg2RaM6l2kz7P0rEY0X7AQf/YwUeEjeAukMSVTpGOWpKJjmGbtY\nZYSGIhx5MzeJ+n7Ta6wYAU0P7mtR/6OVyZaEN4uxGJ2nMaP9XbLWfU/ggqP9\nsCSwJChLt1J5bYnWSrllLb7XoqLgMJEzhp4kq840yyquSd29lA2vO0enogRk\npuWBNI5bBOMh8QoOcXiIR8WmezMMWB0PfnQ1rK3AW51cjUk7Qui4+2yag+9s\nvPuq/1N4Hv3aA+g1mDlgRb4M0dOJUkMTTloP0eFsP+pRTEJdcnlTbxZ/MDuh\n8v4q0SdTS4E3f4E2lv0l4LDk4gTVXORW1cY+q9dHNSr1+BrhZU/cF/kdYEkl\nV+429PgCBDha3P5Apla5RGBuoCibb/V+alNszvlLScb02XLuu4Rot+9TeM62\nwo9D\r\n=MuxJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtO7aJpDlyx208sCi/aLC0orL7mBzjmLbWSQBDnhq8kAIgRPPOPPpAuAFVDr4mI0To0TiyGrwZJKdvWf57LFH29dQ="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.26.1_1638184315692_0.130198283010575"},"_hasShrinkwrap":false},"0.0.0-2021-12-15--12-47":{"name":"opentelemetry-instrumentation-sequelize","version":"0.0.0-2021-12-15--12-47","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"peerDependencies":{"@opentelemetry/api":"^1.0.1"},"dependencies":{"@opentelemetry/core":"^1.0.0","@opentelemetry/instrumentation":"^0.27.0","@opentelemetry/semantic-conventions":"^1.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.2","@opentelemetry/sdk-trace-base":"1.0.1","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","opentelemetry-instrumentation-testing-utils":"^0.0.0-2021-12-15--12-47","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^9.1.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"d82d991f4f35f77cb8ac9071d7a43807667a17e2","readme":"# OpenTelemetry Sequelize Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-sequelize.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-sequelize)\n\nThis module provides automatic instrumentation for [`Sequelize`](https://sequelize.org/).\n> _Tested and worked on versions v4, v5 and v6 of Sequelize._\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-sequelize\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SequelizeInstrumentation } = require('opentelemetry-instrumentation-sequelize');\n\nconst tracerProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    sequelize: { enabled: false, path: 'opentelemetry-plugin-sequelize' }\n  }\n});\n\nregisterInstrumentations({\n  tracerProvider,\n  instrumentations: [\n    new SequelizeInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### Sequelize Instrumentation Options\n\nSequelize instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `queryHook` | `SequelizeQueryHook` | Hook called before query is run, which allows to add custom attributes to span.      |\n| `responseHook` | `SequelizeResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\n| `ignoreOrphanedSpans` | `boolean` | Set to true if you only want to trace operation which has parent spans |\n| `moduleVersionAttributeName` | `string` | If passed, a span attribute will be added to all spans with key of the provided `moduleVersionAttributeName` and value of the patched module version |\n| `suppressInternalInstrumentation` | `boolean` | Sequelize operation use db libs under the hood. Setting this to true will hide the underlying spans (if instrumented). |\n\n\n## Semantic Behavior\nInternal implementation queries generated on startup from connection-manager are not instrumented.\n\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-sequelize@0.0.0-2021-12-15--12-47","_nodeVersion":"12.22.7","_npmVersion":"lerna/3.22.1/node@v12.22.7+x64 (linux)","dist":{"integrity":"sha512-22RxbsLwyUTcRXdLGJ69O3oj7tp66xx8BLXQp5OqDEA3AGAej2ZDooazdIpABqpyemoalp6l+zorL3jyathHhQ==","shasum":"15a383383132a2a5728e3227273c9d82b371254e","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.0.0-2021-12-15--12-47.tgz","fileCount":22,"unpackedSize":120362,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhueQxCRA9TVsSAnZWagAA3UsP/RfafBRz5VL10IAd7yY6\nzDXqiMzDw4pOq2GSE8bzngMtxY4Je47U3wcSGBeMhNEZPBQ3o3UE5/1RAVGR\n17QIz1QrF4ZCAtZR+ENwSLsgylpPT19jjf6xHbVvRuXE9G3MizC4EKnTuV4B\nkr2eeBX5JSfkR96rJYXsT/WcntRrPM0BvLN5fxUZDPaZXD3+BLrQNm+bc+4O\nRq1xB7oR/Qn+v9QlGwY8T5vkxi/X6YamfQvQyMwH2c2DSbwu3xFhF9BYYn1g\nAeHt6tzounwU+Aw73Rl638xHme80bJ8ke+urLj6U+NHSYeW2uJnTgo43NuFc\nUwHWD02gFr8Itoc729ckhnR/csUW/6CXWxCoZoKG77fKngf0hd53cr8SRiiB\nNkQkZXbqqp6HLcB6RDuJQ6xhKTkVdG7HzSR+hLE9IkHTPRvIIb11Qh2LCb2U\noZ2lDXiI9gTb9retW+yMXmHIo0npM/+gngMeXvHmiA13OFa1CoUn598mlmlZ\nxCI5yHvNR0+AUFN3Fa0DpT7L1A5iJrI7RF2pVSR56+RkrWi3WvMVxkkCaKVs\ncJUtoDvH6BckgbaeaxUR9aBeLKbDWDnzpQSKHs6KRxlTKduNBcnc1ZH+M+IA\nbiBWKuoEuEjDSa2SdcXrVOGfrtPPBoplIg1ZmY9vGMKULR8rz2mNE50q3nDS\nCVLL\r\n=uHGC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5UrNnZzE9fhan0//d6J69ol8fZpQ4b0Bu9aEjXCMNMwIhAOsPVIvaxl2TGYf8fcEFdPR2P/ZTbGgfJc1Z3YjrJIGz"}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.0.0-2021-12-15--12-47_1639572529760_0.7322234836715364"},"_hasShrinkwrap":false},"0.0.0-2021-12-15--13-05":{"name":"opentelemetry-instrumentation-sequelize","version":"0.0.0-2021-12-15--13-05","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"peerDependencies":{"@opentelemetry/api":"^1.0.1"},"dependencies":{"@opentelemetry/core":"^1.0.0","@opentelemetry/instrumentation":"^0.27.0","@opentelemetry/semantic-conventions":"^1.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.2","@opentelemetry/sdk-trace-base":"1.0.1","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","opentelemetry-instrumentation-testing-utils":"^0.0.0-2021-12-15--13-05","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^9.1.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"8500885ec40cd62c62efd9758ed4b005fc201674","readme":"# OpenTelemetry Sequelize Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-sequelize.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-sequelize)\n\nThis module provides automatic instrumentation for [`Sequelize`](https://sequelize.org/).\n> _Tested and worked on versions v4, v5 and v6 of Sequelize._\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-sequelize\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SequelizeInstrumentation } = require('opentelemetry-instrumentation-sequelize');\n\nconst tracerProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    sequelize: { enabled: false, path: 'opentelemetry-plugin-sequelize' }\n  }\n});\n\nregisterInstrumentations({\n  tracerProvider,\n  instrumentations: [\n    new SequelizeInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### Sequelize Instrumentation Options\n\nSequelize instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `queryHook` | `SequelizeQueryHook` | Hook called before query is run, which allows to add custom attributes to span.      |\n| `responseHook` | `SequelizeResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\n| `ignoreOrphanedSpans` | `boolean` | Set to true if you only want to trace operation which has parent spans |\n| `moduleVersionAttributeName` | `string` | If passed, a span attribute will be added to all spans with key of the provided `moduleVersionAttributeName` and value of the patched module version |\n| `suppressInternalInstrumentation` | `boolean` | Sequelize operation use db libs under the hood. Setting this to true will hide the underlying spans (if instrumented). |\n\n\n## Semantic Behavior\nInternal implementation queries generated on startup from connection-manager are not instrumented.\n\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-sequelize@0.0.0-2021-12-15--13-05","_nodeVersion":"12.22.7","_npmVersion":"lerna/3.22.1/node@v12.22.7+x64 (linux)","dist":{"integrity":"sha512-AMy8fP7YxPX3LXEROhJdNLF2rilsEcxe6xJ0RLIOQ6dG87SCTs9Mw+SeoOEqC1amYDBoCKw8MJSWeZ2zuAFz8Q==","shasum":"051a8bdf939abae9e0a962b44ad84428c8219add","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.0.0-2021-12-15--13-05.tgz","fileCount":22,"unpackedSize":120362,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhuehzCRA9TVsSAnZWagAA4k0P/16FB7gjpxuA7G/3r52K\nU1upYgx3sOVY6Qs1fvehAcpin32XEprga6imPcKfev8WX8jeJjdo2av1bhyF\ne7laiuIDhW+5ChjH7tyXc9KmhyltU5mr0XSEIHEOnUH05Y1K2zQj806718Q0\n9+ZR0iPE1GPgruqegvB8tYs18Ya6wQtEFzJJtMj9VS4jSSl/vpgfr3H7dqfL\nCClAYD+Jvd4OPWRU6zt6jQz/mOXrYOhBZE0M/NtAQnPkiiHH8eAmf2sxrNYD\nYDHhzZS+jwoY3qFzqrxPWvzHCZ1Mb8zMRZ5SD1m87V2e0nE8Kv+u2u0ZaLMm\n1xu4O/qtkENz9CUj8RHgiqSqOZWPR/c+JtTPGmGGP8zemUxFlWPlfiRhGnkN\nHcRPnAE02NHOEdFvQIPnvS8fJ+4kohxo8wpwK8c3WlhT4aYGpxVrnLcSd3em\nAnLaCtstEoHBIribNZYts4SRqwaPRLxE6foYO5LdjRaF7A5lsyvKeTITX8gZ\nFgxeukz4TsMi8YZjyy/ZsLtGUOS+mpNsVHwMQKp6lo5Fa4ttqNyCtoYVNIYZ\n417MBp2udzKx1fofG4iR2btgHzW983lj4p4qRbfEepzizcBMibJmGqGFSCEa\n9vFy6vNpkIvq10QDKusv3swIS1ec7StwM4IZgzH5TwIfk5HALuFK9ta4iSDW\nmbcJ\r\n=O/x0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCSMyEgI8RQPtewVwhivoutJ85O79RdM6o98M4PUZoPAAIhANQsoJKH3O7T2Lb0lXNCpKrmGPGCRqSGMiulkWK1OtTE"}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.0.0-2021-12-15--13-05_1639573619502_0.9170701286859531"},"_hasShrinkwrap":false},"0.0.0-2021-12-15--13-29":{"name":"opentelemetry-instrumentation-sequelize","version":"0.0.0-2021-12-15--13-29","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"peerDependencies":{"@opentelemetry/api":"^1.0.1"},"dependencies":{"@opentelemetry/core":"^1.0.0","@opentelemetry/instrumentation":"^0.27.0","@opentelemetry/semantic-conventions":"^1.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.2","@opentelemetry/sdk-trace-base":"1.0.1","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","opentelemetry-instrumentation-testing-utils":"^0.0.0-2021-12-15--13-29","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^9.1.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"f57843bf0453b8bd2aa71246bd7cbd81e82539ef","readme":"# OpenTelemetry Sequelize Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-sequelize.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-sequelize)\n\nThis module provides automatic instrumentation for [`Sequelize`](https://sequelize.org/).\n> _Tested and worked on versions v4, v5 and v6 of Sequelize._\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-sequelize\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SequelizeInstrumentation } = require('opentelemetry-instrumentation-sequelize');\n\nconst tracerProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    sequelize: { enabled: false, path: 'opentelemetry-plugin-sequelize' }\n  }\n});\n\nregisterInstrumentations({\n  tracerProvider,\n  instrumentations: [\n    new SequelizeInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### Sequelize Instrumentation Options\n\nSequelize instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `queryHook` | `SequelizeQueryHook` | Hook called before query is run, which allows to add custom attributes to span.      |\n| `responseHook` | `SequelizeResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\n| `ignoreOrphanedSpans` | `boolean` | Set to true if you only want to trace operation which has parent spans |\n| `moduleVersionAttributeName` | `string` | If passed, a span attribute will be added to all spans with key of the provided `moduleVersionAttributeName` and value of the patched module version |\n| `suppressInternalInstrumentation` | `boolean` | Sequelize operation use db libs under the hood. Setting this to true will hide the underlying spans (if instrumented). |\n\n\n## Semantic Behavior\nInternal implementation queries generated on startup from connection-manager are not instrumented.\n\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-sequelize@0.0.0-2021-12-15--13-29","_nodeVersion":"12.22.7","_npmVersion":"lerna/3.22.1/node@v12.22.7+x64 (linux)","dist":{"integrity":"sha512-IpalDmnlXkPKOiDo9vZAH2jeVcIZfnyezBugeJHcPjYAlskBS1H8okrfN/d+tk8E4LQ/s9AnEdyl6mmuvU04aw==","shasum":"f518d98e2bd55c0c92bd098460ee79756f7ec727","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.0.0-2021-12-15--13-29.tgz","fileCount":22,"unpackedSize":120362,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhue4dCRA9TVsSAnZWagAA36MQAKUwyLBh6OBF2cetpSct\nXXML+VtTVs3eLJY+6zkfrfVOMGrWePUHYUjxtAjfh7Bh5SKMp0H6B/7jf38P\nH72I5zFIkQIG3eeCKBcGKPA8A36Yr2vU+fLq/LMYd2wvyinM+XY2rTFfSWgT\nkQZSFyAGLT0n7K2RS62kbTj/spKnvYwgniCblo6PjfYeTD22y5eoUtBva4RP\nivYWo2o0UIMWAJgvkU6/Rh4EyuJGPh7GGx/4oPAOG1iG00e+3avQxjy2zPrw\n1wslrZfEL8tFKXl8XqgqTvxC6ZRM2R8qz16OWXSkk9X9OkKDco8Kb81tXGwU\nMFEK9FdHcdqI/G2ofCiWMB3PfrS64flBymcZWO3ygfysOfjMOnN3ZCPW75f/\nauhm03aSt9QNI0eYvbDAMcNY9e7jY8UOHr5TaQySwyFddcHf44mL/t1u//RT\nMYMe70Xr6F5+ltQ6ahtIROnfG8BL3rcBGin11zfde1T8POeecRb1cZnl8ptQ\njSA7PZsScnESyJUjJcHBGbqXdRJ/WeGo5CwF5wofrGZWWUglTHsG6rzBfx4o\nlOxc+//AZOYartOHGL3NePMhsI6Fc3xWNQfx1CKZKGHqdN0uawr51CAWrxr+\nyuJHUxwlP2Ah1mhglYr2HpnOQPZbyJmcrGL+6dYV6PMTxUpYQiLy5MEBRYbP\n3DVr\r\n=bhj4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFf5+vxck17KJuRK6mpeH9PyVF5e1ho0fswTbxB6hEQtAiAuNApRmW3i2ji6Ndkjte43FurtrNHl2GIPNx8tqGJuEw=="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.0.0-2021-12-15--13-29_1639575069672_0.36126509996145395"},"_hasShrinkwrap":false},"0.0.0-2021-12-15--16-17":{"name":"opentelemetry-instrumentation-sequelize","version":"0.0.0-2021-12-15--16-17","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"peerDependencies":{"@opentelemetry/api":"^1.0.1"},"dependencies":{"@opentelemetry/core":"^1.0.0","@opentelemetry/instrumentation":"^0.27.0","@opentelemetry/semantic-conventions":"^1.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.2","@opentelemetry/sdk-trace-base":"1.0.1","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","opentelemetry-instrumentation-testing-utils":"^0.0.0-2021-12-15--16-17","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^9.1.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"53721d6b1d7ef8fb79ab5167c34ee22da645bac0","readme":"# OpenTelemetry Sequelize Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-sequelize.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-sequelize)\n\nThis module provides automatic instrumentation for [`Sequelize`](https://sequelize.org/).\n> _Tested and worked on versions v4, v5 and v6 of Sequelize._\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-sequelize\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SequelizeInstrumentation } = require('opentelemetry-instrumentation-sequelize');\n\nconst tracerProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    sequelize: { enabled: false, path: 'opentelemetry-plugin-sequelize' }\n  }\n});\n\nregisterInstrumentations({\n  tracerProvider,\n  instrumentations: [\n    new SequelizeInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### Sequelize Instrumentation Options\n\nSequelize instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `queryHook` | `SequelizeQueryHook` | Hook called before query is run, which allows to add custom attributes to span.      |\n| `responseHook` | `SequelizeResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\n| `ignoreOrphanedSpans` | `boolean` | Set to true if you only want to trace operation which has parent spans |\n| `moduleVersionAttributeName` | `string` | If passed, a span attribute will be added to all spans with key of the provided `moduleVersionAttributeName` and value of the patched module version |\n| `suppressInternalInstrumentation` | `boolean` | Sequelize operation use db libs under the hood. Setting this to true will hide the underlying spans (if instrumented). |\n\n\n## Semantic Behavior\nInternal implementation queries generated on startup from connection-manager are not instrumented.\n\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-sequelize@0.0.0-2021-12-15--16-17","_nodeVersion":"12.22.7","_npmVersion":"lerna/3.22.1/node@v12.22.7+x64 (linux)","dist":{"integrity":"sha512-ZwyRTj/UtrhBb5iwzHjz3Yh22cNC3cSRonsbACNqvk1QyYGeHOYmde5DAFcbzs352ZjKTb3K3Ip4PIoRnj8pfA==","shasum":"ed14cfc568f5f9d28af037ac2dcdd1bd1d39d1af","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.0.0-2021-12-15--16-17.tgz","fileCount":22,"unpackedSize":120362,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhuhVTCRA9TVsSAnZWagAA15MP+wRdVoWfgld/SY0FdBmC\nlYgBtZeSrO0zjZnnACCJQ23gqPNHd+jFE24ns6ElFCeV7vtaKqemOgD9lx4T\nlG4ljnUeeyz/7kdgsQOOpe0oxi6p05zEczQIXeOhlA3FLXi5aP9aDCPoBhpe\nPREL/oJ71Cxk53i1kIvxI4hXDIbudQIGkThMdHLAaSdeckRDBY7GHmbDRM/j\nXOtX+ArRM3BkIg8uy/ddTIYnbDzrg+H1Kv6f4HNik/u+Sb1MzFRdjI2Oaffc\nhEKyWoDeECCfdjJU5nFQXLFvn+KsT+4tjwfXnChWRpqEVzKG4cgD2jnpFIi7\n4f5vX9FOZ5Xr+4P7z6tTuSnl27cLIY23KdBKX0fVAQ1W4cdTcCQQeCwa9Ww+\n53S03bkyaH4j5xzhEoPgfWbWv1iNRQspRyZNmyyHVMu4+/Hei5lcQOyYiRNP\nX1TghtjLH+JRuLsnk50fv/jGZ4wCT3aw2fQ0cRzRvZ7Q9UUtb6L4r4O2k4wx\n34/sXrKyNi4EjD9VrJblCvFu393/FdwU7XWgfRrQgyuMPqzcpyH0W7M2VzZl\nPYvyJDZV/y9xn6h6y6UNuMW+vz0FGFoJ7EcC18gu8mk+BmTb0wxs4dT3caFC\nIwhGaonxiWZZ1jtQpPqSVWPdqY9vQ5wUG/TDiIaA0S0cR1g4cvKrWfqNgjoI\n1FGQ\r\n=bObg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGpzUjomMYoEWVKAVp9vLjMAL5jQJXENGKPIUoyEL4t1AiA4LoNAZiV/m8ATg+d+tHNgdNCVhXYpIYNn9ukaVzDttQ=="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.0.0-2021-12-15--16-17_1639585107543_0.9335505156942592"},"_hasShrinkwrap":false},"0.0.0-2021-12-20--13-41":{"name":"opentelemetry-instrumentation-sequelize","version":"0.0.0-2021-12-20--13-41","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"peerDependencies":{"@opentelemetry/api":"^1.0.1"},"dependencies":{"@opentelemetry/core":"^1.0.0","@opentelemetry/instrumentation":"^0.27.0","@opentelemetry/semantic-conventions":"^1.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.2","@opentelemetry/sdk-trace-base":"1.0.1","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","opentelemetry-instrumentation-testing-utils":"^0.0.0-2021-12-20--13-41","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^9.1.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"5b751df473de22ae885ae8f740f8966736489a47","readme":"# OpenTelemetry Sequelize Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-sequelize.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-sequelize)\n\nThis module provides automatic instrumentation for [`Sequelize`](https://sequelize.org/).\n> _Tested and worked on versions v4, v5 and v6 of Sequelize._\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-sequelize\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SequelizeInstrumentation } = require('opentelemetry-instrumentation-sequelize');\n\nconst tracerProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    sequelize: { enabled: false, path: 'opentelemetry-plugin-sequelize' }\n  }\n});\n\nregisterInstrumentations({\n  tracerProvider,\n  instrumentations: [\n    new SequelizeInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### Sequelize Instrumentation Options\n\nSequelize instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `queryHook` | `SequelizeQueryHook` | Hook called before query is run, which allows to add custom attributes to span.      |\n| `responseHook` | `SequelizeResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\n| `ignoreOrphanedSpans` | `boolean` | Set to true if you only want to trace operation which has parent spans |\n| `moduleVersionAttributeName` | `string` | If passed, a span attribute will be added to all spans with key of the provided `moduleVersionAttributeName` and value of the patched module version |\n| `suppressInternalInstrumentation` | `boolean` | Sequelize operation use db libs under the hood. Setting this to true will hide the underlying spans (if instrumented). |\n\n\n## Semantic Behavior\nInternal implementation queries generated on startup from connection-manager are not instrumented.\n\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-sequelize@0.0.0-2021-12-20--13-41","_nodeVersion":"12.22.7","_npmVersion":"lerna/3.22.1/node@v12.22.7+x64 (linux)","dist":{"integrity":"sha512-mSM7zI/cCssILIWCxVUbaCuB+iUXobRKP7FoCThUJbxkYf3oCiLuBCeL+D8XlvHWLpvZlhQ0GrmUH8d+2/kt6A==","shasum":"48ea807630177fa011989252b128fa7e4e819f7a","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.0.0-2021-12-20--13-41.tgz","fileCount":22,"unpackedSize":120362,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhwIg7CRA9TVsSAnZWagAAzV0QAJ4teoLMUt3urPaU82Vg\nReXg07xbqBXaGAH/4tQ+Mpv1bw4xvWHq2JaMPCGDArXEX9xYNOk0OZl5lXUe\nkB2FKrg9KgmB9+FHOLJALSsJLqWIrx0Ks9iEBhO9DulmRkhnlHsLgfjRj+LX\nCjg3zJhYAg8xZvUaKdJi3wsXcaRrN//oYAHexek71HiZZSDVOvBMI2q2jfp4\n1KBP9HMjaaXoyxgGdZlRua0ngZGap3c832AquKoes4pS2x4lp0gY/k1fWgv8\nunxj4HyTPnYJ5YTr4z76pnSIYPfjU4/3b0ckUm+CiTq/kiBFfe8A5/1htUYk\nUOmKb8HO6MzqcfHU7M4vH6FG4uCrEHKLXRI1oft/8BV6N2RgWehd4Ncs0dFt\ngANPp9s/Q7a5PJxbu3AP6lACQyc4ybcTVC3PUGYgeZHFHgHy0nE46htlp33h\nPIrBnFJ1SVFC6fIwNPyqGsSCYgFkNiC1Wy7TRCqqkPMR/mk9X6GZ/69MrgAi\nZ1lcdjUJqsm/mXaHMYBNtFJgjTf7YRJ+NRYfWd6eaP63GQwfdoA42Xi34Zar\nNAXV9o7epFGhnrZ7CJBBp4NZjnZo9n7XIvUBfhBP5nDtHs5OsDhW6LyyPPka\nlEcFAiUzq4FVAd6oq4zNmMTXIL9Yq7RACqKSA7SofjgvjJt+bava6itQ8Al/\nJ+D3\r\n=g+d7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFAqdrR0lMUNwYRgBfhQfdNlsHtXa8B6oMic6dAqh2PEAiBjs36QQLwT0f689M43OwzI4TgOg5Mfa6YKVsRQbzBFhg=="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.0.0-2021-12-20--13-41_1640007739332_0.25266064244508013"},"_hasShrinkwrap":false},"0.0.0-2021-12-21--15-57":{"name":"opentelemetry-instrumentation-sequelize","version":"0.0.0-2021-12-21--15-57","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"peerDependencies":{"@opentelemetry/api":"^1.0.1"},"dependencies":{"@opentelemetry/core":"^1.0.0","@opentelemetry/instrumentation":"^0.27.0","@opentelemetry/semantic-conventions":"^1.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.2","@opentelemetry/sdk-trace-base":"1.0.1","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","opentelemetry-instrumentation-testing-utils":"^0.0.0-2021-12-21--15-57","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^9.1.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"38372fee8eae66fb9be8d9e8093823c76ba1388a","readme":"# OpenTelemetry Sequelize Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-sequelize.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-sequelize)\n\nThis module provides automatic instrumentation for [`Sequelize`](https://sequelize.org/).\n> _Tested and worked on versions v4, v5 and v6 of Sequelize._\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-sequelize\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SequelizeInstrumentation } = require('opentelemetry-instrumentation-sequelize');\n\nconst tracerProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    sequelize: { enabled: false, path: 'opentelemetry-plugin-sequelize' }\n  }\n});\n\nregisterInstrumentations({\n  tracerProvider,\n  instrumentations: [\n    new SequelizeInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### Sequelize Instrumentation Options\n\nSequelize instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `queryHook` | `SequelizeQueryHook` | Hook called before query is run, which allows to add custom attributes to span.      |\n| `responseHook` | `SequelizeResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\n| `ignoreOrphanedSpans` | `boolean` | Set to true if you only want to trace operation which has parent spans |\n| `moduleVersionAttributeName` | `string` | If passed, a span attribute will be added to all spans with key of the provided `moduleVersionAttributeName` and value of the patched module version |\n| `suppressInternalInstrumentation` | `boolean` | Sequelize operation use db libs under the hood. Setting this to true will hide the underlying spans (if instrumented). |\n\n\n## Semantic Behavior\nInternal implementation queries generated on startup from connection-manager are not instrumented.\n\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-sequelize@0.0.0-2021-12-21--15-57","_nodeVersion":"12.22.7","_npmVersion":"lerna/3.22.1/node@v12.22.7+x64 (linux)","dist":{"integrity":"sha512-fSeI9T/P+RoUf2xxph0zRiz9hHpH4P/YKH+t9ldArCnGMOmhpvEiHZIm+Ol/gWLsMh8I4aUN+JbPpbUUo12tIw==","shasum":"8aa713aedd5ed88043e4be243cbb8254af60620e","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.0.0-2021-12-21--15-57.tgz","fileCount":22,"unpackedSize":120362,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhwfmvCRA9TVsSAnZWagAAceQP/jBd7P7QWpYnEsAf+Iyt\nN6S+n7bwWBlwceElDYdU/WzC3z86zEuGU/7jZD+ZCQ0qkUCJaBjOZXKd6Mhf\na4TAwZNx+H1a/cJUclp4e6CMccXIzkgqpFUbumqjlmWLzCXNpkv5P9Y9pCtW\nhVle3y3GfIEm+ipeJK+aGOeakxOMztAQ+dv3j6PkOXoGEXZLCmeA9dHfOZ7t\nNBF8+AW6YhH21GUubrNJSmlbT/tcTSieF4L9QQd5PmkJKgfAwIpLziOvCpqf\nP9LYp/D3DitkgEu9qv5MoWnJQZTKbRH/xEE8oyKsydXm1JAvgKxf4UWBO+PX\n+am/d4VrFt/3hc2UgbhBsBukT+D1L0R1Y1eyXRWqiWrAsam7Xy30PKaeugJw\nFTT3WpL34hYNK5mcipzjETKrK740vFiHh6kY23pHYXQkkBfFtFESMGCfdg+n\nlrOOChUCM6ztCG2ZVa7wU7hlXlIytZvrVOrzmn7XY8QXsbA5ZBMvd0aGfuvx\niQdK48BaZG3uM1C7IOP2wUNz2GqtNa2eqRJaoCXn0HTeunWDF2awUlzk8JwH\n7bCex4fD/WQRJVOVDQzw9fNdkTUBQ59lRtc3HrEdwEmgUC8HuOUyFwGvdxE/\nM9VRKjHctGtlkABpBOb/Sk6rbUBKK/BN7vhh9i/vOAzGkehsiMwRXx64Vau6\nsCzS\r\n=du8z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCU08Uya9JHdZXZCxXXeGE6lzh6OyuxZ0pSTIrbqeFdAAIgA5qQhjhCmJSV9FwrvrZd1jTLT1RmSLdt9WNYKTVlfR0="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.0.0-2021-12-21--15-57_1640102319036_0.8460709335182484"},"_hasShrinkwrap":false},"0.0.0-2021-12-22--14-33":{"name":"opentelemetry-instrumentation-sequelize","version":"0.0.0-2021-12-22--14-33","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"peerDependencies":{"@opentelemetry/api":"^1.0.1"},"dependencies":{"@opentelemetry/core":"^1.0.0","@opentelemetry/instrumentation":"^0.26.0","@opentelemetry/semantic-conventions":"^1.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.2","@opentelemetry/sdk-trace-base":"1.0.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","opentelemetry-instrumentation-testing-utils":"^0.0.0-2021-12-22--14-33","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^9.1.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"7aa0240a479398d794813dc4088689d9d25bf6fc","readme":"# OpenTelemetry Sequelize Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-sequelize.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-sequelize)\n\nThis module provides automatic instrumentation for [`Sequelize`](https://sequelize.org/).\n> _Tested and worked on versions v4, v5 and v6 of Sequelize._\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-sequelize\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SequelizeInstrumentation } = require('opentelemetry-instrumentation-sequelize');\n\nconst tracerProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    sequelize: { enabled: false, path: 'opentelemetry-plugin-sequelize' }\n  }\n});\n\nregisterInstrumentations({\n  tracerProvider,\n  instrumentations: [\n    new SequelizeInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### Sequelize Instrumentation Options\n\nSequelize instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `queryHook` | `SequelizeQueryHook` | Hook called before query is run, which allows to add custom attributes to span.      |\n| `responseHook` | `SequelizeResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\n| `ignoreOrphanedSpans` | `boolean` | Set to true if you only want to trace operation which has parent spans |\n| `moduleVersionAttributeName` | `string` | If passed, a span attribute will be added to all spans with key of the provided `moduleVersionAttributeName` and value of the patched module version |\n| `suppressInternalInstrumentation` | `boolean` | Sequelize operation use db libs under the hood. Setting this to true will hide the underlying spans (if instrumented). |\n\n\n## Semantic Behavior\nInternal implementation queries generated on startup from connection-manager are not instrumented.\n\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-sequelize@0.0.0-2021-12-22--14-33","_nodeVersion":"12.22.8","_npmVersion":"lerna/3.22.1/node@v12.22.8+x64 (linux)","dist":{"integrity":"sha512-Hm3gpZ5SGuThbVjyjXEZEk7/XMWNCtDnylymS+Rfqk4Wb0TdHijOPTQOxwnN+fEUW2HzvNp8iJ9PHvLRZjo+MQ==","shasum":"39a57ebb23a391271769a135d06319018b70112a","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.0.0-2021-12-22--14-33.tgz","fileCount":22,"unpackedSize":120362,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhwzfqCRA9TVsSAnZWagAAgPUP/ibeoxRWzSQR1I1MT8AV\niaKJCMI6B9yqBehCHJBBOrGEDow1MSgDLFm8zx1mqund96/WQ0YMvDrNAyvj\nW4D66gsNeIzPuIRFyHlq7mVdZpfzWbszMwqRKnF7EqRDYM7oSCi6Lpj+zge8\nYj70iBwgKUqZxIJAijRd8FDU4i4XrJzfQpP2FEdKN281lokEEEo9g4//qRs/\nt8fvJydBO5ePM3kcnyAa7CAFt7cmQO6d21i5gNs3BFD24lwjFH0KeAP9nU3r\nuMzCM9L3Rg0xhKxizg2dP4g1vpTgDndwmMY5cYoS9msXnzzL2eZ8VwbrcfhN\ndujQd59FNiVKV7tdmnpybPZTNayjfH+kqqSPFD7/S5XRl14F2kOr2jqBczS7\nxv5OarI9tH458zNOQOYfh8JtXbPD87rATHHoCyiIKNbYRqNGvUwCP8mAOv01\nogB48rsajgeJV2y25tR+7l3lMQ9fkgguNK1OLej/eCVHH5OHs5djGXIbr9Y+\nv5Yugkj0DygomxZ9mwdbLxj2TnUzfJCgablU/bR0Q2lvJqp8/OZmZGMDf0Hn\nP9JqwlUCpx8uD7gRefMWG4yEgNFOYHp/hTNuSozquWghUnuhWuqpKEnSJovn\nw5XtHBebCdxl4m1RV2RjUoutqWeaoCoi2idvF4qCo65DXzU71bcI2qJ5XiSX\n1dCg\r\n=syEM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDU0su0klBWCocYjpBMDWWUaDEqF8l8WHA+iOCFdXsFOgIgARLjyfHZcZwWHzn3SRkA+Ahhu6DdcW1ULWcjsvKcdis="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.0.0-2021-12-22--14-33_1640183786705_0.896777205578912"},"_hasShrinkwrap":false},"0.0.0-2021-12-26--12-22":{"name":"opentelemetry-instrumentation-sequelize","version":"0.0.0-2021-12-26--12-22","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"peerDependencies":{"@opentelemetry/api":"^1.0.1"},"dependencies":{"@opentelemetry/core":"^1.0.0","@opentelemetry/instrumentation":"^0.26.0","@opentelemetry/semantic-conventions":"^1.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.2","@opentelemetry/sdk-trace-base":"1.0.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","opentelemetry-instrumentation-testing-utils":"^0.0.0-2021-12-26--12-22","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^9.1.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"faef7c8328a9ff8592347e079e5e86d0181d2d5e","readme":"# OpenTelemetry Sequelize Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-sequelize.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-sequelize)\n\nThis module provides automatic instrumentation for [`Sequelize`](https://sequelize.org/).\n> _Tested and worked on versions v4, v5 and v6 of Sequelize._\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-sequelize\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SequelizeInstrumentation } = require('opentelemetry-instrumentation-sequelize');\n\nconst tracerProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    sequelize: { enabled: false, path: 'opentelemetry-plugin-sequelize' }\n  }\n});\n\nregisterInstrumentations({\n  tracerProvider,\n  instrumentations: [\n    new SequelizeInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### Sequelize Instrumentation Options\n\nSequelize instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `queryHook` | `SequelizeQueryHook` | Hook called before query is run, which allows to add custom attributes to span.      |\n| `responseHook` | `SequelizeResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\n| `ignoreOrphanedSpans` | `boolean` | Set to true if you only want to trace operation which has parent spans |\n| `moduleVersionAttributeName` | `string` | If passed, a span attribute will be added to all spans with key of the provided `moduleVersionAttributeName` and value of the patched module version |\n| `suppressInternalInstrumentation` | `boolean` | Sequelize operation use db libs under the hood. Setting this to true will hide the underlying spans (if instrumented). |\n\n\n## Semantic Behavior\nInternal implementation queries generated on startup from connection-manager are not instrumented.\n\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-sequelize@0.0.0-2021-12-26--12-22","_nodeVersion":"12.22.8","_npmVersion":"lerna/3.22.1/node@v12.22.8+x64 (linux)","dist":{"integrity":"sha512-t14HyMdYcBLGfHXgJZjezS2NCMRjR2RUQ0iOoWOuLUBWfVTDHG6oPz9ru1cyJyVmyQcE0ebKJ4FOLfJEsJSlZw==","shasum":"53953d6a3b8c2a82b7ed3865c7dd46700ddc50d2","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.0.0-2021-12-26--12-22.tgz","fileCount":22,"unpackedSize":120362,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhyF6rCRA9TVsSAnZWagAA0AMP/RY3eE7izTWGtKGrDiRB\no9fmZsLYBg+6Zu3PWHZELAddS9TRezTZy2U7E+QJdOkB1axiCPSSbEVyJ9un\n253p/CnzNOBW52ogFTMQiK6V1Kk1QjyIguhKQkVz3c6Y1/Nrj6zl99fDiqQi\noBaHisCBEFZ0r/fuod4fHxrrBa8txeALfmQtrRW0u1/rmXVDAYQ3zOfJ3nIT\n96xySj2E9mnb9c8p15Ge65Aw52+/ygn9mJZLdQb9UTrZic1di6Rrdxlr6qiO\nuWF+PYP7bhFxFgnKu6CiuBmnKHtyDY+VUx2eHqoQOOXQNGeFuGmIVhU3n1Vb\nShVcQYOEO2PLXBylXrKXj0MZtm3GvSVPEF+YFgAUj6wozS+NHz9ACKliAeNg\n7HNIZEo+G4P98n9PTuLUnIgYYy96roJ6Zcrid80hJStWKiYhwdH4eeNcRj3c\nOKg9j7XUIRivcxHFJHofLWe2OGDT4DH6jf66EytK1fporr4vYu1MlZilj02F\n3lQkrRiED2qsH/TXF1Cn7KfCdDMIM6qAG0czRKEFuJV5eaCQ2yKz5bPUcFY3\n5r6w0qt7G7KuplRjQaXm6bg9KcNP4rIRA9Lvv47jInfSY8cvEyYmr7KVPhe5\nRNqrigqJMr5sRh2wK9+8ndmdYIVDOJ6iAlzKwje8D7jDVcfeBzvueALb22St\nxzdB\r\n=1W/8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB07FJTlGFoqe4+D/QiWfgCV84LePSke91K3sv6BmCSoAiBYqjuTeUbgjrwtIkDVZfcZL4v4fHUj9pSiXM/8VE/6pw=="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.0.0-2021-12-26--12-22_1640521387365_0.24953246578509392"},"_hasShrinkwrap":false},"0.0.0-2021-12-26--12-31":{"name":"opentelemetry-instrumentation-sequelize","version":"0.0.0-2021-12-26--12-31","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"peerDependencies":{"@opentelemetry/api":"^1.0.1"},"dependencies":{"@opentelemetry/core":"^1.0.0","@opentelemetry/instrumentation":"^0.26.0","@opentelemetry/semantic-conventions":"^1.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.2","@opentelemetry/sdk-trace-base":"1.0.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","opentelemetry-instrumentation-testing-utils":"^0.0.0-2021-12-26--12-31","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^9.1.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"591785317c33cddbfec450849d945af05520a0f4","readme":"# OpenTelemetry Sequelize Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-sequelize.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-sequelize)\n\nThis module provides automatic instrumentation for [`Sequelize`](https://sequelize.org/).\n> _Tested and worked on versions v4, v5 and v6 of Sequelize._\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-sequelize\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SequelizeInstrumentation } = require('opentelemetry-instrumentation-sequelize');\n\nconst tracerProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    sequelize: { enabled: false, path: 'opentelemetry-plugin-sequelize' }\n  }\n});\n\nregisterInstrumentations({\n  tracerProvider,\n  instrumentations: [\n    new SequelizeInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### Sequelize Instrumentation Options\n\nSequelize instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `queryHook` | `SequelizeQueryHook` | Hook called before query is run, which allows to add custom attributes to span.      |\n| `responseHook` | `SequelizeResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\n| `ignoreOrphanedSpans` | `boolean` | Set to true if you only want to trace operation which has parent spans |\n| `moduleVersionAttributeName` | `string` | If passed, a span attribute will be added to all spans with key of the provided `moduleVersionAttributeName` and value of the patched module version |\n| `suppressInternalInstrumentation` | `boolean` | Sequelize operation use db libs under the hood. Setting this to true will hide the underlying spans (if instrumented). |\n\n\n## Semantic Behavior\nInternal implementation queries generated on startup from connection-manager are not instrumented.\n\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-sequelize@0.0.0-2021-12-26--12-31","_nodeVersion":"12.22.8","_npmVersion":"lerna/3.22.1/node@v12.22.8+x64 (linux)","dist":{"integrity":"sha512-DGq4VoRU/h9B2oHxz5AXA75hZE5xAIWLuspfDGda6+D9MMZBbzRkvy//joTQKYr/7kvgHD9n5Njk2OGp0CNR7A==","shasum":"bcd7ff92c4f5d99a851d530b00deb9601b7c9ed5","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.0.0-2021-12-26--12-31.tgz","fileCount":22,"unpackedSize":120362,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhyGD4CRA9TVsSAnZWagAAbqwP/AzyJIibxrB979q1ZwRt\nQgfsA6maCGdwgX0ZTwzVce5dF+uCQrLQ+HRtSkAPYCxbaqDmgILeq5ENKOG3\nlAwrhOV3SVdGQgu2YLSv0Y+mgVPRVcM4JmYx/RT96a0kXbjUrYud4XX8xCf1\nQBQkCiC8arVrMhHPEAkeCukn11bGJZd08EeRo0we6qWCJ857nYgoCEg7XRqq\nkNHByEK+Hh7qcA/+d55PqHhV8DHscdNAN1gLj+Fb8i9jGtWAprFderVtHXmz\nKeBTAneasrijTyRcoFOQItPdV8j+YmhVXmSjsYiseZGBNLS+fKtLi2VHP0gb\nqNHm7NaAUlJHGVln1xC+EHh0Jxkzpvjq6NaS2JH2i8oQHCSqMGUAFSL/uK3h\nF1c2/iESzdEvAAGlP8K3N7RNTROYisKSc7nKrkdokfgOIxAMhGMs88ouieHs\nzynVpY/EjB3IDR3JZO4sYQr0lAQCbUOO/Fy0ioP8tKBMq1LonTi38Tau+8Dq\nYQe2YyRDRRmiQBzE0E+5eY34ap7+0eIbUEqceMcD4ANsGyduZ0zuLcswfL0s\n2Fo4UrkaoX9WgGpKjo8Dr723zjjcMKlGeSrpgectF3hQxVfyizKtTnc4kLqf\nqc010IhYRznOtEUtcLHwrCZs4NRbklZcDxXvgpCv/fVkc2OlLSpd3tLinDKp\no6RV\r\n=VOxB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFUs+oGmbuxzz1KaTfFHJyMksYfJCUFmMshaVyV0QpFQIhANiJ1xtUepalC4vQhzgavj3LRcejNpNVcNDKqgR67q4e"}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.0.0-2021-12-26--12-31_1640521976476_0.5249949737542172"},"_hasShrinkwrap":false},"0.27.0":{"name":"opentelemetry-instrumentation-sequelize","version":"0.27.0","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"peerDependencies":{"@opentelemetry/api":"^1.0.1"},"dependencies":{"@opentelemetry/core":"^1.0.0","@opentelemetry/instrumentation":"^0.27.0","@opentelemetry/semantic-conventions":"^1.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.2","@opentelemetry/sdk-trace-base":"1.0.1","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","opentelemetry-instrumentation-testing-utils":"^0.27.0","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^9.1.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"687393213037496a1105e522b1bc3110b11bd9c1","_id":"opentelemetry-instrumentation-sequelize@0.27.0","_nodeVersion":"12.22.8","_npmVersion":"lerna/3.22.1/node@v12.22.8+x64 (linux)","dist":{"integrity":"sha512-oHmFC7WfLSmJCb8y1SrCUKjtLCFltAEuweLfE+Zsz4/47wKMqUt28H+sNJbCBc94x8m7WhC8FR8CcH04aPMjdw==","shasum":"3b375cc68def4baf5b5d1abe727454a539757696","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.27.0.tgz","fileCount":22,"unpackedSize":120541,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhyYyECRA9TVsSAnZWagAAk6MP/Rt4hAnSpYrW3Y+VDP/i\nTukKkFTd0kS5znGqRuAUeUTljc3uMjZiOOpxYhPK3y3EeCGLrHNZzhhTbLrM\nIgqpGo7j+LQ1uHj0PbDaydd90/c21hCjGe0L81PNoGw+ecr9li/egR+pAx5b\nT4XWU7ahQ4RBXetlZmsmk3znbOCbr+Od0Yxyzzntl3rpMFya8rIvSvs5/4w4\nNLp+tJtSIGEp9WLg8uvlZqyKtcUR0FJCMyjCAjfGIf8D+um8BSTKTDE1YXgw\nI1A3pRkb159GKx826Cnx8dCIC2eAbLT2iEvMErcBzDLGGfAHZR1uATbjQuLk\noXGzP/kpJwqBJ486ROEJN/fv2XTs9EADLXT/Av5QKw+CBlutmbLXOr2tr8ad\n2XezYbUS8d+Xt5BMXtdxtDC5ON9XdphFq2L/nqxrjPWl5r+4hlEuFXLuUf+R\nacxUw0fVjyiwlAsP6wD5mLwJ+krNfoAQtQX4MIA+eMyF6xvn2FDzFkq/Izyr\nd0MNZBENA+B6frV9t/GWmXtoeFtKm4Gk2wOaiSwKNr6EbOF9YZU6Ux0/Yp7D\n7YICPUurWxbSHWl6Bfm3uxrzUmnBejB32IAfQZ6Fr8OqLLPFbv9pyidVqJ8P\nAu4gl3QRzdMcvvgFuaGdxG32xmpE3Y/I2NZDiQeZ4yE69JuS2V++0yCvNkpG\n7oDK\r\n=blLM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDfLsBCvZWYeiba4xahIJw0lgV4/LXdBK4ioWlFOTaMzAiBuKLUjtOAGO4mEuuDCQZhBQDvjNyZ47D9VfqaeLd05Mw=="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.27.0_1640598660146_0.9301367374846568"},"_hasShrinkwrap":false},"0.0.0-2022-04-13--14-32":{"name":"opentelemetry-instrumentation-sequelize","version":"0.0.0-2022-04-13--14-32","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha --require @opentelemetry/contrib-test-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require @opentelemetry/contrib-test-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"peerDependencies":{"@opentelemetry/api":"^1.0.1"},"dependencies":{"@opentelemetry/core":"^1.0.0","@opentelemetry/instrumentation":"^0.27.0","@opentelemetry/semantic-conventions":"^1.0.0"},"devDependencies":{"@opentelemetry/api":"1.0.2","@opentelemetry/contrib-test-utils":"^0.28.0","@opentelemetry/sdk-trace-base":"1.0.1","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^9.1.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"2e8247578b4b9efe980868177abdd2e793ea18ee","readme":"# OpenTelemetry Sequelize Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-sequelize.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-sequelize)\n\nThis module provides automatic instrumentation for [`Sequelize`](https://sequelize.org/).\n> _Tested and worked on versions v4, v5 and v6 of Sequelize._\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-sequelize\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SequelizeInstrumentation } = require('opentelemetry-instrumentation-sequelize');\n\nconst tracerProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    sequelize: { enabled: false, path: 'opentelemetry-plugin-sequelize' }\n  }\n});\n\nregisterInstrumentations({\n  tracerProvider,\n  instrumentations: [\n    new SequelizeInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### Sequelize Instrumentation Options\n\nSequelize instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `queryHook` | `SequelizeQueryHook` | Hook called before query is run, which allows to add custom attributes to span.      |\n| `responseHook` | `SequelizeResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\n| `ignoreOrphanedSpans` | `boolean` | Set to true if you only want to trace operation which has parent spans |\n| `moduleVersionAttributeName` | `string` | If passed, a span attribute will be added to all spans with key of the provided `moduleVersionAttributeName` and value of the patched module version |\n| `suppressInternalInstrumentation` | `boolean` | Sequelize operation use db libs under the hood. Setting this to true will hide the underlying spans (if instrumented). |\n\n\n## Semantic Behavior\nInternal implementation queries generated on startup from connection-manager are not instrumented.\n\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-sequelize@0.0.0-2022-04-13--14-32","_nodeVersion":"12.22.11","_npmVersion":"lerna/3.22.1/node@v12.22.11+x64 (linux)","dist":{"integrity":"sha512-9uc4DjUgPcvMxreOMZzP6ek5jU0ThEoy4C7yLus+nyKCVOjhbsinJK7Xg8fU5WQqpSXXIutA2crXYwkMcxbZKQ==","shasum":"5f8f659e3b793f7941b7d3dd4aa12ca77742c924","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.0.0-2022-04-13--14-32.tgz","fileCount":22,"unpackedSize":120644,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCiFzecLPXYvraNvfx+zWg3Wyay5R6bTTODZXex+B8dCQIhAJDitTqkWdqYJDlSndUKEYeDQApucUyGV+1z1bEIPZhn"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiVt8WACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqs4A/8DBb7TzdLq6U7w02HWzfc2TtfIJKMjlVp5MBkOBciClUCDtvj\r\nGqH79uYKDPKq16+JZRzLRXYW583bqhdvErVjk3pf/mK22ZP0IuEbiEWzjRQO\r\nENyO5fQCUsPqGP3HCWeDOtohpZckcWZiTKLQ7RHCpegPTGCKCfrTvvXeQ9d5\r\nVWXDanfn+Yd70NrcLAeoUSwHGAgUMXlfufFyqcMqRvKziMsEKqXWE7We2JQl\r\nRd6yhsd35NaAIs+YPRRpKmk+4A5prqzlAzttMnIHLGUBxrYd1AaCDCITS5fq\r\nSuHY2aMTXCV/RgPviTNq25I1eyvpaxK8TleyJxOSp1lwqi3ACoB6wpfsIZzh\r\nu9M8iwzCCYa76Zu2fR8vlrYI5ucCR4LZVZDa2+W+sVf4bsScl9CwwbOnLcJU\r\nUYrymQjQIXQXHBXrRi3H9M2rr9cnPf7uBujYTrs3KenwJxstBGvMq1Wkx03/\r\ncJcxc+/K2VultQv7UKpuaDQtfNo03cmll2RyzYqep/9lXrolrTgDgxkTqxSi\r\njI5djx83/PAGfMb565VzoNJt8HL6I53zGfNCVN5bUnt0Xyf/BvbrQa+1uogy\r\nP6T0I5z7N258q1VpPT3n41LZR0t/HjBtStcZwrnO/Fj5jzYlSH3sdqIPi1DM\r\nv6GKjYT8BWYVg3VuiSB1OQF/lrdxLr23KEk=\r\n=dkSk\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.0.0-2022-04-13--14-32_1649860374542_0.1524775204458657"},"_hasShrinkwrap":false},"0.27.1":{"name":"opentelemetry-instrumentation-sequelize","version":"0.27.1","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha --require @opentelemetry/contrib-test-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require @opentelemetry/contrib-test-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"peerDependencies":{"@opentelemetry/api":"^1.0.1"},"dependencies":{"@opentelemetry/core":"^1.0.0","@opentelemetry/instrumentation":"^0.27.0","@opentelemetry/semantic-conventions":"^1.0.0"},"devDependencies":{"@opentelemetry/api":"1.0.2","@opentelemetry/contrib-test-utils":"^0.28.0","@opentelemetry/sdk-trace-base":"1.0.1","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^9.1.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"e473527226dc901fc0006df49f729b9137b7323b","_id":"opentelemetry-instrumentation-sequelize@0.27.1","_nodeVersion":"12.22.11","_npmVersion":"lerna/3.22.1/node@v12.22.11+x64 (linux)","dist":{"integrity":"sha512-hT0vd9jyqDlA8oZ2Frb/4mIMjxamUq/a59oGz9R/eVKmSbWfVWJLdJrBSudJZ5UH7ygZ8P5yAUkDqv5mGKHBkg==","shasum":"3ed7ac0d8a31c42470db5386bb39b2a5ca5f4b76","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.27.1.tgz","fileCount":22,"unpackedSize":120982,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBmTl0EBB0uZdXyoyi9PJrgPn7bPBuMhufuPTgEC9JY7AiA980nPRx8HK6NFqlOA8ukav1C+ue6ARBeDyxFodTai8g=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiVu8IACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoKpBAAoS2S2gu/AdC+4HHSUckG5MJ4snvKY5OljHv7uYyvgqS4NhNI\r\n6U9f3bLw3UC7nzDa9Av1qhR+s1sHCwMtYfxwLIbpOUDiaDwJMSXEVySEl5SS\r\nfNLQkIXLID+C/PutcGwViMEx2BrywDmhUBwf0OQdQU4T2mtm5d8N2I8yktlF\r\n0ciEoxMAhsnXx5Jqnnx10HGUQu18poimy/nzdR82JX8EqDppgsPKeR+kLjjK\r\nB5weoFeqV0OFR9HoP0IfoTxH1+x5ZAUEuhUPEIWFfFRCgonpTHHKpC9S9e/U\r\n5OeWZ/kmw3GFQXdMX8baCL1uXRVKQrE/Ur7YpqpsLXIv/vwOvqoni3ikI4Ik\r\nYJGMfrM8mqGaS6ZJpYk0bXP6YTdn+pbO0X6wJIlRwxPVov5sYS0YPseAUVTO\r\nYwd35UhUeYONU+GiTXSqMmH+dQ5kJ0V7h6AHFLEPH+f/AQcMO69PccIh38pA\r\nrhMHzqvQ797TghcgSs0knIdgZBWpMNA1INFfxUsP3hKEKnnuybxPZjEdn2JG\r\nHjULVis+YWyp549YCeYpcw/Ve3Rjfiumt4brZC2wnBcz57JlTohc/eV4LWLI\r\nJNk5D05PN8NXwYp5bQLleyxFjxm2QNPxetRsmKwhqDlBZn3ofpw40rTqFTa3\r\njuJ7mkB6RGeAemLOVT8X4bvtJDYSR/kdaG0=\r\n=miWg\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.27.1_1649864456529_0.7777571295969294"},"_hasShrinkwrap":false},"0.28.0":{"name":"opentelemetry-instrumentation-sequelize","version":"0.28.0","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn build","test":"mocha --require @opentelemetry/contrib-test-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require @opentelemetry/contrib-test-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"peerDependencies":{"@opentelemetry/api":"^1.0.0"},"dependencies":{"@opentelemetry/core":"^1.0.0","@opentelemetry/instrumentation":"^0.28.0","@opentelemetry/semantic-conventions":"^1.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.0","@opentelemetry/contrib-test-utils":"^0.30.0","@opentelemetry/sdk-trace-base":"1.2.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^9.1.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"4b2ef8358671e75cda095ea22c9a73527f146395","_id":"opentelemetry-instrumentation-sequelize@0.28.0","_nodeVersion":"12.22.12","_npmVersion":"lerna/3.22.1/node@v12.22.12+x64 (linux)","dist":{"integrity":"sha512-MVDG5PG6glEPoQUJO6dcNhJZ0d6LtH6A4w76vZRStIFnnkgU0gw5G3uBTJAdVz3BDIaL0eRg5AdB0O+AS+ZNQA==","shasum":"8c79bb52442ef18d96e4b8bb1447977d64b5959a","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.28.0.tgz","fileCount":22,"unpackedSize":121428,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDh697STVbBJ15Dh15+0tmtYRve6GGdN750E7iPNqsmqAiAou78xBP8WfE3t6oF5oR8SXY7ji4+2UOZ4hUFOCg/u5w=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJimMtVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqwqhAAkhMtNtIybbGP74lltvCrA8MP1KFdz2PspU7xxgSGn0Pado9N\r\nh+G/U7R2ABHbv61q3CLwUAYz0W2KKq/RELnLcBgpsZYTZOvIiARPo2Qw7/ft\r\nyuSaYziurDK5uv2658oTXT17O7MDAQVIep6pKVG0WLayx9zUgPjM4PlTwGNm\r\n1bJmuLpr4TH77r4yl7peO126usLCBwGlkLOIk57WDQ6CW9IDCJKq6bsCyg7Q\r\n106neYegFNPgvKAlOSye3Gx/24ef9WUM68vKL2p3rzow6frLy8qN3gPtijV+\r\nGRYQar3cuPWYUIq+Vpfbskpr4a/tCcfLxl5cEP1y/7mvpiAt02Wl7iExYNy4\r\nCdoktEkxXc5pBIb0gJBT/4s6XeGnSpEk0Px1tUgq4ybm2wwz6EQxYYNEh0GV\r\npZTEv2pAHZZF5rUNZGZqiaPO2MZZhk2eA70WowrNSZkd2ZO534uEUQzkzoR4\r\nfgHGHWTzprzyFnjAC2PsA7qL20iUeSoUe9YgWhTHQRvt96JhYuZcDSnp0wYj\r\nsPoTJat8o3k/Ws1x8yCeuiag9BiDRWhlWXGze/BV6xFiWrfPN/0sAaiZL6n8\r\nFrq7lI824Hbf/b6bglvMARHhJ+tKp6zV7IHU5cBqdbdq3G5otqUiQqCR/4jE\r\njHJf0/J4/yySCAbRgV+McUku2WPCERP2ZSk=\r\n=6Tul\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.28.0_1654180692739_0.3920520444013891"},"_hasShrinkwrap":false},"0.29.0":{"name":"opentelemetry-instrumentation-sequelize","version":"0.29.0","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn build","test":"mocha --require @opentelemetry/contrib-test-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require @opentelemetry/contrib-test-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"peerDependencies":{"@opentelemetry/api":"^1.0.0"},"dependencies":{"@opentelemetry/core":"^1.0.0","@opentelemetry/instrumentation":"^0.29.0","@opentelemetry/semantic-conventions":"^1.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.0","@opentelemetry/contrib-test-utils":"^0.31.0","@opentelemetry/sdk-trace-base":"1.2.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^9.1.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"55606fc29b3e835f0b06892462c9832471dbbb3b","_id":"opentelemetry-instrumentation-sequelize@0.29.0","_nodeVersion":"12.22.12","_npmVersion":"lerna/3.22.1/node@v12.22.12+x64 (linux)","dist":{"integrity":"sha512-nBhWMhpOtFxR0+W9WwTC+g49UMPqDMusbceGycDJOaq9l7B/IGo8a15UHKm4N4uU/Cr1NTrvyJ0cFXUtSh7i3g==","shasum":"d8355b7c845473b3d66978b80620dba6f686e257","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.29.0.tgz","fileCount":22,"unpackedSize":121856,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDAKfekJXgWbQxpHJcmfLTFbGtkNnyMQsgoesViVo6EhgIhAK4V+csxYqwfCyTqokmcM96qGQKuaN0dS/Iq6hUDQeTl"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiuswAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmouXA/+Olk+cgOJHME6K8Jqz6gVswjfrN0RWmQQN1RCDDQwh9ovAVVk\r\n7LrThJnydsHSQI3jIAoIxAoQt+ycl2qCgvCAK24QypEYVoiH3YoAgNM5tuHW\r\nXAZxAHTsVeZRBFaw4qNGKM6GzvVlWNH9SEaSW9Hvkv5hzXea4R/dvsCn8krm\r\nEEhIBBzYpgS7v+6UZPYDkreoCsmSa+PO80NYgvfknhApaS5ylhKtVI1LMiE5\r\nNVC0Pkk/KGYCQCiJeYJK4g1HziYL2NwC9+2yc5CFqK+yHc9xKXCCIeUB9EOY\r\nf+Bzr3JEiVRJEltSaCroOWBSY4VGvFHIFx4EVgeTKP4R0jDXe9BSkVNLYjzn\r\nRZEei2giuS3WLw16MveI8mFCy2q3DwzahKv8Knjr58S/bCA4wRhR+Oq5LAX3\r\nSzC9oea27JAEP0oxNDLCrJ+02SqB82CBrJYLPjhI1uA0hQiMBKoBBp7bdNfY\r\ngSBfhjI0evQHJwrHglbGaHmcSFv4u+I/haGDKehkjNr5ClLrNalWaix1oJsv\r\nYLJUvKpUNOCl4KOvJaBWOvO1zIY4o/Qt72dWZlHGWgKYTrBYW0qt5Jyd7+aa\r\nu/DPvBbipaZicYqd0F5KzWX+K/0E1PKfyiCNXVn3UdLTz7LDwU5NWe5ExRrK\r\n5lHjDsgqIBs0k7bf82ZvmVTGdW05cCQfuR4=\r\n=5iTj\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.29.0_1656409088587_0.9007168669505725"},"_hasShrinkwrap":false},"0.0.0-2022-07-11--08-09":{"name":"opentelemetry-instrumentation-sequelize","version":"0.0.0-2022-07-11--08-09","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn build","test":"mocha --require @opentelemetry/contrib-test-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require @opentelemetry/contrib-test-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"peerDependencies":{"@opentelemetry/api":"^1.0.0"},"dependencies":{"@opentelemetry/core":"^1.0.0","@opentelemetry/instrumentation":"^0.29.0","@opentelemetry/semantic-conventions":"^1.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.0","@opentelemetry/contrib-test-utils":"^0.31.0","@opentelemetry/sdk-trace-base":"1.2.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^9.1.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"d4b1388181deeeaa3ad626524493f9e85222d13a","readme":"# OpenTelemetry Sequelize Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-sequelize.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-sequelize)\n\nThis module provides automatic instrumentation for [`Sequelize`](https://sequelize.org/).\n> _Tested and worked on versions v4, v5 and v6 of Sequelize._\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-sequelize\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SequelizeInstrumentation } = require('opentelemetry-instrumentation-sequelize');\n\nconst tracerProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    sequelize: { enabled: false, path: 'opentelemetry-plugin-sequelize' }\n  }\n});\n\nregisterInstrumentations({\n  tracerProvider,\n  instrumentations: [\n    new SequelizeInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### Sequelize Instrumentation Options\n\nSequelize instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `queryHook` | `SequelizeQueryHook` | Hook called before query is run, which allows to add custom attributes to span.      |\n| `responseHook` | `SequelizeResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\n| `ignoreOrphanedSpans` | `boolean` | Set to true if you only want to trace operation which has parent spans |\n| `moduleVersionAttributeName` | `string` | If passed, a span attribute will be added to all spans with key of the provided `moduleVersionAttributeName` and value of the patched module version |\n| `suppressInternalInstrumentation` | `boolean` | Sequelize operation use db libs under the hood. Setting this to true will hide the underlying spans (if instrumented). |\n\n\n## Semantic Behavior\nInternal implementation queries generated on startup from connection-manager are not instrumented.\n\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-sequelize@0.0.0-2022-07-11--08-09","_nodeVersion":"14.19.3","_npmVersion":"lerna/3.22.1/node@v14.19.3+x64 (linux)","dist":{"integrity":"sha512-dNYAzZXIofOY4BWNEOM5udD6NJ64VBL6ECdnyHXW1aCDwloU6XSLuR3cCGH7MN8neUVSUR1LL6jioeQRV9WBMQ==","shasum":"63897bf62ab968d4610ee97a46f1424dc9001312","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.0.0-2022-07-11--08-09.tgz","fileCount":22,"unpackedSize":121926,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFF0JlkMfCUcYo+fWNoAr8tw69MzosZt2Qh2ezEZQSYQAiB8z8e6V5pd6rEPExonRZLRJ6mGU4rRsM6sZD4VtWFuNw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiy9rcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpG7xAAol7QGfUmCwAp9G5F/MpdaiaM3ArbwujpVHVo1iKo3I9awtUA\r\n2wkUaxIIrpOomlq2560eRYQxV6//T/hhCvOoK75vO0fQaDj/o0epGvAhxfDW\r\nI4mRT8du/4NeypHsbtP3RL3jePGPVEfhmw3p7NjgeZFbQYP5oTNce8hgy1Lx\r\nzGD9JIW6uQTyX2jSwaKKckfQjau+TewMNHtkynXZG+ooKZ+bhyJu42HoMNif\r\n99x/QIY47IS5X3nt70HXWbp4G7kt4I0UwvgT8eDkVDIya+56hRg37bQf5wQH\r\nqVjHPyk4dDLwguIgADfB3V/z58CLOT+s3fN2R2+ZTnIuY0xCfDy6bWn+YNfw\r\njIeLeNRJBCR7UalgPLCHe3Yeo+etPBqOVoK6AP778Cqz9xNMOzhyFkRumBGg\r\nfoOO/eyAmdtSxumdhWQUgr5mAhKQt/UjRULRcpu8FCcYhpixPwZKLB3sjkjp\r\nuprEX/oG8nivPYwK+yTUzx6CedWuCCtZSfQj46cXoXH5hD7FnnMC8vgg4qoz\r\nwkzTXMJse2FEnF1Z9j/y9zucuG/xFP+o3vGhxzeEqmIA5DX3BadyaxzhQ9b+\r\ncuCGO/1XHT1KuhfuQyYP32OGQfX8KqeGdX58uJGwRMq3KEul4am80CxeSH3i\r\nNvfZCR0GA6OxEPHYwLLAgcusElfNMf3E5mg=\r\n=K3wH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.0.0-2022-07-11--08-09_1657527004692_0.7070329038020984"},"_hasShrinkwrap":false},"0.32.0":{"name":"opentelemetry-instrumentation-sequelize","version":"0.32.0","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn build","test":"mocha --require @opentelemetry/contrib-test-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require @opentelemetry/contrib-test-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"peerDependencies":{"@opentelemetry/api":"^1.0.0"},"dependencies":{"@opentelemetry/core":"^1.0.0","@opentelemetry/instrumentation":"^0.32.0","@opentelemetry/semantic-conventions":"^1.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.0","@opentelemetry/contrib-test-utils":"^0.32.0","@opentelemetry/sdk-trace-base":"1.2.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^9.1.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"55e1b892a2d6ec6c9097e6e39ff69d15562b549b","_id":"opentelemetry-instrumentation-sequelize@0.32.0","_nodeVersion":"14.20.1","_npmVersion":"lerna/3.22.1/node@v14.20.1+x64 (linux)","dist":{"integrity":"sha512-CV5jpz3FLq+drIW7Z+P8SogM7UgYzTZDeigHVeMuGMG1RSG5DsydCbeso7JKHhBrNdRgRTW3BsMaebHvrULPQA==","shasum":"fc60b5147b03b41272720570d79ec8a94628ae8e","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.32.0.tgz","fileCount":22,"unpackedSize":122284,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDkMHhkx318VBWismiITzVwcHWGOyeYtxEZjD+ey/N24wIhAJeqtDPDtbcr2o/ShUSlG4BXPuxutJeYAGH8JR1Nprp0"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjTnyPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoA2w//Wb8jw25Xe2Em3/jCy0GWDrCswAw5cOJ3jq0qlWIhjbvQ8rXl\r\nUS3H5OFuNq6UNAgkuoautM34BH86MrlxmNs8ZAUOgfvuzCmJGCR+BwQAh++T\r\nms47lbGFGVRubh2373IQnUHuPx7BxnSC+b77ZzyE/Brq2Dp2NZq7kFPdxj4y\r\n076c40/IQYVNZWTbgLmBFcoHbbHs+38bxE56PM6aMjxCbzbsKLuNt1qkJKAP\r\ntUr2oTO0e5pIPC3msLo8X3xNKOSGjsJTRm+K9vK3/ZbTrYgg3n2G0qPfkALj\r\nH9QOYoPKx0A7VLBmnPUoW/3EwzEgVfVTS3bz1THksLSu8btRjAll9GxgpT5l\r\nBJzy6lJrVK7EJxCz3S6r8Cu2rqAmWnvXNacL9hxYJFudpo5T1DNMcOWjcGz0\r\nxxoVyHsXQOdER/P06URNC6XNSMamMxFcgHljsxPjpPhU5plH/jbND3TUo4If\r\nbMTxO4aG5J85kpOizKP+P+3DJtxWPhcbYJCIuEm9N4MAy/eSCXDJFdDrrsKm\r\nDFdlXpDpXF0T3kPgbT35GRmjOC+VFogVIjMxa+4NmdXMxwb44tK0iXGhghXl\r\nT6lFUZ9FjvshTFQUd0ZSfXnXVpKYrDt8b6Mt2sg3Sa9ADFUzQbJ/gSVz3qlD\r\nGwvVLvIBSj9GiRwH0s1HInDoulLqA8hcQEE=\r\n=2XQs\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.32.0_1666088079280_0.398563011677902"},"_hasShrinkwrap":false},"0.34.0":{"name":"opentelemetry-instrumentation-sequelize","version":"0.34.0","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn build","test":"mocha --require @opentelemetry/contrib-test-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require @opentelemetry/contrib-test-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"peerDependencies":{"@opentelemetry/api":"^1.3.0"},"dependencies":{"@opentelemetry/core":"^1.8.0","@opentelemetry/instrumentation":"^0.34.0","@opentelemetry/semantic-conventions":"^1.8.0"},"devDependencies":{"@opentelemetry/api":"^1.3.0","@opentelemetry/contrib-test-utils":"^0.33.0","@opentelemetry/sdk-trace-base":"1.8.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^9.1.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"ccc45183d4f5386a4f675f2c02acd8c41a4293d9","_id":"opentelemetry-instrumentation-sequelize@0.34.0","_nodeVersion":"14.20.1","_npmVersion":"lerna/3.22.1/node@v14.20.1+x64 (linux)","dist":{"integrity":"sha512-aL6wT5mktsjRqbimcetwIpEE9sQsmxMNqZ175qA5uT0g8iifso06Oche5r3yolYG9PuVgocLZr+sSVWqdepZwQ==","shasum":"59bdce65519c1dde1802d8c4a83b637fba815634","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.34.0.tgz","fileCount":22,"unpackedSize":122711,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEXXI3AW434tyTwHRgHcjAn7JKzlYTq7kJJIInRSwz/eAiEAjJQpnW4hcowGFantsUMzXqkLYslQXdr1fCZRkdpcW5Q="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJje2D7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpHxQ//deJ5zhrUvJMzfXhtIaBvKWwpKLgIP/GB0kQhwqo436vmMRPq\r\nquei0aV4IUlrmkmjLxIsTc4IKGbiomFjitSS3kMFksdpIvLnERbbRifQHE4d\r\nSdZIdpIL3qo2uKc+xCO2rOuMKMPGm9gWbzMek9YFdr8lIYpuV7pI1Do7Rif3\r\nL81LH3CS9vktPyh4UBfo6KzyV1LIbLmNMth5lYGVnJa1s6sO/kascyO978IR\r\nQ8XnMi9zBk4bFuL7OiOrbq0+FXdEgmeN85kG1C0Zxtd3NdH55h6G5TfGem/v\r\ngIGOz5oU1Nn3decDw+u5RZEzslgsBXbeol2h2lEvIRbC+chvusOe1Qmb9PF2\r\nBGOKML0vl3p7/BmVioDPKM6fQJsb/f1Q2ps0SLRojKwfWBjpgrD5sjgkWRt9\r\nTpvZTEXbho8SHi8hy71Ug4D/xDjNj4jZtE02bFTIgZyTG5n6V/rAghDz7/lX\r\nslfr2C+3zX5NlsLc/n4Ac+qinmHC21JWH0OymfelJijI5PJ3oCX5bHGh19QX\r\nk3hYGw/3xBXwuBm2nXJlGORWHaHY5aZQjMAR/eAO8+uyBKlCOfDVBFKi698R\r\n0NZOvf2EEFYT0ab3JgRHKaSsS8YNy52kuUPqhE3nlxRFEAH9W0bHpJwZiHyP\r\n1wxBLhLjYBO6j8bsDTxZL9OMLe6ywiPp2Xo=\r\n=D04M\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.34.0_1669030139346_0.05152807397352244"},"_hasShrinkwrap":false},"0.35.0":{"name":"opentelemetry-instrumentation-sequelize","version":"0.35.0","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn build","test":"mocha --require @opentelemetry/contrib-test-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require @opentelemetry/contrib-test-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"peerDependencies":{"@opentelemetry/api":"^1.3.0"},"dependencies":{"@opentelemetry/core":"^1.8.0","@opentelemetry/instrumentation":"^0.35.1","@opentelemetry/semantic-conventions":"^1.8.0"},"devDependencies":{"@opentelemetry/api":"^1.3.0","@opentelemetry/contrib-test-utils":"^0.33.1","@opentelemetry/sdk-trace-base":"1.8.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^9.1.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"c539814a11ce53629195b0c3b017ab2ab7046511","_id":"opentelemetry-instrumentation-sequelize@0.35.0","_nodeVersion":"14.21.3","_npmVersion":"lerna/3.22.1/node@v14.21.3+x64 (linux)","dist":{"integrity":"sha512-bYcw98dFTbAGcGzIwNa+09mnW7tRgew0qR9L09oo3X3+L6NtA3C6GxGVGBa9ExxHJeokSl5F5ytSMTYVUG4iBA==","shasum":"ac583d0a2283e251f71c35b983ffeb06305f8b2b","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.35.0.tgz","fileCount":22,"unpackedSize":122977,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkMisffHYpTJE6M4LMtfdofMZM5VJ+o/dvE3Wg9sytTQIgX5L1HHNoTBz44qpNWVV8ZpcMW/5RxjMc90mmBnsCIY8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/wooACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqvwg//fZ8zhO68LJ0n2CP009ffwtajD/K+PDUZiu8vvFd0sECCcBTh\r\nY9waZGd7DppgJK+W17o15ZhZHvCV3X0Wvbx/x3SL6xH4dxAnAKh8YKAL5zm2\r\n+pvOXMjrCWWOY/WhZj0VppKEFU49KWxdfbNPQ2kina7/eQNeb1JITjy8V2E0\r\nGZs/cSDXKpM/0kUEP+/GGiXF574j4Z54Rut3UcVE9z5E481DOhyeh27ryhaJ\r\nPFLqAfywlTqwx1EDoIAgsaqiyncR1Rqifx6m44unVUiWv5JZ67976qImHhnc\r\ntoJp7lWmMwfx7+6jsqfDlCRS7dW8QMUGDPenccUNKEqUu3QIx/3QWzejSON0\r\nxwU9wGz28KLAc19w6+ZSlHvoCABcKTvTaR37aqiOW96n9h4GnJy2KXKq2wtU\r\nHOM93U3v6I1Ih9Le51l3yKqLWm7h1z2w7yUtJAd54sqZlEmdUrAdNnESyV8w\r\nb50NmREbIxoUzbH08S1hEcDvCmoYhZYy+QYSmG0Dzt7W2mscwOBSdQLiOnl8\r\npBGiKBTrvWcaniLP9m++Gm48idYOPfc4GAvLEv+IpUSmrqqDRg700SZpiIkM\r\nKwS/JTnzItMWSY8BoMLhG90rnOqcLsuLDOspQMpCuCFyfdVlmWgi2hzKvxqi\r\nqbXc3nV+RjiWQE8Ghx1xmimXRQY6kXbYjEs=\r\n=Iqcu\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.35.0_1677658664014_0.1059701399040538"},"_hasShrinkwrap":false},"0.0.0-2023-07-26--14-48":{"name":"opentelemetry-instrumentation-sequelize","version":"0.0.0-2023-07-26--14-48","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn build","test":"mocha --require @opentelemetry/contrib-test-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require @opentelemetry/contrib-test-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"peerDependencies":{"@opentelemetry/api":"^1.3.0"},"dependencies":{"@opentelemetry/core":"^1.13.0","@opentelemetry/instrumentation":"^0.41.0","@opentelemetry/semantic-conventions":"^1.14.0"},"devDependencies":{"@opentelemetry/api":"^1.3.0","@opentelemetry/contrib-test-utils":"^0.34.0","@opentelemetry/sdk-trace-base":"^1.8.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^9.1.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"67eb37b2cfe933c3a1b9dacec4691403e5b4b240","readme":"# OpenTelemetry Sequelize Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-sequelize.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-sequelize)\n\nThis module provides automatic instrumentation for [`Sequelize`](https://sequelize.org/).\n> _Tested and worked on versions v4, v5 and v6 of Sequelize._\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-sequelize\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SequelizeInstrumentation } = require('opentelemetry-instrumentation-sequelize');\n\nconst tracerProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    sequelize: { enabled: false, path: 'opentelemetry-plugin-sequelize' }\n  }\n});\n\nregisterInstrumentations({\n  tracerProvider,\n  instrumentations: [\n    new SequelizeInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### Sequelize Instrumentation Options\n\nSequelize instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `queryHook` | `SequelizeQueryHook` | Hook called before query is run, which allows to add custom attributes to span.      |\n| `responseHook` | `SequelizeResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\n| `ignoreOrphanedSpans` | `boolean` | Set to true if you only want to trace operation which has parent spans |\n| `moduleVersionAttributeName` | `string` | If passed, a span attribute will be added to all spans with key of the provided `moduleVersionAttributeName` and value of the patched module version |\n| `suppressInternalInstrumentation` | `boolean` | Sequelize operation use db libs under the hood. Setting this to true will hide the underlying spans (if instrumented). |\n\n\n## Semantic Behavior\nInternal implementation queries generated on startup from connection-manager are not instrumented.\n\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-sequelize@0.0.0-2023-07-26--14-48","_nodeVersion":"14.21.3","_npmVersion":"lerna/3.22.1/node@v14.21.3+x64 (linux)","dist":{"integrity":"sha512-Dcup0axOIod52VzPan9GsgpNPUOWtVsEQB7vUjTnfDmKK3Vl4Sd5D7hvKvu9rHoJImwP8W9+jOB39fF0wGZfJg==","shasum":"a9b3b9adb40f110afec0a895a5bb1319e2bb796e","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.0.0-2023-07-26--14-48.tgz","fileCount":22,"unpackedSize":123050,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCPNNNoqsUlf5HeGNX7YtOnMa43Jyt8c4jXwmq1v7x0MwIgIX/W2iz/g18Zy46TXzkn8WrLzXedKwppg7bV6TxaRS0="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.0.0-2023-07-26--14-48_1690382946858_0.4992633667782467"},"_hasShrinkwrap":false},"0.35.1":{"name":"opentelemetry-instrumentation-sequelize","version":"0.35.1","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn build","test":"mocha --require @opentelemetry/contrib-test-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require @opentelemetry/contrib-test-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"peerDependencies":{"@opentelemetry/api":"^1.3.0"},"dependencies":{"@opentelemetry/core":"^1.13.0","@opentelemetry/instrumentation":"^0.41.0","@opentelemetry/semantic-conventions":"^1.14.0"},"devDependencies":{"@opentelemetry/api":"^1.3.0","@opentelemetry/contrib-test-utils":"^0.34.0","@opentelemetry/sdk-trace-base":"^1.8.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^9.1.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"7a6ce9bbc0917c740a78637e97a5eeeca21c441a","_id":"opentelemetry-instrumentation-sequelize@0.35.1","_nodeVersion":"14.21.3","_npmVersion":"lerna/3.22.1/node@v14.21.3+x64 (linux)","dist":{"integrity":"sha512-D5VqdpKw09E+nlVzJt6pWClUG5BxQaCH1PgNyO8e6O4C6KjRnnDdWYa2/AhisksiJ6xFSP5HjgxaBy0llijQxg==","shasum":"06a272ba9e222a56bb91cb11d8bbe63f5e9a5fa1","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.35.1.tgz","fileCount":22,"unpackedSize":123247,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGaIOrGCzf9A4kdyqZXa6s9tmtD8ztoPqgBYTldQv1A/AiBh3PWylRrzKcpRsuValuL/nY507GSwV4AiEp8Ih7mklg=="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.35.1_1690457704590_0.08768003695738202"},"_hasShrinkwrap":false},"0.39.1":{"name":"opentelemetry-instrumentation-sequelize","version":"0.39.1","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn build","test":"mocha --require @opentelemetry/contrib-test-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require @opentelemetry/contrib-test-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"peerDependencies":{"@opentelemetry/api":"^1.3.0"},"dependencies":{"@opentelemetry/core":"^1.13.0","@opentelemetry/instrumentation":"^0.41.0","@opentelemetry/semantic-conventions":"^1.14.0"},"devDependencies":{"@opentelemetry/api":"^1.3.0","@opentelemetry/contrib-test-utils":"^0.34.0","@opentelemetry/sdk-trace-base":"^1.8.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^9.1.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"8083e6c2c9a25ef82bd43a766d93732c60dbd674","_id":"opentelemetry-instrumentation-sequelize@0.39.1","_nodeVersion":"14.21.3","_npmVersion":"lerna/3.22.1/node@v14.21.3+x64 (linux)","dist":{"integrity":"sha512-LMZ9UxMbD23JhAqrHdzwd6w0khEYNkBK7ic+aP2vTLI06RutfiOmk0OZkKvzCW5ZozAsO2vI4zihJCqJGN98gA==","shasum":"1fb3e1fa517ef776e749b0c5c5b043c4132c1659","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.39.1.tgz","fileCount":22,"unpackedSize":123514,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCauXZEqcogdYF6eHAfYFPaNyjfmUfjHqTFp3iu+H+ujAIhAOZlh4QRrNmGH0NN6bq+F55UoBiuT6M1Y8oKalblj/wh"}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.39.1_1690459770797_0.4568682929850736"},"_hasShrinkwrap":false},"0.0.0-2023-10-17--13-06":{"name":"opentelemetry-instrumentation-sequelize","version":"0.0.0-2023-10-17--13-06","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn build","test":"mocha --require @opentelemetry/contrib-test-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require @opentelemetry/contrib-test-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"peerDependencies":{"@opentelemetry/api":"^1.6.0"},"dependencies":{"@opentelemetry/core":"^1.17.1","@opentelemetry/instrumentation":"^0.44.0","@opentelemetry/semantic-conventions":"^1.17.1"},"devDependencies":{"@opentelemetry/api":"^1.6.0","@opentelemetry/contrib-test-utils":"^0.34.2","@opentelemetry/sdk-trace-base":"^1.17.1","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"0.0.7-alpha.1","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^9.1.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"f8da552adae250e08f2062df741972440df3ac97","readme":"# OpenTelemetry Sequelize Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-sequelize.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-sequelize)\n\nThis module provides automatic instrumentation for [`Sequelize`](https://sequelize.org/).\n> _Tested and worked on versions v4, v5 and v6 of Sequelize._\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-sequelize\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SequelizeInstrumentation } = require('opentelemetry-instrumentation-sequelize');\n\nconst tracerProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    sequelize: { enabled: false, path: 'opentelemetry-plugin-sequelize' }\n  }\n});\n\nregisterInstrumentations({\n  tracerProvider,\n  instrumentations: [\n    new SequelizeInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### Sequelize Instrumentation Options\n\nSequelize instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `queryHook` | `SequelizeQueryHook` | Hook called before query is run, which allows to add custom attributes to span.      |\n| `responseHook` | `SequelizeResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\n| `ignoreOrphanedSpans` | `boolean` | Set to true if you only want to trace operation which has parent spans |\n| `moduleVersionAttributeName` | `string` | If passed, a span attribute will be added to all spans with key of the provided `moduleVersionAttributeName` and value of the patched module version |\n| `suppressInternalInstrumentation` | `boolean` | Sequelize operation use db libs under the hood. Setting this to true will hide the underlying spans (if instrumented). |\n\n\n## Semantic Behavior\nInternal implementation queries generated on startup from connection-manager are not instrumented.\n\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-sequelize@0.0.0-2023-10-17--13-06","_nodeVersion":"14.21.3","_npmVersion":"lerna/3.22.1/node@v14.21.3+x64 (linux)","dist":{"integrity":"sha512-AlqEs6GTaCkcjisvziXMvBmqSCHgYOSjZFe4S1w6KBwV82ZCOuT0vB1c94ryl4bfipK2S5YH/cbWfBBP7TiW+g==","shasum":"e01b64ad992b33e4ad7a9b50c2a9465193d71150","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.0.0-2023-10-17--13-06.tgz","fileCount":22,"unpackedSize":123588,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGfvnCicJVAn8uAGueQVjXdrmYmP0hTtbMALOY+RqXpAAiEAkSSgnAe2DU56TIKigduBRt7pxBdCxnleP9v3buC+mvA="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.0.0-2023-10-17--13-06_1697548070833_0.3096759427801852"},"_hasShrinkwrap":false},"0.40.0":{"name":"opentelemetry-instrumentation-sequelize","version":"0.40.0","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn build","test":"mocha --require @opentelemetry/contrib-test-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require @opentelemetry/contrib-test-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"peerDependencies":{"@opentelemetry/api":"^1.6.0"},"dependencies":{"@opentelemetry/core":"^1.17.1","@opentelemetry/instrumentation":"^0.44.0","@opentelemetry/semantic-conventions":"^1.17.1"},"devDependencies":{"@opentelemetry/api":"^1.6.0","@opentelemetry/contrib-test-utils":"^0.34.2","@opentelemetry/sdk-trace-base":"^1.17.1","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","opentelemetry-instrumentation-mocha":"0.0.7-alpha.1","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^9.1.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"3be217b8c6c8a6ae41486c51453781732c2c3ea3","_id":"opentelemetry-instrumentation-sequelize@0.40.0","_nodeVersion":"14.21.3","_npmVersion":"lerna/3.22.1/node@v14.21.3+x64 (linux)","dist":{"integrity":"sha512-1zH2OuFk+P+QMjSc+CX5xC1DLWQOHe+gnt4Gvuwl5Exl2eyMCrvFQrGh2+QoPgcOLFYorbQhjyoFJYW6yXcKsw==","shasum":"f2b272e86e179e6e5d0f83d832b2886eb10314a1","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.40.0.tgz","fileCount":22,"unpackedSize":123784,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkRinxtLAsyV6bJO/ILF3QPxMKZtlnh7p/g3ODRHYFsAIgVzO3KXjc8xsA4RFYLXyofqBeVisdaBoyVcdfh7e/O5g="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.40.0_1697549248287_0.09329178233986513"},"_hasShrinkwrap":false},"0.0.0-2024-05-16--12-47":{"name":"opentelemetry-instrumentation-sequelize","version":"0.0.0-2024-05-16--12-47","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn build","test":"mocha --require @opentelemetry/contrib-test-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require @opentelemetry/contrib-test-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"peerDependencies":{"@opentelemetry/api":"^1.8.0"},"dependencies":{"@opentelemetry/core":"^1.24.1","@opentelemetry/instrumentation":"^0.51.1","@opentelemetry/semantic-conventions":"^1.24.1"},"devDependencies":{"@opentelemetry/api":"^1.8.0","@opentelemetry/contrib-test-utils":"^0.39.0","@opentelemetry/sdk-trace-base":"^1.24.1","@types/mocha":"^8.2.2","aspecto-opentelemetry-instrumentation-mocha":"0.0.9-alpha.0","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^10.9.2","typescript":"5.4.5"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","aspecto-opentelemetry-instrumentation-mocha"]},"gitHead":"0f32591c71be0933eae844b744a70f9c9aedb84d","types":"./dist/src/index.d.ts","readme":"# OpenTelemetry Sequelize Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-sequelize.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-sequelize)\n\nThis module provides automatic instrumentation for [`Sequelize`](https://sequelize.org/).\n> _Tested and worked on versions v4, v5 and v6 of Sequelize._\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-sequelize\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SequelizeInstrumentation } = require('opentelemetry-instrumentation-sequelize');\n\nconst tracerProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    sequelize: { enabled: false, path: 'opentelemetry-plugin-sequelize' }\n  }\n});\n\nregisterInstrumentations({\n  tracerProvider,\n  instrumentations: [\n    new SequelizeInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### Sequelize Instrumentation Options\n\nSequelize instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `queryHook` | `SequelizeQueryHook` | Hook called before query is run, which allows to add custom attributes to span.      |\n| `responseHook` | `SequelizeResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\n| `ignoreOrphanedSpans` | `boolean` | Set to true if you only want to trace operation which has parent spans |\n| `moduleVersionAttributeName` | `string` | If passed, a span attribute will be added to all spans with key of the provided `moduleVersionAttributeName` and value of the patched module version |\n| `suppressInternalInstrumentation` | `boolean` | Sequelize operation use db libs under the hood. Setting this to true will hide the underlying spans (if instrumented). |\n\n\n## Semantic Behavior\nInternal implementation queries generated on startup from connection-manager are not instrumented.\n\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-sequelize@0.0.0-2024-05-16--12-47","_nodeVersion":"18.20.2","_npmVersion":"lerna/8.1.3/node@v18.20.2+x64 (linux)","dist":{"integrity":"sha512-ZDeRxE1cY5FVfNoWRhA5SjJihg749W8vo/Lf+ricLt6SEX4nU4pd/nLZzOx150dGD09UQM3A8pI2H2rr+IEaVw==","shasum":"4fd2ccff93c0d85cbf44fd0b7649008ecc9d6db5","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.0.0-2024-05-16--12-47.tgz","fileCount":21,"unpackedSize":111342,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICwlYU7+/SDcH8aYq5ZbEWODP/A6HI5KuXlpLnzrp6YmAiEA2NxgDUZ7PDBeYNtHFKU6slO7Hrs8xukzgbdQqt3EeFs="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.0.0-2024-05-16--12-47_1715863694739_0.18741315976238204"},"_hasShrinkwrap":false},"0.41.0":{"name":"opentelemetry-instrumentation-sequelize","version":"0.41.0","description":"open telemetry instrumentation for the `sequelize` module","keywords":["sequelize","opentelemetry"],"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","license":"Apache-2.0","main":"dist/src/index.js","repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"scripts":{"build":"tsc","prepare":"yarn build","test":"mocha --require @opentelemetry/contrib-test-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require @opentelemetry/contrib-test-utils","test:ci":"yarn test","watch":"tsc -w","version:update":"node ../../scripts/version-update.js","version":"yarn run version:update"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"peerDependencies":{"@opentelemetry/api":"^1.8.0"},"dependencies":{"@opentelemetry/core":"^1.24.1","@opentelemetry/instrumentation":"^0.51.1","@opentelemetry/semantic-conventions":"^1.24.1"},"devDependencies":{"@opentelemetry/api":"^1.8.0","@opentelemetry/contrib-test-utils":"^0.39.0","@opentelemetry/sdk-trace-base":"^1.24.1","@types/mocha":"^8.2.2","aspecto-opentelemetry-instrumentation-mocha":"0.0.9-alpha.0","expect":"^26.6.2","mocha":"^8.4.0","mysql2":"^2.2.5","pg":"^8.4.2","sequelize":"^5.22.0","sqlite3":"^5.0.2","ts-node":"^10.9.2","typescript":"5.4.5"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","aspecto-opentelemetry-instrumentation-mocha"]},"gitHead":"6fd75bf4b1355485542c31e4f9322d70af8fe27d","types":"./dist/src/index.d.ts","_id":"opentelemetry-instrumentation-sequelize@0.41.0","_nodeVersion":"18.20.2","_npmVersion":"lerna/8.1.3/node@v18.20.2+x64 (linux)","dist":{"integrity":"sha512-qDKIh2HMdrWWujwK0E4O7T4PinkFmHHzAFunbLnqWRBeIxg11riZyy14m8jibIcf6QIusZMLizcD1QKgqe4WiQ==","shasum":"483018f1fda06d17de1592ef7b62b576cf52056c","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-sequelize/-/opentelemetry-instrumentation-sequelize-0.41.0.tgz","fileCount":21,"unpackedSize":111272,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIERw4fqW0QcYrq3x6jhM/QTanOHm0tzQRI0Ct8Mt3gktAiEA1x0gwa4ChpGwDDmxjkQm/jfeVTHp53jI/XDXknuv9Fc="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-sequelize_0.41.0_1716291583192_0.37118715667458635"},"_hasShrinkwrap":false}},"time":{"created":"2021-02-14T15:22:20.412Z","0.0.1":"2021-02-14T15:22:20.519Z","modified":"2024-05-21T11:39:43.522Z","0.1.0":"2021-02-18T11:14:14.627Z","0.2.0":"2021-02-18T15:06:41.594Z","0.2.1":"2021-03-01T14:07:44.945Z","0.2.2":"2021-03-04T13:23:33.056Z","0.2.3":"2021-03-15T09:49:49.923Z","0.2.4-aws-sdk-v3.0":"2021-03-16T12:17:33.654Z","0.3.0":"2021-03-18T10:54:03.485Z","0.3.1-otel-v0.18.1.0":"2021-03-30T10:59:07.751Z","0.3.1-otel-v0.19.0.0":"2021-04-27T14:25:19.038Z","0.4.0":"2021-04-28T06:51:04.156Z","0.4.1-aws-import-one-serivce.0":"2021-04-28T10:05:01.528Z","0.4.1":"2021-05-19T12:00:56.965Z","0.4.2":"2021-05-19T14:17:38.377Z","0.0.0-2021-05-25--13-03":"2021-05-25T13:04:37.142Z","0.0.0-2021-05-26--07-22":"2021-05-26T07:23:12.602Z","0.0.0-2021-05-26--15-12":"2021-05-26T15:13:36.344Z","0.4.3":"2021-05-31T13:41:02.885Z","0.0.0-2021-05-31--14-38":"2021-05-31T14:39:49.875Z","0.4.4":"2021-06-02T11:41:27.785Z","0.0.0-2021-06-07--07-42":"2021-06-07T07:43:42.443Z","0.0.0-2021-06-09--06-50":"2021-06-09T06:51:04.737Z","0.5.0":"2021-06-09T09:12:33.431Z","0.0.0-2021-06-14--13-06":"2021-06-14T13:07:07.909Z","0.5.1":"2021-06-15T12:58:15.052Z","0.5.2":"2021-06-16T09:20:06.122Z","0.0.0-2021-06-17--13-11":"2021-06-17T13:12:16.516Z","0.21.0":"2021-06-20T10:06:20.422Z","0.21.1":"2021-06-22T13:25:12.622Z","0.0.0-2021-06-23--07-47":"2021-06-23T07:48:52.729Z","0.0.0-2021-06-23--08-12":"2021-06-23T08:13:09.028Z","0.0.0-2021-06-23--15-11":"2021-06-23T15:12:36.647Z","0.22.0":"2021-06-28T08:28:44.657Z","0.22.1":"2021-07-04T14:25:00.448Z","0.23.0":"2021-07-05T09:55:01.739Z","0.0.0-2021-08-01--12-54":"2021-08-01T12:55:24.052Z","0.24.0":"2021-08-01T14:16:40.637Z","0.24.1":"2021-09-01T12:38:22.333Z","0.0.0-2021-09-19--10-26":"2021-09-19T10:27:41.976Z","0.25.0":"2021-09-19T12:44:39.201Z","0.0.0-2021-10-20--09-32":"2021-10-20T09:33:08.943Z","0.26.0":"2021-10-26T19:29:46.812Z","0.26.1":"2021-11-29T11:11:55.856Z","0.0.0-2021-12-15--12-47":"2021-12-15T12:48:49.948Z","0.0.0-2021-12-15--13-05":"2021-12-15T13:06:59.885Z","0.0.0-2021-12-15--13-29":"2021-12-15T13:31:09.905Z","0.0.0-2021-12-15--16-17":"2021-12-15T16:18:27.702Z","0.0.0-2021-12-20--13-41":"2021-12-20T13:42:19.459Z","0.0.0-2021-12-21--15-57":"2021-12-21T15:58:39.185Z","0.0.0-2021-12-22--14-33":"2021-12-22T14:36:26.906Z","0.0.0-2021-12-26--12-22":"2021-12-26T12:23:07.554Z","0.0.0-2021-12-26--12-31":"2021-12-26T12:32:56.632Z","0.27.0":"2021-12-27T09:51:00.300Z","0.0.0-2022-04-13--14-32":"2022-04-13T14:32:54.708Z","0.27.1":"2022-04-13T15:40:56.691Z","0.28.0":"2022-06-02T14:38:13.030Z","0.29.0":"2022-06-28T09:38:08.839Z","0.0.0-2022-07-11--08-09":"2022-07-11T08:10:04.909Z","0.32.0":"2022-10-18T10:14:39.448Z","0.34.0":"2022-11-21T11:28:59.600Z","0.35.0":"2023-03-01T08:17:44.182Z","0.0.0-2023-07-26--14-48":"2023-07-26T14:49:07.034Z","0.35.1":"2023-07-27T11:35:04.773Z","0.39.1":"2023-07-27T12:09:30.964Z","0.0.0-2023-10-17--13-06":"2023-10-17T13:07:51.094Z","0.40.0":"2023-10-17T13:27:28.505Z","0.0.0-2024-05-16--12-47":"2024-05-16T12:48:14.892Z","0.41.0":"2024-05-21T11:39:43.382Z"},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"description":"open telemetry instrumentation for the `sequelize` module","homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","keywords":["sequelize","opentelemetry"],"repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"license":"Apache-2.0","readme":"# OpenTelemetry Sequelize Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-sequelize.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-sequelize)\n\nThis module provides automatic instrumentation for [`Sequelize`](https://sequelize.org/).\n> _Tested and worked on versions v4, v5 and v6 of Sequelize._\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-sequelize\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SequelizeInstrumentation } = require('opentelemetry-instrumentation-sequelize');\n\nconst tracerProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    sequelize: { enabled: false, path: 'opentelemetry-plugin-sequelize' }\n  }\n});\n\nregisterInstrumentations({\n  tracerProvider,\n  instrumentations: [\n    new SequelizeInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### Sequelize Instrumentation Options\n\nSequelize instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `queryHook` | `SequelizeQueryHook` | Hook called before query is run, which allows to add custom attributes to span.      |\n| `responseHook` | `SequelizeResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\n| `ignoreOrphanedSpans` | `boolean` | Set to true if you only want to trace operation which has parent spans |\n| `moduleVersionAttributeName` | `string` | If passed, a span attribute will be added to all spans with key of the provided `moduleVersionAttributeName` and value of the patched module version |\n| `suppressInternalInstrumentation` | `boolean` | Sequelize operation use db libs under the hood. Setting this to true will hide the underlying spans (if instrumented). |\n\n\n## Semantic Behavior\nInternal implementation queries generated on startup from connection-manager are not instrumented.\n\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md"}