{"_id":"opentelemetry-instrumentation-typeorm","_rev":"67-d8a52d1b62ff9a58cd9c6f9c03234574","name":"opentelemetry-instrumentation-typeorm","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-typeorm","version":"0.0.1","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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","reflect-metadata":"^0.1.13","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":"ts-node/register"},"gitHead":"dbf57cd4ea0c9eb5e570c3e8ac194eaaf45d04d4","_id":"opentelemetry-instrumentation-typeorm@0.0.1","_nodeVersion":"12.20.1","_npmVersion":"lerna/3.22.1/node@v12.20.1+x64 (linux)","dist":{"integrity":"sha512-166iG8TTVKwuhCF0xTyomNaVBJ8WmvsymN9Tbu5e/nuA+FbUbeev0d4EflzlzKn3fTrEp20hhr5oL+uKpB909g==","shasum":"4a8fb0a9fecc011f47744f2c553f76b8393a3a56","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.0.1.tgz","fileCount":25,"unpackedSize":64896,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgKUAsCRA9TVsSAnZWagAAzOwP/1JbHN9oJwf4UHK8Mxb+\nD9mAMgb/L0dy1Vs0h0F2t2bahQfd5zqhXHgI7lxlj4BE93ByF6n3SZaLuD0I\nM7In1RzMLgRWfEdZyb8nXx7xUZrO2i6AxMRMrRykC8oX0vJBZ/DlrvvH1BWD\nqeii20te+6HmeWwQP5K0zcp+zxxf0VvH52jghuSoFILDrfqsaeqhgcpwPMF1\nb8YCgupym6MckWJLWIcEdwDQOB1OjxpMUJc7zzImllNkzviJJvBNmoTQN11E\nzUCRw+4bhTFAD21QltPRtxvGfTBYpuup377o1H6jflKwsfWmE9tlhNhpu4Uo\nu9IuAhRc+CK3KJv+ABqOO296oYSzL8gJVggxGsfzHV1WzlUmaIx2APUAGIWm\nF2IdZ5P8AAn8zOTDTRPEP2gODb5FuFiLNVjJ85SMtZdUClm+MOLN1aDgKhVb\naD2//bX/K5VNxBalGztYoM4rklelAMUbkYkOB5AUGGBNL8TRlOiiHRcdhIWh\nrp7A/iHHD9f97/iV0E4R6MCTKFegBckadiADjOoSS+FRmWftSgf0OhpbxqpM\nSiTn+3mQeifqKbkn1iH9I/20ZF9zDTpBEK6+s+7t2jE+IytEinQGisGTrsNR\nQggPxHacPPMMA9V5Qe4c5wDgTpCBmKykj/KIlq0NwZBM1wWUp0yNGqK6GsBY\nD3pO\r\n=4y5B\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICE1DIWSzFl/YwrktL5x1AfA0z8J8BhWSsmQrLlAYUToAiAmODgvFjBbjpLFmN0C9aFyRHejR/D+a1ABUyn69kY9/A=="}]},"_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-typeorm_0.0.1_1613316140500_0.9863487622495013"},"_hasShrinkwrap":false},"0.1.0":{"name":"opentelemetry-instrumentation-typeorm","version":"0.1.0","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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","reflect-metadata":"^0.1.13","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":"ts-node/register"},"gitHead":"d3efe60f70de750b826225c56659bb44be423869","_id":"opentelemetry-instrumentation-typeorm@0.1.0","_nodeVersion":"12.20.1","_npmVersion":"lerna/3.22.1/node@v12.20.1+x64 (linux)","dist":{"integrity":"sha512-JTUZj3rI6zJrYeiUTPbk8zRAuoQj8ptKYWVvi28ja//yHkCwhvJAyFKjZ3VRt8nOibY/QGtUyl9ooWuQ+OKu8w==","shasum":"b859e6a8c5a3c9d0593f64a44d6f54d7df7e53af","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.1.0.tgz","fileCount":25,"unpackedSize":65293,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgLkwGCRA9TVsSAnZWagAAvKwP/1cnibAL0Zd3wv2K57x+\nTyBBFfAcR8hb8CKc9rRnR03RBaznCSszxS5tS4amNrTSP4Sy9Wa9t9+Kqvzb\nuQ+5Tx1LBuk37ykJoNtObrqOHTrurT3a1xYdtARhLsm5q3ETae5xi5P8klcZ\nL9xKGi6LG1uOoDYXVWKcB+TM86klnzh3GDdb9yqaJ/DAKB9lYaVvR0UZBgkO\nhxY4I1/OCTzdRsTdD1cBr7l75QRymv1JhDXnm81EuDtCrCKS3MGdDeZ+IfyI\nOOLyllZAmeBfwrLt7rdv80v9Ov2GS3FbjFEhN9TAcGrachM+EFnAL+5tO9Wl\nYOToHG1PAhJl1zu+xGPwwX2QsVLKAO0geCGJ2GPsgILt53uqCMSW8lDW2zBS\nuT65vhSAPehCz6BTO8wW10Ntcno/DU6qD5QrEzhD9EQGophkF2RuqYMI5SXg\nxPOXhnKk58G8Z2nIB3RWOQleuyh1XAoVb6TrABsfHO3iXFqzX1l39AZCRzrO\n/GSzjYxJHgHUggNc/llCJsW3sUQfI3ee1mlcSbYO/38IFdWGRLFVXJY8iL6A\nUUnPvO2tEvhbw+LAPSKPO2Pm0dHIHGD5ChhOg2FkxP6uakhVUp3RX7smGKNW\nNO9Mep8QF7rzrl3/s56rYOxO4uEVcxCkL4xEM61YtLugTYIhf5j7P93E38y8\nYfGn\r\n=HFVR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBMqFFQX6clSyNGLIj4weoojJ+n6mnYdHV7Re37bqbHgAiEAqCbe807JgG4fTFxDi0GXbnQxYIe8i8gLxABNqUhSA2M="}]},"_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-typeorm_0.1.0_1613646854432_0.841352505901227"},"_hasShrinkwrap":false},"0.2.0":{"name":"opentelemetry-instrumentation-typeorm","version":"0.2.0","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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","reflect-metadata":"^0.1.13","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":"ts-node/register"},"gitHead":"22453519e8612436f2fe817f5feecfe486e32162","_id":"opentelemetry-instrumentation-typeorm@0.2.0","_nodeVersion":"12.20.1","_npmVersion":"lerna/3.22.1/node@v12.20.1+x64 (linux)","dist":{"integrity":"sha512-9/bBwYXw1C33/1Sp9hqWtOenZHtJFkMFEvhKHHwteqYfZt+Yw+BCqi4LU4lrzOFbbPJuk8UxV1F4n7Sh4bopUQ==","shasum":"b77e15a54e50651720d245ea9d797682123697af","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.2.0.tgz","fileCount":25,"unpackedSize":65055,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgLoKCCRA9TVsSAnZWagAA/g0P/1YBLLPmpN4D7NTUgh6/\ncbng/m4R3wLq6oqXihMzP6EDqlAXYGG1xT+tYhDonc1A3tRjX/Cw4kNzk4u1\n46GE3r0OqXtFiUcq1APiFL9Nf8i8jEnWR2fhsJ46GE1R0c0BtPBySNdZKOVs\nu0Dvw9MylF5Y8m9ufLYSY3r5F9lydEexesy5vh6jn/nG9+dXQ86dOB848RrS\n7w22LLcSsNsffAmGgg+UWf+n724uYMjGuNBJFNr9jnPh3yY3NF1IZbE/j85E\nhQeOxZEzdBPskX5A2SUS61znddCfcNVurMBPnAX6PRmaHw8FnL86zMTZjNGE\nnDqlxsl2sRPkEioFIyWrogQqZ5eT0OD6fuCKzJXMFdgpYI/cgclxdG651/By\n4IvSly3lVT4tXnVgtc6kKbUi4+kp3+TIC51xnYy4ayOLMeC138G0Ut+N4FvE\noSqLBUp9q5k3sg0tgNCwXjF/99WKbG3U44d01t9QjmmHgP1G5hkJUD7r/Usv\n1Vpp5FWK9NyC8Y3i9gwD0dJ9j+4KVBtioY0lJmGBxmljjl6sxJI+dLa2swQV\neLErYJJXtukS9A/CUXX8v4FcDhxmxQ0Ae5FgHdqg7ZWNr+jUwPDsU0oNwwQ7\ntXd3UxCuXviVB0qQyH5X0n8tukBhDrf22emyBQ2x/QWj7mKRcG1DxWUo/vMm\nchRJ\r\n=vgvn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICIEzweasb+ylYaDHIcYihKFNHzR4IgRz9tzTzpxOFk+AiBgrXoUEHMSsqAszAbhDryb79qw1jLdUHVyOlxLjape+Q=="}]},"_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-typeorm_0.2.0_1613660802239_0.8742232991517331"},"_hasShrinkwrap":false},"0.2.1":{"name":"opentelemetry-instrumentation-typeorm","version":"0.2.1","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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","reflect-metadata":"^0.1.13","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":"ts-node/register"},"gitHead":"0312aa58e73a215a2abba5ae23a08536517b3517","_id":"opentelemetry-instrumentation-typeorm@0.2.1","_nodeVersion":"12.20.2","_npmVersion":"lerna/3.22.1/node@v12.20.2+x64 (linux)","dist":{"integrity":"sha512-0ROB91WiUoEHffYnkbC4nWwLJQsTjqAJ+MWrHnUnVWwhnYSRrfmwlmdrH6DhAIS6x3xKKZAwvOMQsOOgooiOLg==","shasum":"2415e5597fbb2336cddeaf9a671dbbec8f0a67f0","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.2.1.tgz","fileCount":25,"unpackedSize":68849,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPPU0CRA9TVsSAnZWagAAEVwP/0nockQBGSNQHyKtsXXE\nOZa8BykneUF2lNtqLndYIi3sQ7ImkmKDkOU6YbyA/ezkU6WYbTn4A0lm5dKD\nFk+SNSVd8OVE4tU+FIpBIM3Tm4ED+YbkM1DYRPOPm1RiK7RJkUZTGCFGS8cO\nx1M0GqbwZchvvOohUif6GuYejFFjWDff6CVAyFmaTBNBR6HmVgNFJiddCjxd\nTsh5MXY+5pPIw9mFwZlH9SVC9ajdkh/Y6bfFT2HVVMk6BDzsZatxNKDnDmC0\nEb9PirmmJS4leLTvdPj/Nc4epYoqyo5RKye4xDpxz3XDOLRNXVxPBNZfT5gQ\nLeVf3E+qY3AVMz8j4NGNjlXyezQUtasbIRhMDn6NnVPYDWHXe6FKgumCb2h1\nsrvq2roDDirHltqQmn+CWgbeDqOtVb22CWUo9aRCrCgsilJyW7r1QznmjVTh\nzT+4GxAVa1yPuzhoKMA61N2lav438po9WAmwKKmaJ8o+Oh9j63UYU0XCEsk6\n+QxLf96EppwYoRKsvwPsvyC/OIAr5ZnaNKZpIkeMACM3h+k4iNPqRG3TluWC\n0rfC4BLpVJyg/tRkWqqfow4C408ShxLfflmMslt2Kj32kSlANCd0QeUAWzzu\n+u64eph3qrVneV7JnRULmkqq82gikjOGI3X1Hxp/cWgkbZJcckIKDH4U2AVt\nNuss\r\n=zNeE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBMJckkIgcricI0Mc78QlIUg9hn/A3vcY5QCioJTtnJ4AiEAo8PvhMzVDU+0o8oGDXrckCFgfKS8SK1xIVWHzHXF2mA="}]},"_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-typeorm_0.2.1_1614607667746_0.9652418332565011"},"_hasShrinkwrap":false},"0.2.2":{"name":"opentelemetry-instrumentation-typeorm","version":"0.2.2","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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","reflect-metadata":"^0.1.13","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":"ts-node/register"},"gitHead":"99146cd88aace5c83f8d2034b81d44256ae4ac42","_id":"opentelemetry-instrumentation-typeorm@0.2.2","_nodeVersion":"12.21.0","_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","dist":{"integrity":"sha512-DJgg2wp9b0urGkS4e5WW8Kwj7aDym1fa3sHOkcE0QzgT0VihT0rf5IIKVUbzM68LUN2tf3lfu56Vinhjw59Mow==","shasum":"4e97363dc57327f467793eaac8e57b44b33c7ddf","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.2.2.tgz","fileCount":25,"unpackedSize":69294,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgQN9XCRA9TVsSAnZWagAA/CoQAIaiMrEixGt36fUDre3a\nESMtVopMwHvJzi6LQg+VB2fvTSQjZkZgF4IA7A2DL0g1woWNOI1gjHjte31m\n/qGSTm9eALLBdn+URvHt8dF9NgBu+azUkuu1VHR+ppF/MD/eS5nz5jfyIdGB\nLq93BqWOVpvE//2PBPy45PFog82wcpVfcT+bCbakrcgsA26Amm7iaI0Ofd5L\nUzNnW8fQnln5Jjf6sbZiVwTk1HTFFdVD75YCVCZ8h1E0clIjAFyIHWitPsCe\nnbQrgZCzCtIb5APFN/UaEY1dltURzoqLt2l0E1OfxYVVlty+fNX3e4XWtYHH\nfMazAygF4BWjRmJkaTWDvmrnw8M/EkGUONKl234rhNmy9MrBXqWTgeGR8WPd\nIKwXrZ08+cx/pm04HzIsx/yCtA7vly1bSdi+oYhVYhFQVKzi5k/YFDQfPvC8\nBHzi1Y/4QrewCX/ssbFhRvzibpgr6uQJVPDzauxoWDG8ANtBaiybR+Cphfs0\nT7bzPL3twX15ri0rirH26TtkMiiNIz0FzSJEeFlgMw1nj8XGJWmUumYIS5iS\n8Uu7vZnVe3rS+9oPvzLnl+oND+hNkjuiNxoOoPA/9M3eSjlJTZ/Ycc5ntB5o\nxLoCPifb0B928BC0dWoIRKB36zMA3QDULvB6wbzbMF88aOW/XMb8CKlW2/lT\ne82B\r\n=1ixD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCcrP1JL0jMuwEYYcQ88ZK3d1fGUeRXN+cBZy/fhM0POgIgAhtkSuTLtC3ZrnTRWjIQavZZ/mjckSuWPOOjqcPgtq4="}]},"_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-typeorm_0.2.2_1614864215193_0.5373124131780171"},"_hasShrinkwrap":false},"0.2.3":{"name":"opentelemetry-instrumentation-typeorm","version":"0.2.3","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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","reflect-metadata":"^0.1.13","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":"ts-node/register"},"gitHead":"7db144c76afe71c7951fe939f8b073c85e18ce00","_id":"opentelemetry-instrumentation-typeorm@0.2.3","_nodeVersion":"12.21.0","_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","dist":{"integrity":"sha512-08400y1dKf7QVJWxcQMOQt5KgXFUI4FEOBtmIzr0Idg09Hp9fVLZKzQZed0/VKk0oOVrHmmXYf/nLRNeyB5E0g==","shasum":"b188e5f6bb12719a152dcfb3f1694a30ba2485e2","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.2.3.tgz","fileCount":25,"unpackedSize":69554,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgTy2+CRA9TVsSAnZWagAAHLoP/1urVa6djgxy8rAk4weA\n8UEboZ10x1V9HTkrdms5l/y8OSsa1UNTzpLTfTX3gTwTh3idpRHDCUWs7I8Z\nYuJ25/boZlnlozoFOsvLrWyZPH0jGhOTX5zkrnsKV4d2uEybUcaKwqAnTXz1\nYcbXd/xdsU03xxgnfMVx9ZjY0o8gkLt0MCvC31CR9nbO1J2m95kqEmtEiNbM\ns/b4NZMmeHn0PKWvoVkFihWSQS2kLDMwMckfid8lLsQgaUu2Ah7aQ22IBHTr\nONzd8R+XzSu3qORxjEhqiQqTxF3JKWb2C8vnrPAo8jmJaSbi4JaZcRVKk/xz\nXMr8QIYM7wQg53oF0h0q7WcFAVMtkmOmFUG7DrRppomdip0GXbB3N6iCl190\nhHRRR5Gc0EX9lXZ3xqyztz6t1q9DAzcyXBbNupG4Rn9GGPwEXqCs9L7r91Zr\n58DpmdLTOv4fQZOVPlkeVoo74l5any1zap54j8NRqlTc61OAdPwtvXAvgfGL\nMyxrZ47R65l07LpV/FhFZNKyx3VczKCSWmEZK7ZYn2tNdUhKLEQbsowRcRI3\ni7R8laQXb7H19aqrO91r79GqisFFcJSW+a6AdsNCYdARpbbrfSKRye5uEt9E\n5beVuXZs+ITBYCTyj+FfJte3T2b+uxmXOy0yg257ZT+DOmek37W/2cJUEbSH\nGpIg\r\n=GU4O\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjHvHdjPazKn7uUtfN6t0910VZklC/20EQl0n3M6g7YQIhAJhdPNgP4jIhVSXjkE5Vksm2SnjeaazqsWODxu/Ins17"}]},"_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-typeorm_0.2.3_1615801790179_0.20251518733681162"},"_hasShrinkwrap":false},"0.2.4-aws-sdk-v3.0":{"name":"opentelemetry-instrumentation-typeorm","version":"0.2.4-aws-sdk-v3.0","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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","reflect-metadata":"^0.1.13","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":"ts-node/register"},"gitHead":"b344d60d0514c4e4487a12b86248995c16768a40","readme":"# OpenTelemetry TypeORM Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-typeorm.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-typeorm)\n\nThis module provides automatic instrumentation for [`TypeORM`](https://typeorm.io/).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-typeorm\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 { TypeormInstrumentation } = require('opentelemetry-instrumentation-typeorm');\n\nconst traceProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    typeorm: { enabled: false, path: 'opentelemetry-plugin-typeorm' }\n  }\n});\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new TypeormInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### TypeORM Instrumentation Options\n\nTypeORM instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `TypeormResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\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\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-typeorm@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-SMwgK13pSeFwL7iIknFbqgnLs/jsNTBzSeLJ0jSjyCUo4c4tK36v5qOlc0eQwRGlydE0VCSKKztxJURXNNS21g==","shasum":"7eb527dcf45fd90d99cc1ad2a5838786dbbeee5d","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.2.4-aws-sdk-v3.0.tgz","fileCount":25,"unpackedSize":69575,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgUKHgCRA9TVsSAnZWagAAdFUP/AkVGWQ9wjLmMGdo9cZt\nC3Uw78jOGIqQrKq+4nAi1l3FkyocJYu1KyP2QYjrAoTFMQcMcbFHNJGiTyfz\ntkhzL2Mtyadd8C9KCi/UHi/o2u9bze+mFh4VBtyobNBI4OeawTJ9h4ABnJQK\nmoApdOMJBvJC8DIgyxadbF/zAdfn+6+XVhHKHghr/WFxvzslfr8us0bisyMq\na+g3ac/p/mUbQFl76IWZkCXs0q1Kv9duuC2Ya7dV2O6R2y/fPSZ5bWqQKejG\nvW1L9z2M/ULHWXod0z96SO827ehciYPuXkbU53t70fI9nicpK/FBiemyh13m\n5ZPLh0gyxrNLTg1aW5Y2N0rr7zyiscW0EsczJQ+ZzoCnnXSpkZok1QWj4xZX\n7ZXk34j6XGhH2ttqPEeJ+Z4PpHc7t1CCCdya+MuNPdT0ozZ27cK/XwtGL3EV\nAQNhOIcHOM/hXw10c+IoS624mYJjJEJYku8TLG/cuDdTQvysgUhCgh7JKubq\n3grXu+rQGl2ficlJdDS2Rk5wtgsMmaCOptDQYyc8J7YJFAGGrNqZoghQolJR\n5Vxcv4gAb3ikVHkl5ZiVUqqHeT5IiFL2K8Ba4sqpYroPpsojctU2VAzoBeD2\nv7j4C3jgRraLG3Joc1hm/CY6Ml7KGZ/jtdflPApF78P0C9YHtZDWNvtfFDRf\n1Ov/\r\n=qdEi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9dB5/TCOUOMLBxygSGfIHqtUXpjw3Qqw8ZPhRTUxkjgIgc8cvk1LJHHJJOcC18djN9KxW5qclA5ke7tvKCEsafZA="}]},"_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-typeorm_0.2.4-aws-sdk-v3.0_1615897056345_0.585634516674713"},"_hasShrinkwrap":false},"0.3.0":{"name":"opentelemetry-instrumentation-typeorm","version":"0.3.0","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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","reflect-metadata":"^0.1.13","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":"ts-node/register"},"gitHead":"3ba0a68be6bf32167217136346f1e4968a19e11e","_id":"opentelemetry-instrumentation-typeorm@0.3.0","_nodeVersion":"12.21.0","_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","dist":{"integrity":"sha512-VlDFxJXMIPFi8VfM6bX0/4ZK6+3UA/2okpXwxCYwWiNBGS6tTtBMZQW86klp2yBb4cPHQzeEBYk7VHOYZe6fTg==","shasum":"9a84e599ebe03b061a44756512b6b49e8843de48","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.3.0.tgz","fileCount":25,"unpackedSize":69988,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgUzFQCRA9TVsSAnZWagAAE5oQAIofn67gn0GjVfxJ5rv1\nOYqgs+qTdTzshMldrv/LA+vtSL63r2qr5Bn0dwxpPz/ku2tUdOkB/vrrfwED\n5ahjb08Wpt6Hu8qZ04EC1Rm1C1RbuK145FA/sLab/2g77bYZwBs+iahqu18H\n2MMcLfyVo1eP4Wc3l3KuDdtSQatbaA2WbeQeyIdxchnYS5jODqs3qtZWBYDT\nvFTJZ3KejJdBua6Z04QsO9XiSyXxckrWLd9MrBgbgeyUU1iKfUpwtNtReuh8\nQb+VElEnWZm0NihzFJ55pZh4WqDN/fLoxJXFCdskCblLrPCsydHgXIhyeTN2\n2h1sACwKed1CgAbNO+moY/55YiISzY49dR6czogIG59LGulG6GdP768iSzp+\niqrlQzniXNbMvkEorthmL3R06t5RT+LwQRyImYMxklcNrfJmgZM2jvbf556o\nw6VV2vNHZ6vee1YXpZCVKeo81RY/Nx1uQqa0C8D9Ir/lvsFFMJTGoLqPXPBx\nY/Y+fGF68nDscMnzy7NOMqSgA9Ww7dK9N2cAQTc9NmWF5aJW9bjKy3tJVZJZ\nurHHNnbx11xjIYgBk9ZZ91iJATMsJP9Uc5WUANF/53Ugkf/JRgBhlrgNjWP3\nzBTTXncLr1eD9flncq6TaCvURhTWuf3WjwdnNi2QinysvS98XprWuaXJyB21\npgsi\r\n=rjRR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDRH6REFM/tOQb4vwVEDDBzV6jaDBp00ioqKofi3LDQowIhAPKTFX5h1P23hM3v0aBIvPNfxpb2BYS6xCtTwpgvUle4"}]},"_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-typeorm_0.3.0_1616064847638_0.4775732449445189"},"_hasShrinkwrap":false},"0.3.1-otel-v0.18.1.0":{"name":"opentelemetry-instrumentation-typeorm","version":"0.3.1-otel-v0.18.1.0","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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","reflect-metadata":"^0.1.13","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":"ts-node/register"},"gitHead":"a196240634fd4cea8df6b5af60963bb7933c696d","readme":"# OpenTelemetry TypeORM Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-typeorm.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-typeorm)\n\nThis module provides automatic instrumentation for [`TypeORM`](https://typeorm.io/).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-typeorm\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 { TypeormInstrumentation } = require('opentelemetry-instrumentation-typeorm');\n\nconst traceProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    typeorm: { enabled: false, path: 'opentelemetry-plugin-typeorm' }\n  }\n});\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new TypeormInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### TypeORM Instrumentation Options\n\nTypeORM instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `TypeormResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\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\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-typeorm@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-bmlvyJSD97kshC4DTuE+q/cjCqEX8JMQhszynArj1FIqvwnsJKIY6ly0CH+MWiHTAEPLpSISjA8EMUf3yUlUQg==","shasum":"e973a3dee7d3eeaafa479fb2e7ee7a8d22651cbb","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.3.1-otel-v0.18.1.0.tgz","fileCount":25,"unpackedSize":70015,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgYwR8CRA9TVsSAnZWagAATKkP/ic2L0Y72KO5KPxyn4qp\nQrAqI6DRcOeR/farskktcqBhQeifOMXl5dZRsCxMaUMauZIrKnYrO1UbMyKo\nReTdiBJUoz03iiMepAp5QUt8XsL+iA7qJLIgZUYpFLWUI3a2TsirdQI09bu5\nfPx4dG+6pv7iqfzbu2rConLrOVx6eTz7bomWQMckdbOhg/jw5IQdpwO2/9j6\nc62jqpZdBdOfPfWcwGcwzcWnjRS057g0JFRFbOgTMGvvxwSxw4khaHnSPFnn\nx1UtdkfAn5NoyZlhDhm+J+2ea7YOLmiMf7cLC+K+zOne1IXah3gnTkeHgn7t\n/wNYjtcLpDt3NNyn/0MNLhbPI0KFBA4GKrStAdkSu1VOW80BdszPmZ9wb5wi\nw6c5NoZKbVoWsug4dudI8MeiocgulK4C0mxlbZSJdXwfruUDrpAs7Ih/LRlY\n0Arad38iRULzvBOs2s4IDUCF+9UaMNFDRSsJqAlYwvskYp+HHZGDfGnRK/3K\nCDovSFYz3gbZGdDRxr5Gzduuyx5/BS+WSNxC/Ogv3MN1Oi8B6bw7ZgoBCMwv\nUsoslMfKtKVwogcyMoa7QViMhmxDcNodAKHlRsBinvBBAX35T9T50oRxHFF2\nhdxXySjpGQEcbffSpvHn0JhbtJ4Y0xpN0XwAPc7VlB029x0zN24DBjrFMKSj\nsTFg\r\n=XNJ1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCdq8dONylpawMjwu66q1yXEOCH9gBM3cu0dUUkeygbAIgGsH1Wu1m6p662ZDsqWsIzBxyG5b+3iefOeNYTz3X2jU="}]},"_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-typeorm_0.3.1-otel-v0.18.1.0_1617101948346_0.7289309159687027"},"_hasShrinkwrap":false},"0.3.1-otel-v0.19.0.0":{"name":"opentelemetry-instrumentation-typeorm","version":"0.3.1-otel-v0.19.0.0","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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","reflect-metadata":"^0.1.13","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":"ts-node/register"},"gitHead":"62794a132c5369023597e9fc3696a126a07b2473","readme":"# OpenTelemetry TypeORM Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-typeorm.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-typeorm)\n\nThis module provides automatic instrumentation for [`TypeORM`](https://typeorm.io/).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-typeorm\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 { TypeormInstrumentation } = require('opentelemetry-instrumentation-typeorm');\n\nconst traceProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    typeorm: { enabled: false, path: 'opentelemetry-plugin-typeorm' }\n  }\n});\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new TypeormInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### TypeORM Instrumentation Options\n\nTypeORM instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `TypeormResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\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\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-typeorm@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-wKwDplICkc+MMGgZMqO0QKMv0jzj5sDCiNBldphDpmBcR5MTQWlVkAerfwucfK17dwBger3CCXKD7fAabtrKZw==","shasum":"fec0ec03a40f362a6964df467feb7acf4701267a","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.3.1-otel-v0.19.0.0.tgz","fileCount":25,"unpackedSize":70061,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiB7SCRA9TVsSAnZWagAAfuUP/2yfWRmsHZy8AzCyNBn/\nOWjVqn17BmCrg1YOmNheFLXP5k4MES3SBtwwQhC8rhWuHAmH+FXHc7flfOx9\n0Iabcp3hdxZrhsYv5SLPvWLaN3mzhSNLxKN8+aWrSAgt+yWSbcSaMrIa2igv\nNw6BBR46QLjIKnvbA1mSaC2c/RO22vSqLkD13nqkVUkaCfS/nVcF4G5EfFSW\nV9m0hoP/pV/6oBC5wegagzYfz/JfEYyimN1HDOSYyPRadZUvvJFD3QbVhK/7\nW23dJwe/B8vtM4Jqd7PV7GO7svArq2LSWJJZ3Z3k1Z+/oE76UYi1e4ee7obJ\nq7PNpd9jUFKwBIetrC6wxENDWj8TXAlUthZ/RBwOT5yWvUdI+ZyHsv3Nq+A5\ndpD5HXUkQp0OmBvAJWPTmh8IAwY9NNEB1G0VORmMNMVji5YtBWOZOn4YJuhj\n2K/ToLLCw9g/ZmVsaUbTys5KJlnLIuU4hyep1PG2pYJ5cJiJUgS+zdUO/xJu\nhEdtcTXA40EeH8+DacoEguq6i+Wkk39kvTXoJxPHVCHATL3Hiv3AaKvCgJ66\nRm+7BgrjzKAq3xssomclckeWLnOMDg4sCQGoHwRX2/U6lnjNebSe/1Hx3woW\njQ4F/45gW4r/jT9zC0cPWgUeEKMG6bimgPuhK0xHZcrw7UrxBxCrqPY4eLJz\nK1zs\r\n=Aprz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFjt/5cDQPftcKblT9u1xDSojs1KELO9A0sH+j47RGEqAiEAkIcYTr+iDFhr01lZz4FTVcknW5k5EoDg2szJnzs5F6Y="}]},"_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-typeorm_0.3.1-otel-v0.19.0.0_1619533521788_0.9324392816500258"},"_hasShrinkwrap":false},"0.4.0":{"name":"opentelemetry-instrumentation-typeorm","version":"0.4.0","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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","reflect-metadata":"^0.1.13","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":"ts-node/register"},"gitHead":"1b74b8921ed523dbae077042585dc4feda0d602b","_id":"opentelemetry-instrumentation-typeorm@0.4.0","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-Q+kKjZ1UqW22iUHy+8Dl7JDOb2n5RcZoAYR3AzoEtS0w5gSll3JK2C6yzEbaY9Mj6diYc4yQZwDOJEyKC5Or8Q==","shasum":"fc96ad7999de229c57295eeddb18f72770818e68","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.4.0.tgz","fileCount":25,"unpackedSize":70295,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiQXbCRA9TVsSAnZWagAAuSkP/1bElQIyJluI2WaLPjbV\nG/wIXmVJPQIdssbDS8GWAxVoCEzW3qxXXPMjXe8ICZErNbVOwVQqOuCjshCb\nAUqYd0mn0hO/nu5JIuvSHs72ia6fvzLjq5rseVQKqcpjsVHRIZZ4vKa0y0cM\n5RuMz1bYZvzToO6RUawOPl4/MfqSHDwF6GVkHl3guKB76lBWRjUXbDLF+UBu\ns0MTzDqdS/pr0tHqx4EwmxHKY0TMklxXcwcwelorpbOMCbrBo1dWfZDUH3G/\nFhJATsW5ZfXqS2sw4J6383Y2YfRS+Du7GGNv2/ZvbkBwZvtSOtOM1ndIRHgi\nnNEAEOMXNn1wKt5FzZAuwazQFZyte06RWnYDc/Erjli5GuDxxn1tafb6c2W6\nCh/ztbpADQT2JD8VkWk8NVPKY0/cEvKpvmNstCP5CJr557GVV3mICXLGYaA3\nCAG8k4kuHIhWPymraUBb5C4Kiv/GllEZd+EKFMxG4C4/5FLPsHxZPmlm0muU\nDHbILtrjz/WQr2PX8IRHbiLdu/Qt1fhgXW+jv0wPftAXWjmwvXsYdpoDkkOi\nHGCUxJxYO00BzML5z0YWIHGONyAndvGj3A/mD3VGFm9LUjWDcltLyVm9RQM+\nHKA9px7S2zdiCuSc7Bzo4b9Tpj/2ckCzyeKevTdtFbXMf6E0dbQ1Q2YAMMOg\n08nU\r\n=hvdU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDLScIZbnbOsyymMCGAUqZ/r2RdCDXq6xUaPzJcdcgA2QIhAI/rEjLPMrpJZ5Y+BYH+Gxtu95oZc/d6CJotlbvVBPG7"}]},"_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-typeorm_0.4.0_1619592666716_0.17842038849541808"},"_hasShrinkwrap":false},"0.4.1-aws-import-one-serivce.0":{"name":"opentelemetry-instrumentation-typeorm","version":"0.4.1-aws-import-one-serivce.0","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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","reflect-metadata":"^0.1.13","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":"ts-node/register"},"gitHead":"863754d3c18e4293fec89dd79ce086b31cf4ece4","readme":"# OpenTelemetry TypeORM Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-typeorm.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-typeorm)\n\nThis module provides automatic instrumentation for [`TypeORM`](https://typeorm.io/).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-typeorm\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 { TypeormInstrumentation } = require('opentelemetry-instrumentation-typeorm');\n\nconst traceProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    typeorm: { enabled: false, path: 'opentelemetry-plugin-typeorm' }\n  }\n});\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new TypeormInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### TypeORM Instrumentation Options\n\nTypeORM instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `TypeormResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\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\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-typeorm@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-AQWeOIS4GpiodtoS8036cAM2T/HPDOL0s0+wOSyy/mNESyGNwMYMThcpGaTfQyUw48kjyAKuwg5b+PDaLhH1nA==","shasum":"be8db86400e6e0a6ee3494cf460d52b2c210f122","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.4.1-aws-import-one-serivce.0.tgz","fileCount":25,"unpackedSize":70328,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiTNUCRA9TVsSAnZWagAAy3EQAKQlALgcLWLi5NY9V63J\niCVo7X9eE+J3O1VRLNkQnz178I7XxNJCG+r+Y+m/J8ZhcpFhFaEN2PYIJbkj\nxHBmZcRArrxv1Tdnt48ZTyaAnOvFLgGpIfwNdz2dsmqE7gXG2dqtUjva2hTW\n5aDmUZMg9rkP0NxH67gWPDV3T9jYXpQgymy/pHZdzmHc3vngPT2wRCKn3rF3\nwKig/dIxKmsHVH1NnaKI1EKc5YxapAjUENffWCCJ9KfEqvPcdn1fwhpA/Z+c\noj1aZ72rDcvFUjWfCmyV6C8jfnI6SYp/boNQAvsaYFyJr2yBahdc8pNZWbmx\nwL0Rlwzc0dYidXOYuRkgB/QH3jVsV/6a790UG1grwmolpC7tBD/0Fu2Q7YsM\nA5OibVvtdfKxWfNZMauihnsYulnY/pRYvwJwEzxOjBfhOZ5CRbGcveUrJwyn\nJkcsjrtu97neFYit26YT4Je9Y/QhYpiy4QihizwYPbJPKd26hCLDCOWYB5wj\njvfGVFjaZteVucEUyUPk6qI6ARMuMn06qjlxCi4jVR9UUacqPBUeX1yYB0IE\n88q9Tp3MmffUXL3u4yNh9Uh5G1lTodqoT4G10GlBS38AjyFATZ/4snSwGWkJ\nOm07KT1mBq0S8K0FKCGiZncZuBNZ51sDu0/Z+VwuMcbmO5vlBwqohPbsRz/z\nwh5n\r\n=W47j\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDcP6hbesJjq8yW5oClgVtTYh0/5tc6cTw/azas/pq6RgIgbGYl4u/f3lnRFT2+AVv9h4Fz0FLBtaBiHYkryiXLYyU="}]},"_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-typeorm_0.4.1-aws-import-one-serivce.0_1619604308304_0.985728939769825"},"_hasShrinkwrap":false},"0.4.1":{"name":"opentelemetry-instrumentation-typeorm","version":"0.4.1","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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","reflect-metadata":"^0.1.13","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":"ts-node/register"},"gitHead":"51bf5256ec5f0e623cef5705be9fa04a8a829b9a","_id":"opentelemetry-instrumentation-typeorm@0.4.1","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-VR8FMVaf6sOkrGdhS2PS3LqxbOZqum3FPWYEzNve0/IhB00GZveqp1YEODFyQ3DyGoYJQU2pevxo6PRY9YZSoQ==","shasum":"bfe00d6e117e23e2c8f5fa6c19be0d425285a7c3","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.4.1.tgz","fileCount":25,"unpackedSize":70628,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgpP35CRA9TVsSAnZWagAA084P/R2nyJcuvPmS8QUuPWkh\nucsmjDVndt4+Vo8hEAOzrOY00XzTGWkxq2xl9jVa+NJbTPyCCVW+1nM7ZbLj\najf2xH8gV8EWGzttluENymTWR7ytjz65aEiGUlAzsd+GbPIWtPx0xpPaR7jc\nz75yfy8JJZORhvy7LPEL8SWN+hzkO8CEeKl2U12/n85lMm+AXJYKUWt6nX6F\ncEQVI2ePyKnxjHrfRkU/lKXyRoNKLTA/A29b4bU9dsZP3LK54J3YlLZjHZ37\nMZs20JGCGGF2QS5ZDwySfMc40UFXiUcLDAjIk/0A3GoADt3+17+T+5xfg9Ys\n6uhEkfzTjDpQ5yHZcA7jojX9WL4TT2UoYDsYlCZaBTNyngtdlkFGtMyjTkfB\nd81SyBAug6VCEV1U2pptGixvmtNJaGXWZ69fxkr5eqBC3dbt5Fhgih8RglBX\n9hg+RhlDH1n+NraZkWjBvtN4tj4wSFZmV8I8bFhrnFL7MfwmfBPxWDSmT/eo\n0u1IrTrOwYEQYEfQFf0qVrLnZidCABfeNwuhkXt6VhOdtfE+bsQeuG56Q6/N\nNGyL22rlfGtVLbWdKhlNu8wUH5FpfizHN81NEuWf7+27ou4Fwt8Rdj7geE25\n4OADggEOAOjGjHh3X8ksZVbElx9W7YOURw0Gm2UGGY62gK9deV47UsuN/Btq\n7pgU\r\n=5Pv1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB8MJAvT80Lx8dv8aRbviNOOl0QOme7IbONIwoTb8B77AiEA1mwKEueJjNRU3s3t7BG8VNJbOEOwdmPDkG2WTxs7TC0="}]},"_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-typeorm_0.4.1_1621425657430_0.9330070058765216"},"_hasShrinkwrap":false},"0.4.2":{"name":"opentelemetry-instrumentation-typeorm","version":"0.4.2","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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","reflect-metadata":"^0.1.13","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":"ts-node/register"},"gitHead":"61891435509330061efea9e3ffcdf34b80a584a9","_id":"opentelemetry-instrumentation-typeorm@0.4.2","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-o+E+IolYE8D9Aq4ssDjGy2wJnSYYghq5k+NUgBRQsqIJ7Sn34V1xrzG99zD4gMzuU8by8RtqjF4KqrymrAJ3lg==","shasum":"9dfe69db62ef36a918f459fa96d10e0b04f150a5","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.4.2.tgz","fileCount":25,"unpackedSize":70811,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgpR4GCRA9TVsSAnZWagAAVFgP/RgJytAcHlcPN8McZ6ak\nSYvdL23kp+uqRzfxNXBW1rGKXGkI6srvJ74n0naf9reEIqL2GjNEashYZnN5\nuVmN+BBNsb94rECaqY8SKORwwdRBwLTfp+VDWqmBc8aL/+tPJETkOnJwDdIi\nGz4uWa8/mVZfD6d87R0M77Cqh9isEsrHhd115/nQva5FgkOfd1xaDiAagw85\nAnbyutSRZ1Xa0pIF5I13x11HUY4QLVlVZSKxCR3bY8rkxkReAb8WbCSr0JrQ\nXRO8wkpZi4r6ubIhHCjnhPQBLfHj04ObqI4KOKrGErffSwNRPvtHeC4pqw+d\nIKvT8Tsj3kCu2X5OKhzXkZvhHz+35URWHBEHAIVLWeD5dD4qhAO7lKSQyTYM\nl4uUSHOmquyKitNS36JZSXx3Aiid1AApJ1O5cvknvMcJi2SD3uCOALOstW31\ndunSJHvZMhCPxG4W4gEqBnFKDGsrdGmXJH2MgQ+7jGwLTS+NqWDtRq85AjNH\nR6yDe7aQeHqueNCwO79BMI5yAx8qbo8HgBb7IYVTSnPWHMtz4HoYYaaEpUCp\njXjQd2KLYrCZ/xCmdny2Tv/MJyQbSIYcoa8F2MPLtg3NcN3s0DS9ywmMQWN7\nlIUmxQ48CGXhqs8vLP5Iwz1GWkOCv1z0KTRNmjP7mrddmhG+JOzoZ4OcvpzY\n9k0J\r\n=Aemm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCEGu7KNdfA9BX3O5g03zup1DFMlpurXYpjtSkKhME0uQIgEQl5A1y0FWlQTcfuSXBcsu1I22i+3AUwp2dgMZ8H2UU="}]},"_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-typeorm_0.4.2_1621433861523_0.5835807391154693"},"_hasShrinkwrap":false},"0.0.0-2021-05-25--13-03":{"name":"opentelemetry-instrumentation-typeorm","version":"0.0.0-2021-05-25--13-03","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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","reflect-metadata":"^0.1.13","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":"ts-node/register"},"gitHead":"bd533753ec41cf4673d0393c42ed081d3a4e4f34","readme":"# OpenTelemetry TypeORM Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-typeorm.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-typeorm)\n\nThis module provides automatic instrumentation for [`TypeORM`](https://typeorm.io/).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-typeorm\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 { TypeormInstrumentation } = require('opentelemetry-instrumentation-typeorm');\n\nconst traceProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    typeorm: { enabled: false, path: 'opentelemetry-plugin-typeorm' }\n  }\n});\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new TypeormInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### TypeORM Instrumentation Options\n\nTypeORM instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `TypeormResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\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\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-typeorm@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-vINT9w9n2NtSYylcrO+jzlhacSAzN5z/2P4RCmBFYf2/QCGsk88cx6+wPZ4f62McaaeHvcBwZEjiGyzPD0FW/A==","shasum":"da23112fbdc50ec35c95bf6c1db8e6b7e1452651","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.0.0-2021-05-25--13-03.tgz","fileCount":25,"unpackedSize":70369,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrPXoCRA9TVsSAnZWagAAmioP/2LysXTCP6lRDiIsXRva\nMl9nSgoftMQTh81R+jcjwD4WAPI0irhAnLMQMcpA435uqBNpato6dV182o3C\nACV0D5cW9f6ZN69g4F06rYF6U5igHBkaNz/40LWL0XWtAFc5q6ZVchyo6+Cb\nmvdvRDYpBHBm4DYoqEGouXwJUHKs9go/eKfioDpxXchxLxJMEhv87jD/5ek7\n4C+uDaMXODeG4PVS/H4CkVNQQvpo3yOOXgHt/F+UFOBjWI5zUOi5hJ7s3Yot\nwSCuriCKw12gjQ7a1CpCyzM+qUt4najx3qe6NH1jiFRJS7Alz+G4biwybEOy\n8SwActIR18gbmY5qsJjWd0kTb9efyQIUFd7326DqLMm3nswVYKTFRMEc2SQF\nK9BcK8IxCrHJpAmNoQEVOB0BEiVEwSbOXNMEI2PokFq/7p0cuXIWJUQQAVRH\nWTzBAJNG1FljVvYaYNfGUWUNrAwxFtaUSSu1PzaTdDj96xtOHALFXomOKqR/\nBiQEAT1VQ+AWjo78TP9nSi5IdE1rIZjngfG8OTgaFqEByPyxdYlVMAX3fRUj\nUZIfyctVgRFZhyBJd+qRwDhnugN1QlmOSrS5zIjkL+YoYreVqISq32yNG5Pa\nz8T3JFn9utJdCQiPDz3ugtjD4E88fLGOfRF8vAwd1V6l7v4vG9l5pw7bd7NM\nwgK4\r\n=JXbm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEdTwWXt9vrOezoTmMIY0Y9JSzhe1pbAcH6gVnGkoqspAiEA0G4komi2YQaBGH6Bg5YUt42Wd2UUYlXUkp86m4DGgQI="}]},"_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-typeorm_0.0.0-2021-05-25--13-03_1621947879945_0.5841473314928227"},"_hasShrinkwrap":false},"0.0.0-2021-05-26--07-22":{"name":"opentelemetry-instrumentation-typeorm","version":"0.0.0-2021-05-26--07-22","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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","reflect-metadata":"^0.1.13","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":"ts-node/register"},"gitHead":"2b31e4e63d0670d8067ee32ba46ce1979d17a6f8","readme":"# OpenTelemetry TypeORM Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-typeorm.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-typeorm)\n\nThis module provides automatic instrumentation for [`TypeORM`](https://typeorm.io/).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-typeorm\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 { TypeormInstrumentation } = require('opentelemetry-instrumentation-typeorm');\n\nconst traceProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    typeorm: { enabled: false, path: 'opentelemetry-plugin-typeorm' }\n  }\n});\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new TypeormInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### TypeORM Instrumentation Options\n\nTypeORM instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `TypeormResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\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\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-typeorm@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-1CLmW90P248xuEhjtLboavzVNjbHsRsLBpFFGGtaUyJLreRGC32JqeDvVHvlIibBlEYoV2JXxaGRMq6exUNFdg==","shasum":"cbcaa75aa0b6a0a680d3c3f8d7bb6c4182e55195","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.0.0-2021-05-26--07-22.tgz","fileCount":25,"unpackedSize":70369,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrfdjCRA9TVsSAnZWagAAwS0P/0unWhq3ELi2KHqfId70\n5gILTKE1gG3wMNPbkB682h0pyxgpt9l3xdvmgie3CcXWj81tZlzCd5E3sARq\nUI80V6VfqFQ9hAmIVVuSE5GPiBuJJ7NCmyX3d1HsPzaNdM8j6NSpk/f2gyAb\nwCPObiiqQSXNupWSG3YgAium0ZzaxivIevaaCd09xsF7mhngv6vIwnHUL2vx\nNLmwgZW716vx/DulGj0/pWTWdUdEnU+eT+Awio/g+1IEtV07nAaiPncusu4r\nu11/FI4z4J/pPhMtzbKZcfjGTRGuFX93PG6WecDNlKF1Sdzlp1zwmi8zSwJJ\nTqJnWVxf/P94STQH4DqOmaY716PPh+WQ5RqJcyftxfHrx05f3s3sMXIBrXml\n1XP1Fq/IQj8qkcKbDN0VW6382sUQOSpv7vUtUoEZ8mxKLPcCYEaaEVcsEQH/\npsFhCOEkzyQPn+qHD7FsuBjoWUeQCJVo6tXB7om0DRIAwjEfXNDtyzbNMw3D\nMt7sX+0HkIfw+r7XtBSgAItmZUM7f52jnirJfV2mDbX3wru8FusfmCEIk3sb\nrg5lo70t3LXOWicSEd1x0xoJRj/AqguNfEtWRj8xkb9r3MkBiKIOodVkGOOo\nDEQ1CvUI71wHb/AkpT07PHfUz4YteTQPcCRU+O+a3UX3IIteVPLGK4tCDRYg\nlncM\r\n=wN9u\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCiPX9URzJ8qYfrOz/x1Dd8IGbmrLa4XcjNI1FEKG84EgIgGtSMsk43Rtzj6fKueiKqCH/25PLLfWNp8s+Uoys+LPs="}]},"_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-typeorm_0.0.0-2021-05-26--07-22_1622013795278_0.7329154929723656"},"_hasShrinkwrap":false},"0.0.0-2021-05-26--15-12":{"name":"opentelemetry-instrumentation-typeorm","version":"0.0.0-2021-05-26--15-12","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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","reflect-metadata":"^0.1.13","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":"ts-node/register"},"gitHead":"6f64818f1e8c571b9e7341a8f019edb26605ea66","readme":"# OpenTelemetry TypeORM Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-typeorm.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-typeorm)\n\nThis module provides automatic instrumentation for [`TypeORM`](https://typeorm.io/).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-typeorm\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 { TypeormInstrumentation } = require('opentelemetry-instrumentation-typeorm');\n\nconst traceProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    typeorm: { enabled: false, path: 'opentelemetry-plugin-typeorm' }\n  }\n});\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new TypeormInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### TypeORM Instrumentation Options\n\nTypeORM instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `TypeormResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\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\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-typeorm@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-hpvWJ6+QlIZH/ZN8Jyer/AIatYgNojDjZ6uUhAS+TLum3setgwBqirwbYIKEqBxWostkQUQ7A36KUGUCp0+ZPg==","shasum":"e8b862969f1613b1f5948c477369248db11d02c1","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.0.0-2021-05-26--15-12.tgz","fileCount":25,"unpackedSize":70369,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrmWjCRA9TVsSAnZWagAAS5cP/iHjT21RZZ4IX/jiZxVW\nsAq4EdLTMxRj+qVaP0+FxeDDCd3arfg0pOFtT0TOxqevhEbNOMwIbkRX77KY\n+RtmsHZ1UIZXUNLXXGqRdZEUlf770Tr34+R3n8gRXc7UrONl1er2L4+gmpqi\nmWO0dOdkU463SdPpcHvl+BKgTFsZSKocMmW+V6/G6cZA/DzgW8LdLUgjmDwr\nUouYxgEyxBLDLVLVWE8z87pHL+U6vSMe/WnHd859tLpByf3ueHFpyRW2vZCk\n1mDC4XE8jj5z1ppf0Mk8fcEwuKimeCGPNK5PnK0RCf/XQaL5HS6LWZ/Zpv7t\nk0ZXbn+2nqj4DZDT+FmreIwtpp67gpMbxJeCmiKT50oMPZpDuQjgup2gCqKH\nrRSytw+/amRiseiDdFKoPJ/50arX/nrDwnvMvAvsU9VB5aAOS/Vj0mQCEejn\nopBAOGpoc/ElK90+zAOyGCGB2sPl6cL2xK8Gfgy6m55/t7chfWzC0XcRYhr3\nXIl9qiFs2oJAxcCZteQSjBMp1blomlOCoTz6WhhuZWV17oUZbdgI+Unas+LN\nePZ0gC5gq5WKBlOtMM8ttNacnDJI5FgO4UdKjahIHOWtuYLrYK38Fu+6QrRc\nfinkSLfePKBKuqyd3JvM28eKMfyMnJYbmrs9XKuJRpmiA7bX72VFfhpq6/yI\ng25D\r\n=ZMY7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGDZmC2OSxnDvpxQYV5scpfipA+IxckB3pFcro5ISAcYAiEAyi9poMmkCwVRjzn5flEcghqKdNwJ7tgYGPCGegbEMT8="}]},"_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-typeorm_0.0.0-2021-05-26--15-12_1622042019211_0.1268508913338091"},"_hasShrinkwrap":false},"0.4.3":{"name":"opentelemetry-instrumentation-typeorm","version":"0.4.3","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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","reflect-metadata":"^0.1.13","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":"ts-node/register"},"gitHead":"0ffb67e586f78c6b091b3af5fad8656fde819202","_id":"opentelemetry-instrumentation-typeorm@0.4.3","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-n5n7Bbd6f/RNzc0IkaTvxZcC8os9cZQrwx5uwMPuh3hS79WEaHdriNzYxNu3aPnJfbHB6LWjBN80APo7+W7tQg==","shasum":"9eed663b22da555218c3004ba8da9271015d80e6","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.4.3.tgz","fileCount":25,"unpackedSize":71069,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgtOdxCRA9TVsSAnZWagAAKcYP/0sOlbSZPrSOaqMLKbJB\nZe0csFPHapDxCdo8CuunC2bp7P3xVAqKnKXt7evwJAuMKsqxpwL2J2Pmpq7F\nIPiVMdgrvjDlYCWubTQEX60jjBghE1787DtH3Gjvx+g+zK48mkdxq5XHAfki\nvw6WK84RfpX1Z3wC4vDaoot39U8qmtjmjAcYxSFF7qCgIQqCrYL1/cyzLF5r\nRaBn9BLKGwzBcDQc+rRTYz1g45fHtiB0sPFIfsEseiF4oAyFmjDQuICIn5qG\nXRYdU1yNufj4dpPgdmgNeONLl0FxOPBph6Srp0r8eHDbi6xpGTDVJ5iCtZv9\nOyIInngHLFftxXRnJAEGH/Lc3UjiAXMqh9Y5wAGBs2+BBIJ/AZV72WXRS14K\nYAEIBmAczaOpwK8U9avZJD3BUDp8CSFqwM32pJY01zkkoC1MMQag7iPd6qc2\nDNa9MSY8njlrbCppYzyJEVWfqDDztiIeKezvkZtbgukIF2DTIQxpeKxx8gtR\n0IFIyatv5FWa2fn4nBKKSfIH6miYjmkoxrPybhSLh9HVnAUO06UYEoeLFNyK\n4kDJ38TcpBtreyL4gChQ5RL5wRGFHrqc4pzxIQ8O983B+Yt38Djj99zTszes\n3HfOfw33AdPrmGDqdyJGdbwF/IVZkxweQpZ67goZtzW0twvmBRZsJMfbl2B8\nUueq\r\n=ats9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID1TLUdobuK9MLf+TXTkOoyhoFoSVAPMsACTPd3x4YBJAiEA9P5ArDez/uEJFJub8P17JpLUxg6vaSCTsOjC5wD79Nc="}]},"_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-typeorm_0.4.3_1622468465530_0.05650868049445679"},"_hasShrinkwrap":false},"0.0.0-2021-05-31--14-38":{"name":"opentelemetry-instrumentation-typeorm","version":"0.0.0-2021-05-31--14-38","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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","reflect-metadata":"^0.1.13","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":"ts-node/register"},"gitHead":"bd5bce12191c8173f30d62733cb45d2dc0feb610","readme":"# OpenTelemetry TypeORM Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-typeorm.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-typeorm)\n\nThis module provides automatic instrumentation for [`TypeORM`](https://typeorm.io/).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-typeorm\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 { TypeormInstrumentation } = require('opentelemetry-instrumentation-typeorm');\n\nconst traceProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    typeorm: { enabled: false, path: 'opentelemetry-plugin-typeorm' }\n  }\n});\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new TypeormInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### TypeORM Instrumentation Options\n\nTypeORM instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `TypeormResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\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\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-typeorm@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-5+vW9JnMvt3knIwSraJwytPFvGNbIxkeaeL95litktQCH2lWTkz31+omhXtiIcnNkkodIcTcv8YfaQsUJncR0g==","shasum":"b1400f5fdbab4798e44c8275e5d87dfe099378a9","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.0.0-2021-05-31--14-38.tgz","fileCount":25,"unpackedSize":71143,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgtPU7CRA9TVsSAnZWagAAxLQP/0tadUZP+qqlrg9sFRQJ\njmW7r+nONCFF4U74if35eFeQBr/ufdUs013qma1FM6WXh4/R68lOc6xDkHPr\nz4tXGLqfts6bmbFGS1Z8Np7Wf1huiR/8lw9VU6+/7LLLRFS6G8OUXNEaiem6\nj7xLPhOsW+PiaNMfLqzY947jjGJaq5GiAxWmdOClLaIM5MmiQGytmbVoem5L\nNPDsI4fwK/LilLNDcKQvTVL7eIKpZq5MmsE4hmOjlpg/8sdPguVphlbLwKAQ\nVtmEjwDG37s++Y2sFR1yGULyC7aUJy8LC66cPndEe4SWbwbn3f16VplbayA0\n6RhnIidJtn2VpUyScicUwkZ45NLvSV7Qaf5vyfRjFdhwITZya1Oj0EPf3923\nIyANS+/FNQhKG8BrpM56J0JemATcpkpOE38PSkYhdPoGEgpdOLMeMT+t4vKt\nzFbo1m+p5/ZOEl9lVNNZbqh7mR75ZoFlv0pMdLReP7F3mkGgVkjT/8UGmiaX\nGlie+yijgmBILF6xLKHk2YOwk9+ExI1trfmhC2/nq2PGyj6yObZ2W3TSYKg1\nN6EAf06F3bZ3waUONlj5hJy4q5U9YPD3jJQQLdgx/Z22HqCF8slQtgaqlH3m\n4prcvOpa3TBtFPJtiobTSq6mpKCnz8+TPahJnOgmsj/5ahFSsshQ8zZg354V\n0ROs\r\n=5MAY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDMYp25e+pbzUQUE8NmxPaljUJqzFCuq9ZPhNovwRTQAAiBOsAb9SrdN5ByWLoMKIkQVU9cOu0qvdnr0374kLkzhJA=="}]},"_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-typeorm_0.0.0-2021-05-31--14-38_1622471995486_0.7627581876236875"},"_hasShrinkwrap":false},"0.4.4":{"name":"opentelemetry-instrumentation-typeorm","version":"0.4.4","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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","opentelemetry-instrumentation-mocha":"^0.0.1-rc.0","opentelemetry-instrumentation-testing-utils":"^0.4.1","reflect-metadata":"^0.1.13","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"909b2e07091c7a7e88e29438f936bb30b6416c1f","_id":"opentelemetry-instrumentation-typeorm@0.4.4","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-n42wZTce43LccsaGedlKlJTN1E1N5VzlVfr2qwyDRp/aMiGjsm+sV6qKdvXzaIBzlwIHGACEVyerLz6e9PFzWg==","shasum":"33640bd75703992789a9d94dd2c6e94fb8f0a133","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.4.4.tgz","fileCount":25,"unpackedSize":70001,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgt25sCRA9TVsSAnZWagAAY2kP/30uOm8Z8rh6qlQlLKvo\nCzjl6ZsCNMbC6QxujlGJ8aczuteJ4CVebL2xmGKuA9XUBBxqlu+JXoXIvZ2E\nghTYRBL/oF4u5vM4lt7E6Cqn5gKjzdMV3Dp2qLOQpZVlJQr+KjSQrOiK3KOr\nSB3paqfFXoHLMeD4iHq8RPbdOt5NYB2s/INEGPO1FarV+NULLrApUi1pAGHR\ntJLDp+BnSPfvryf/nJY+6EblEwQG1ldkxs5Waja5yMzGeaJ/E41JtV151m/w\nzT3/l20eK+nGT/Svp8kqM1fPvt3IOGXpKfjO7A6wZByceQ97MrIscxqOCfML\n9NFW+eg4EyUxt6puRxrAeSe740kHsVFzdA7bzuZwVAYhPNFdBqxJrPmnsFjN\nH452ajan/v4BPahKfq2X++CRO9SDvpMHKS6ocxSGvPJETHjHffednrNnCaeI\ndPBUgspq9DWnZq64tsoznSzFCygDHZl9gn/+Lc22tR3/MY9oG7VYnFupBPgI\nL+fS/XjJazxbukqIIGcTowkfG6sfIPeb6swjQW13Cwmr5iqLlo5mDKL49YkM\nqOsLP3vISXtAJ45kG5FvM2IcikLDC/dG3yzu0QS5yAL1fLoe5umNA3MmTOGi\nBS3d9g80pmtiZz3b56uiX2ut/72mTzbY29yhZjoDtHYJWoHFg2md4VDGIOrf\noJvO\r\n=CPjM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDXJQeZkip4aswQu3Z2BDDcXsnwCNRJL9gs7vcd73R4AIhAMCAtA5JNqAvJ9B4w3y8OqCDgiehQVB3VVbbnAKdYdyS"}]},"_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-typeorm_0.4.4_1622634092599_0.28502110836420846"},"_hasShrinkwrap":false},"0.0.0-2021-06-07--07-42":{"name":"opentelemetry-instrumentation-typeorm","version":"0.0.0-2021-06-07--07-42","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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/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","opentelemetry-instrumentation-mocha":"^0.0.1-rc.0","opentelemetry-instrumentation-testing-utils":"^0.0.0-2021-06-07--07-42","reflect-metadata":"^0.1.13","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"bb0e4af3e4a101755c22fdb692be07a6ddeef51d","readme":"# OpenTelemetry TypeORM Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-typeorm.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-typeorm)\n\nThis module provides automatic instrumentation for [`TypeORM`](https://typeorm.io/).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-typeorm\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 { TypeormInstrumentation } = require('opentelemetry-instrumentation-typeorm');\n\nconst traceProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    typeorm: { enabled: false, path: 'opentelemetry-plugin-typeorm' }\n  }\n});\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new TypeormInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### TypeORM Instrumentation Options\n\nTypeORM instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `TypeormResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\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\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-typeorm@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-i3DF9E2XBiU9BBe7A99nJyXlHClW+/mRWthLHwyWlBw9gZlMDiYbWwpQkn7s2iODbsU2srALLgvtAK5+/gRf9g==","shasum":"72c3baa12bcb5a8232e3c4cfba09882ac3fa0d26","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.0.0-2021-06-07--07-42.tgz","fileCount":25,"unpackedSize":70109,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgvc4yCRA9TVsSAnZWagAATO8P/idb5D0nv6fklY1vf/Vf\nMxSEvUVQonDwxkOmAVqUXdHdzEYSgqDXorh7HqczEbsYr7ZYOczAvHUDMbLl\nTV1Nyh1wTyU17+6lQn7iX4VQZjmqz7UZ6kBMcgq3BGF3f9jPm5gSs/nmXKlf\n2361LkpJWyi1gVjhzH8ED0Tqz1mz0AFSGytny3KDltbDSPt8TNAGCRxK98Wy\nsyoH6njMF6s+s4++mGNHM1uaWC/xmgchtj+yy+nHlTVmK74P19rJz6mzUncD\nYlXTI5vQVOaOZ73/Y8BSam+EaeIZ6DqG0CTRqCribTeUhQJbgnQclMu+QPKn\ngtng4HKpFpgW8ckVBUHQ+Gc8teI9RnDXuPthdRxegfdrzKaXqypBxUrIdp/c\nklOpnCIhihqvNTV4hX1YcahkrJkOjZzAuApCByblT/nNipDBBB7tI2JwXPJH\nOW3TxmyhW2iNARYdjKEmzbF2C3715Xk9j9LRQ/oo7+lj3QiUs6Rbnra0yYkz\nKlgGaGHL4kb+O+Bkr3CyZBtMph50wGK+VdWfnsF0eRLob8hrRHJ0NHZVe9MW\ngXltqyibN5iPZUnJsn8EHWwbdBRyhlvxN5mtfgvfChny16O4fhp4y6DOomy4\nQrolSymIz15qQGReU0bVH1X5a0R7FJFNwIxqMKh5LKCJE0QcKcELewOQxdcW\nNPsc\r\n=G97K\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDRtw8FjNZok2IUuWNKNQwJj9jdgqmv3R9iCmhCjBG35AIgQijSIldTnj3Yuuy4FAFb/s/4BwYtAFzXpzDGwvDyVOc="}]},"_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-typeorm_0.0.0-2021-06-07--07-42_1623051826195_0.3831222338074489"},"_hasShrinkwrap":false},"0.0.0-2021-06-09--06-50":{"name":"opentelemetry-instrumentation-typeorm","version":"0.0.0-2021-06-09--06-50","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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/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","opentelemetry-instrumentation-mocha":"^0.0.1-rc.1","opentelemetry-instrumentation-testing-utils":"^0.0.0-2021-06-09--06-50","reflect-metadata":"^0.1.13","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"89781f894dff1488c9794fd361dea0b63f4c9be3","readme":"# OpenTelemetry TypeORM Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-typeorm.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-typeorm)\n\nThis module provides automatic instrumentation for [`TypeORM`](https://typeorm.io/).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-typeorm\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 { TypeormInstrumentation } = require('opentelemetry-instrumentation-typeorm');\n\nconst traceProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    typeorm: { enabled: false, path: 'opentelemetry-plugin-typeorm' }\n  }\n});\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new TypeormInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### TypeORM Instrumentation Options\n\nTypeORM instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `TypeormResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\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\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-typeorm@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-ogt0dph6BhrKx9AaH1X04n5VA5S0n09N1XNO+ubEmn3CfH/zpC/5L7rITc/pCNvKddMuPvI7lbXlNhwDNeU0VQ==","shasum":"30e43edc61747adc5312b594e4e222f7530e5a7f","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.0.0-2021-06-09--06-50.tgz","fileCount":25,"unpackedSize":70109,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgwGTgCRA9TVsSAnZWagAAFAMP/1eSPghlTxHQqvGoSOzT\n+bUlWM/hp/thKFAD+zV5nAi61uRyfv9ONGuNFXNqIkiBWxFp5GWjLb3Rgnm8\nCczO72ObeJZ2wgvx2klm32qXUv+Z/B8fj4MV7WngGkSoRq5JB2NyfwnXfD2y\n4aQQbtGa9E0butGnYBqn3DzjFwnZpOVgHR+M0Ky8S+SF068Y1MPkWqSsYZ9/\n31eDW+oP5OIBWp2jd/m46Y4lcBd3GUlAzk788zGZgjVvvPIpv1P/eibxea1f\nzLEdEA6caSxNqPs5Zsi2rW3LxNwQsK4NPli0+6tpaBX9StJdikDhrC9ZxClY\nycPdQ0qBN6eVobFeS7LQVoXsLySIxp1ZWK1suCI+7oKofoFzz0m63j0hwsJu\nSmav3CalN5QFz/wfm4z0T73yMGLWrffFd/lp1rD5Rt3eCKOD14uA0U9SbRwM\nSV03sLw8JHmzeSstXu75vhCAq4GL4BuWbA4d+eH43Ux8KHdaupFFmndTGWO9\nzaUxJUG6G4c/N6riqigrjPKCYooneGZFpkwOh/bn8vaS1NxPv8CWPO6509uF\nnNMizHx7sPW9i5qjyHioQgjj9n5nAhL1WJUv9i+jaG5XwiJxmKXUW7UUOg2M\nhkhTy4HvWAnz9lW1GoF3oqzCNLzhS0czzPXIin+tNIcmolW7IlPD1E2U3Dwt\nKbVX\r\n=WgrR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDizgDCZ1+Is6JqCGlcIx1X/HfAJd4IMWXru94br3jEFgIgXZ3+v/vg3x36VI5+jHpnnGuuZW+nltonyxtAmZ28UV0="}]},"_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-typeorm_0.0.0-2021-06-09--06-50_1623221472694_0.030484085325849453"},"_hasShrinkwrap":false},"0.5.0":{"name":"opentelemetry-instrumentation-typeorm","version":"0.5.0","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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/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","opentelemetry-instrumentation-mocha":"^0.0.1-rc.1","opentelemetry-instrumentation-testing-utils":"^0.5.0","reflect-metadata":"^0.1.13","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"5d2d40dae3dde329743437740a7987ac53e7814d","_id":"opentelemetry-instrumentation-typeorm@0.5.0","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-BLzwvFAc8VuRxS9fI5Q4GMCAWUirpylmwNjdiLVMP1IifHvY9438WJrbackmCGttvQiyAXuD2K8F/+UDDDteBg==","shasum":"f366a86c7aa73311af79dcc7739e96dbcd645c70","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.5.0.tgz","fileCount":25,"unpackedSize":70274,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgwIYECRA9TVsSAnZWagAAN/0P/Ar9entusrbTbQuxUNuQ\nKV5TJBCVdRGtbCmbB4IoJMv4jSyGwPFCAghXq/LARh+sgS0cDQuL1Gjvz/lS\nQINnBAqSY2RqZpOS8udqfwkJU57G1216rI4ilIcC0kmMYx4TOQHS1B/MPzza\n2i4HrsiVN3u8UbGDAWwtC6PMvme12Beah72fABojVl/t7/eeEBVi38ep0iWx\nsop/X1DRFacWowM035UThNfTaZbObYMlX5lhQgk4gGW1cMiQdIZzZ8re8XDS\ndE2hKGcRlzCk/HhgBtZmXjI71X0cWt2r4uwbYmnn6qKvWjSBE0Bw0GCCiIKt\nZe5UHq2fOT5vea9jQ5EMwyV0vCIj+2YDXXA6jblHCrRnpY13ISBujPvsPvQP\nIGBhbX+Hvcek65+KW2/VER7/uWh79NmIhIBuUIDZHZY/FsyFD1yU77hDVYLu\nGoOrtTl829sdyTaPXYygiqQYfyC3S660t7KO9PtOyQXVQ6f/qT4b3Iw0DA1+\nCsjdLEPKsHRFgq7oVCL8FfGaw9ugdaAno/FyInD99tHdu/XYejuDz2vXlVVh\noRHIKHAzpZLA/pmseOy4MCquoZG5cBm9o8nFemPUltf7ZAvaF0aVeV6trdTa\nPzbgFldbXCwyF1vvgzBZCdidAzMTDEq61LnBoHXoX/6nt3VEPNK5bP0QmNFn\nFvo9\r\n=v7c9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCFs76Es4oBKlj0RzwScUbLX03+FhBymZy20YeV7daiAAIgHdiX3Co/zzrxPwkXqO8/acwFiM1taEcaN79K5xjQmgE="}]},"_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-typeorm_0.5.0_1623229956829_0.19346178216467802"},"_hasShrinkwrap":false},"0.0.0-2021-06-14--13-06":{"name":"opentelemetry-instrumentation-typeorm","version":"0.0.0-2021-06-14--13-06","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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/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","opentelemetry-instrumentation-mocha":"^0.0.1-rc.1","opentelemetry-instrumentation-testing-utils":"^0.0.0-2021-06-14--13-06","reflect-metadata":"^0.1.13","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"7c1bec0d45e4e1729da931048881068dd80a4b90","readme":"# OpenTelemetry TypeORM Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-typeorm.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-typeorm)\n\nThis module provides automatic instrumentation for [`TypeORM`](https://typeorm.io/).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-typeorm\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 { TypeormInstrumentation } = require('opentelemetry-instrumentation-typeorm');\n\nconst traceProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    typeorm: { enabled: false, path: 'opentelemetry-plugin-typeorm' }\n  }\n});\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new TypeormInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### TypeORM Instrumentation Options\n\nTypeORM instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `TypeormResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\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\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-typeorm@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-0mQOBH4TzT1qpA/69aqFq73tNR/fiOLtbqlyCODlmVuPDzcxrr9h5YgnJSzU6vDApTlOmFoK5lD4LQDyLy8NjQ==","shasum":"c2f8d637cc10198427c2482482451730def1dca4","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.0.0-2021-06-14--13-06.tgz","fileCount":25,"unpackedSize":70366,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgx1SACRA9TVsSAnZWagAA3zwP/i0vY8GIpN0zRLV7j172\npHT87ppcSIQ8PbNtyg/wWr0n0HEwsCAWeBKKWnXJgUUZuAqU7J85WkBypPQw\n/60xmA1zNOSP/madTxRu5Ypr4w4dJXvmSovLG3iBJKGF5nNkKhd7xtvAcUnj\nFM6aUR1EkkAM8FQa4sW8EuRtzLoUZw24WtEmrcXTsZfhR2ieeo34dd5Zn3Ms\n/iNd9LQJFnqKiqk3NmVANQ3sDtmDy91Z4cV/u7NjzhstrmEJGlJU9LKjCVKa\nZly2jfIPSq5w44CdRsYAKP1Ydiduyd5n5Al8DluMCUdZc/k1lOydUe0dkJEK\nNkIQCdU2t9ZaTQvclUzoOF+va/YS6egSKDvCeltz3a0EV3upVr8oy+1GoteH\nDPNYaPg1xO6lCOopxrxrm6r6wXEKNUHF3Em3j545+uIS00Zrj05s1TrrbfJO\n5/jw8M2nmQKV4YO3a0s4WXeoJA17AVquqVqrHJemC2nRRBYJ87HJIYTVTw7x\n2hyxoJqPyhrdNYoGgB/FBnOb8J2TZIkqz2kKpGqYsGByryL9VafuZqI73Mtj\nDPH3eKDkZAtlyD5En26luRz/j8Grum/aea4kdouv+ZtxV9/CfXiKcoRfOLY+\n8Xp/mhEFBvQ35cKgwxU8v4C4bRvXX1KZYC+OjfACrzRaen77Vzc2F4G4170b\nX4Ch\r\n=S5I0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDZiN1fTtCSmWyQYrzlaFV1T7BgC4jInX+2f/QJigbEtAiEA9jdgLwYBBtd4PMdU1HPLJlNW38U4xYlxEXZyJlfYdig="}]},"_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-typeorm_0.0.0-2021-06-14--13-06_1623676032579_0.5817874521576631"},"_hasShrinkwrap":false},"0.5.1":{"name":"opentelemetry-instrumentation-typeorm","version":"0.5.1","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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/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","opentelemetry-instrumentation-mocha":"^0.0.1-rc.1","opentelemetry-instrumentation-testing-utils":"^0.5.1","reflect-metadata":"^0.1.13","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"5922581fbe66f3590eeabc9e1983e33fc1ab3021","_id":"opentelemetry-instrumentation-typeorm@0.5.1","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-L9V23hhQ5Nz8/WjspvkqvOuUDD8dsSHqpQ5dcQ8FzpUksbhp98pnih9ccTf6V6GF053Y5O2ZPXRfuAuU/qi/kQ==","shasum":"69a6e22ed8affa0083586d325e141c69a4bdf177","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.5.1.tgz","fileCount":25,"unpackedSize":70723,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgycJKCRA9TVsSAnZWagAAB74P/1bnkJADd9wOuryQSaB7\nBfFZktVp5Kx/1/5NM27zsMH0TGRBvOIJrcjfIo1bg0V9xiMIcBX3oKUM9pFP\nGt1tdTtHgcd0a0yytb2e0qfguxDZzaw7N5Hzm6yHn6osT6u8xyvRA94TINnu\n6c/Jgvd9x9ydhDLPuCUMR6hhMkzw2uitR2EU44We98zSzK5Z+/BzOaigdso4\nhFvEaTreDdTCStyeJfwmfdf3IyZEszN247TLjovMxWxXOCsmZB4X7AB3BSIx\nqZMG9kzOZnuyvCZkpKadWkZa9S9Ocdu0T2GDYerhQiTPCgCKWem2+1h3Lnna\nwmYm9SrLFKJ9z9AW4NMk7L5lT5JWf+TwVW7IYfa1wBpxcGQtZ8k7nv6ealMb\nKzWQ4qevj8yRDqOifl/08uo+p5srHp7h4oKarrwnk+l7kfg8Wnuk7t3I1SKG\nw+m57qhZSogTNRw3IqkOPu1wz/7LZXppIkBv4qXzJEI9G0aw1ArgkKpgLmAI\nwuO3jknPrJ/GcsjiKL9lvYeY9pxzKvfi6OPEpmWB6EqmvrlR+MzX1fYadmib\ni0OSH166OnMpnhyCnqSaWnTYIq+WwMyKX13c1iOZBjeW9yogP/PaswcM6p+s\nRCk3KaFzNazw3iF9cy3CNBfY5WvBQrvQzVmbcj27rl/lcbvhGfG2LkeTh4vn\nUWU+\r\n=vCax\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGKmPpsCgTTj1W1q0yCuc1z4eiIhdtGz4k8SJacBolYNAiB5aUKEIYEuGws5AkaTnerJtyM8QPPIAWRHAy4SP9kspQ=="}]},"_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-typeorm_0.5.1_1623835209981_0.3840836908669547"},"_hasShrinkwrap":false},"0.0.0-2021-06-17--13-11":{"name":"opentelemetry-instrumentation-typeorm","version":"0.0.0-2021-06-17--13-11","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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-all-versions":"tav","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test-all-versions","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","is-promise":"^4.0.0"},"devDependencies":{"@opentelemetry/tracing":"^0.20.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","opentelemetry-instrumentation-mocha":"^0.0.1-rc.1","opentelemetry-instrumentation-testing-utils":"^0.0.0-2021-06-17--13-11","reflect-metadata":"^0.1.13","sqlite3":"^5.0.2","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"394b69f3cbe81fb9c51c6571e782f08126d97735","readme":"# OpenTelemetry TypeORM Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-typeorm.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-typeorm)\n\nThis module provides automatic instrumentation for [`TypeORM`](https://typeorm.io/).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-typeorm\n```\n\n## Supported Versions\nThis instrumentation supports `>0.2.28`:\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 { TypeormInstrumentation } = require('opentelemetry-instrumentation-typeorm');\n\nconst traceProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    typeorm: { enabled: false, path: 'opentelemetry-plugin-typeorm' }\n  }\n});\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new TypeormInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### TypeORM Instrumentation Options\n\nTypeORM instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `TypeormResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\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 | Typeorm operation use mongodb/postgres/mysql/mariadb/etc. under the hood. If, for example, postgres instrumentation is enabled, a postgres operation will also create a postgres span describing the communication. Setting the `suppressInternalInstrumentation` config value to `true` will cause the instrumentation to suppress instrumentation of underlying operations. |\n| `enableInternalInstrumentation` | boolean |  Some methods such as `getManyAndCount` can generate internally multiple spans. To instrument those set this to `true`\n\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-typeorm@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-4ZridDPsBPed7ip2KNGxezGUmZBf5NpEyojob/A+V6+6WITp1bfTF/MFQBTdP5W65ahE1bLxuz1cfKpeMnoFww==","shasum":"617fb0f6baac55b55e9e0c20148850cc448f6ded","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.0.0-2021-06-17--13-11.tgz","fileCount":40,"unpackedSize":118619,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgy0o1CRA9TVsSAnZWagAAVXAP/1F98l4jLzp7efBuc+uz\nuO94032ZdnoahROSc4iuK8kTYAgmw5ywFRANHSl+oWxTo40l4uZw5V+ERBvM\nYsF/IidkDAN5PxSvkpG5Paqs7M3j7CRlzCR+YAQNI/SN5BLGxyg6ZdyFRRn/\n1kZwci05euGn/oOs8fS9XRd7Cqs5qkZMLisTigjZxtXwYxNdk4fYFUz2ux0G\nkK6n8xiopfObKZOdMEJppsv1rtT+4nxJhzuHXTBcN1tup6bRFsK4SodCeaJh\nCw/VGmi60idpQ63TkLgmjJf8FCPACSr2+pa17swKT1lMwoyLBZDj12rlJYGU\nEks/0bORmlfWJ/lTmT8kWZBLpdGSzig/KgTqHw/am4mptHhfapIuDQgj3gjw\nH0hFersPiVl2o2XGzB/8L5dZMr90+yrBLMi186jTcSqfoj38bpY+MYpx7b+0\nplWdIqXZ/1uthmRHHQkQmzKWWEXXCPdjYRwyTJKdGgRhQ4mSYsTE/uZ7BezW\n1CfBHVPYA6U7EaJgtKVFzG+RE5r8wEeWl0XHmZg54PSrsMdG+FbCpb5bvDGo\ndLzlkEDqcIWj3jHVz6sACxJ7Wg9CAHQUAMuTd87AB7cVBXJEnDCCZXSkEnNR\n4x7elX/0s/uBUY6IVezD0/aXjtWjEXBhDj3REOvcYV/mqlwTNJCtVeluP2of\nQu0B\r\n=auyl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDLl9yCMonyf0UiaxEpfGNyPvdCfE3NmHKR8kzZhVbF5AIgf3sFpq6M+hj8rYM28vrTckW6LRbtwhagifJa1m4XpJE="}]},"_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-typeorm_0.0.0-2021-06-17--13-11_1623935541075_0.9792678488355786"},"_hasShrinkwrap":false},"0.21.0":{"name":"opentelemetry-instrumentation-typeorm","version":"0.21.0","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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-all-versions":"tav","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test-all-versions","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","is-promise":"^4.0.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","opentelemetry-instrumentation-mocha":"0.0.1-rc.2","opentelemetry-instrumentation-testing-utils":"^0.21.0","reflect-metadata":"^0.1.13","sqlite3":"^5.0.2","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"0eb9c76b2bbcf85cb228e2301ce0cc1346076808","_id":"opentelemetry-instrumentation-typeorm@0.21.0","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-4fg2D1m/H55bJsANrAXQsR0P89Gq008kRNDJrEHXOz84Aqax6tQjYXhZpMCnU5zhX9WVvKqGbhwjXdYuaqkWtw==","shasum":"085caae313d45495c871ef22f7d4d36909c08775","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.21.0.tgz","fileCount":40,"unpackedSize":119019,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgzxMiCRA9TVsSAnZWagAAnwgP/1pUm8kXi855rFHTbvkI\nqu9irqNSNaBTJ2mib7y9lIhv5UU7zL65FPQnIJA2ricxIOQHDmrt/k4vNJ8Y\nRKR5rUnnsdHzNGDiPSgYlTP7XNV0dfPDg4dGGrQHX7T8bzlOBPQJSCsQoFfJ\nrkAFp8lYUPRYDtHNSwOTex9oUHScVMmtKUXh19wZa4LZd0MIwFiwRcj3jOsM\nIuvuL3bDZLnmojcgsl+GqO3QNPZtbzg3iN7XnJvA4r4E8ROxtv3OYIReNXn1\nl7b3B0jvL0xU2wcW6ad9eItph12tbbGddfrrAhlCLbdChToyEhnX3ujDy3Wh\nqL8tVtBOsKhWuFkZjwkUzIL4X7bm/pVsEgApnfTrmuan7oda4zXltbv3ASnd\nELyp4iPfmOswhinp6sS/OFo9E6yHKPS4GfQeydzYo4u576YuLFiEzYpd8JyE\n8ySuDPiWEP7Pgf4oiwzBYEvGIY+Ps4lZMU3XA5kA6i+FWesRcM+OE30v60xA\nm5B/3crmrU0iHj62wX/mD/+wuzOP5G1vdWDUaqNqZKCZWcOQNCamThDFPi1u\n5OAXLzPXi5++T0nIZ/H4saWbe7YcJnQ1NZ+qrA897fY2Ywjp8IJ2EmIcJhdK\nJBgAHwTPhulKb35GBZGpyxWYjECBqN/xs/NnXTkcRydTF3E/iakeVwdrcaA7\nCHdD\r\n=vrRi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCxrO+NZgZHadDdM9xOAW3BhvLUXUEVF+2vlUwJHXir/QIgb/tdmXKT2P+V1bVRu8hxVplRZLdEesrQ46kI6vJhgls="}]},"_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-typeorm_0.21.0_1624183585915_0.2785609676215257"},"_hasShrinkwrap":false},"0.0.0-2021-06-23--07-47":{"name":"opentelemetry-instrumentation-typeorm","version":"0.0.0-2021-06-23--07-47","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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-all-versions":"tav","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test-all-versions","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","is-promise":"^4.0.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","opentelemetry-instrumentation-mocha":"0.0.1-rc.2","opentelemetry-instrumentation-testing-utils":"^0.0.0-2021-06-23--07-47","reflect-metadata":"^0.1.13","sqlite3":"^5.0.2","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"3aa46659e7d7b8cb0038645cab620fce3d08348d","readme":"# OpenTelemetry TypeORM Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-typeorm.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-typeorm)\n\nThis module provides automatic instrumentation for [`TypeORM`](https://typeorm.io/).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-typeorm\n```\n\n## Supported Versions\nThis instrumentation supports `>0.2.28`:\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 { TypeormInstrumentation } = require('opentelemetry-instrumentation-typeorm');\n\nconst traceProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    typeorm: { enabled: false, path: 'opentelemetry-plugin-typeorm' }\n  }\n});\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new TypeormInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### TypeORM Instrumentation Options\n\nTypeORM instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `TypeormResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\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 | Typeorm operation use mongodb/postgres/mysql/mariadb/etc. under the hood. If, for example, postgres instrumentation is enabled, a postgres operation will also create a postgres span describing the communication. Setting the `suppressInternalInstrumentation` config value to `true` will cause the instrumentation to suppress instrumentation of underlying operations. |\n| `enableInternalInstrumentation` | boolean |  Some methods such as `getManyAndCount` can generate internally multiple spans. To instrument those set this to `true`\n\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-typeorm@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-srCLgMqA/Qaci75mNV28z32EsOuacoqOoqZL//DSy5JwOlJRZ/5huNXPrhQeSbWPsnmSolS/1jA+Vyr1CGBoSg==","shasum":"6b80d6feb2a6845c2ea02a6a079b2329b05d8736","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.0.0-2021-06-23--07-47.tgz","fileCount":40,"unpackedSize":119106,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0udrCRA9TVsSAnZWagAAmq4P/2wA+vyFJoaUhVnbzJh8\nJnaw9VtbLtfTTioDhvJHvR1O1zO10vtclQwSelfS2+xtXz0cVJ8LA6WdWdYq\ne760bw7lDkUCfz6R+FP540IRFsS/vqd/rGUiKpWV2xYu9qxqvCUFSA6RQPE+\nO6DGvQJ+vrao3kc/x5rlOXM9brJMvjGb/DHAu0hk9LKm7rOuQFc04ZnRuvom\nZL5+lb5XotYVIWWJWNjmNMSO18UFm/TLgC8cv6734BWRSjV9SdEa+uUahb6L\nkGUFP54muVluRhVL2paEDhXWdY63pYcxdiTgWW+BOpUjlPl6sm/r1L6ya2c3\nOzQEJCP4WeEA/iSvVOcqR2KWjcdvjwYbxtRoE2ukDbRX4eLYhTK4LXdOPvSs\nS8etnJT/Mn+0gKpD4xy2d/a/TW7DK7MAvr8IdK+0QFMLbyCvTQkdGo8hBQ3/\n5D8FwgPl3tlYLMlmpO6c/oKWt1bU+mZt4yliwkkaCC1SN7no6nQrVst2tDV7\nwaI0kbkM6w4PruiY5oVNDnNENGVi8KmDD5zOfewR9vB0b3GptuNvJrdvyvB+\nHKUFg5k4cLfJWdt9indupr35XIdQpZFAd1rdQ2HvjLbtdjAVms8xCltMXdaR\nAHiY3ZHpLVyDYXR6vwSmjOr7qmOn0RZi/ZTLoJNSFRexzGgMWL7rcDCDAeGh\n2IjZ\r\n=9/GE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+R/jvl8+x3hlhCxxOLabSfg3nF4Yfao7cOBa06T+ZJwIgZv0JMDrT+wsFXDswKfe7ktVvHtxNvVbN4+GF0aw3i0E="}]},"_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-typeorm_0.0.0-2021-06-23--07-47_1624434538593_0.7799993072407745"},"_hasShrinkwrap":false},"0.0.0-2021-06-23--08-12":{"name":"opentelemetry-instrumentation-typeorm","version":"0.0.0-2021-06-23--08-12","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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-all-versions":"tav","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test-all-versions","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","is-promise":"^4.0.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","opentelemetry-instrumentation-mocha":"0.0.1-rc.2","opentelemetry-instrumentation-testing-utils":"^0.0.0-2021-06-23--08-12","reflect-metadata":"^0.1.13","sqlite3":"^5.0.2","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"9219abdec94e8dbeb50e61b1c289c60309c0a56c","readme":"# OpenTelemetry TypeORM Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-typeorm.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-typeorm)\n\nThis module provides automatic instrumentation for [`TypeORM`](https://typeorm.io/).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-typeorm\n```\n\n## Supported Versions\nThis instrumentation supports `>0.2.28`:\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 { TypeormInstrumentation } = require('opentelemetry-instrumentation-typeorm');\n\nconst traceProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    typeorm: { enabled: false, path: 'opentelemetry-plugin-typeorm' }\n  }\n});\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new TypeormInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### TypeORM Instrumentation Options\n\nTypeORM instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `TypeormResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\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 | Typeorm operation use mongodb/postgres/mysql/mariadb/etc. under the hood. If, for example, postgres instrumentation is enabled, a postgres operation will also create a postgres span describing the communication. Setting the `suppressInternalInstrumentation` config value to `true` will cause the instrumentation to suppress instrumentation of underlying operations. |\n| `enableInternalInstrumentation` | boolean |  Some methods such as `getManyAndCount` can generate internally multiple spans. To instrument those set this to `true`\n\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-typeorm@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-k0Tcl5RC/PaudcedARt5Obl7vXziyqczLGGwTFOThS84SKa+OO+31Av6Abrn+hxxi3Yd7s+dEqYwSEZnVEFB7Q==","shasum":"c29c262630e0cc4afef3b912c6089bf484452e98","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.0.0-2021-06-23--08-12.tgz","fileCount":40,"unpackedSize":119106,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0u0aCRA9TVsSAnZWagAAb0MP/RY0WQ9jXQgTBI66qR+0\n2BPftLqpyCCMw/8V4hcCPaDoN0XbCLwR+eqJQ7ZN7PEsQJj5fuFUcEqoHCNM\nyFK4DA0U97UPucbfeF99z6BPwXILEM7ZkT1/5QMXhK5WCTv0csPxV/3UHJA3\nHcgSfFwxjn6Pl3Dmztk/+fDGCEA3bEYznHmbqtDJvbnHHyS9gFNh3n38F3JI\nZ/bk4RaiaYdCC9GOlXmkDcyLhfzzI9Q27hBHVBcOsnwcr6vt9kVoQAg5U1Zm\nsX3MXwpU9kUNIWfXGsgWiBIDBy4bEPjlMZK6hSqCK4BquwTY1LOCDYr5jCN8\n1KnK2yxy23frrAKrkHgeaDHUqc3tUyWzBhJ5jhPZU7W4YOwYysxX/DCPuR1P\n5DdnvcnXAzpeTJ73gNNRydpe3gfGfeIZbKwjFfRoYEqWb8wPK/nxm7lhidbH\npDWrPdMRv5gO+zfbGHYTC0lH4WkDN7ltSRlx6zN9alqYFvARKSO9qasvxsjH\nIS9hO0er4Ab629Mwarbk6bIvBiTDxmApF7qkm2ThKDDSFPETGxczzjTetfiU\nabclyHuuV1dPZ3YV0fQYaTSWBp94m+LYaPDvZaek6QU+DWTDrvbJ/5TSRnyy\ntyeJ5dj5r4nKCDAg5AAPrTsOsq9+5ym4B3FyAKHg6m8qy/Hc9cRnqp5UvWnl\n+4kp\r\n=LZK8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDQ1pjCHxQ/jfGaNvGeYQGPpjXx+ic7xL7ZDrOFpOWXvAiBvYC0b6urP2ViazbGc9UkAynNqPNnQ8sXe3uMKN9/82Q=="}]},"_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-typeorm_0.0.0-2021-06-23--08-12_1624435993771_0.010390167451602483"},"_hasShrinkwrap":false},"0.0.0-2021-06-23--15-11":{"name":"opentelemetry-instrumentation-typeorm","version":"0.0.0-2021-06-23--15-11","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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-all-versions":"tav","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test-all-versions","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","is-promise":"^4.0.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","opentelemetry-instrumentation-mocha":"0.0.1-rc.2","opentelemetry-instrumentation-testing-utils":"^0.0.0-2021-06-23--15-11","reflect-metadata":"^0.1.13","sqlite3":"^5.0.2","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"7faff48d9d7740fef1b799dbbaf1dddc673aa97e","readme":"# OpenTelemetry TypeORM Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-typeorm.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-typeorm)\n\nThis module provides automatic instrumentation for [`TypeORM`](https://typeorm.io/).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-typeorm\n```\n\n## Supported Versions\nThis instrumentation supports `>0.2.28`:\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 { TypeormInstrumentation } = require('opentelemetry-instrumentation-typeorm');\n\nconst traceProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    typeorm: { enabled: false, path: 'opentelemetry-plugin-typeorm' }\n  }\n});\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new TypeormInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### TypeORM Instrumentation Options\n\nTypeORM instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `TypeormResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\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 | Typeorm operation use mongodb/postgres/mysql/mariadb/etc. under the hood. If, for example, postgres instrumentation is enabled, a postgres operation will also create a postgres span describing the communication. Setting the `suppressInternalInstrumentation` config value to `true` will cause the instrumentation to suppress instrumentation of underlying operations. |\n| `enableInternalInstrumentation` | boolean |  Some methods such as `getManyAndCount` can generate internally multiple spans. To instrument those set this to `true`\n\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-typeorm@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-Md3VXin9/CsvmItXoUuXymHhTfKdzqTx+gQJ9ZRqqNMxp59THUfJUaROVpA7YIwru0hNGOjXAFrwe04T/Gvh3g==","shasum":"74aaabb9b5fe00ba692126adaa578a120e34c962","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.0.0-2021-06-23--15-11.tgz","fileCount":40,"unpackedSize":119106,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg009sCRA9TVsSAnZWagAAhJYP/365ssnUyqdg+XfoFdDs\njfS5N7IyDS29qrsskE9575/SYP60HmVN4N/eC+X+5AF/rTPqJwMI+ej/rgP4\n9yfHRIee1DGYNoDo/Diz5oA6vmR1OvkK97+OhPEo0Fkq1GcxKv+xJvOTWwje\no0gIp7WqAc7aEMbjduxR0EEijXcL2At2mOHKU3/3ddrZ/9NV3KdzHyFHAjlC\nqGfiMJdQVU2aY4E4KMQh1Y0j1lHWK+9UKCa/bXkPNxgiuWDxN4g0UTPedN9e\nzivvQr1WODtJyQU31U8MQGW6t/KQ5Cet1rldYaaVcoLu/VUxSNnEDSAFfNJP\nOtXncjOIBmT1lQim6qbtkPq0Lty0QuohVDU7wiTeLOn8ZlfOHZbtK8FtNll8\nG5xHABbvZHVSuDWM6+YuilsNK61mUCXO4je76jmmfwjRPSAxFR6mU+8Vqc1I\nMkpj2xuul8PfaVGeH7jJPUqEKXcWWs+JQPxcRJFI848cESowgFOI2YotsdcG\nyfKh5zMKq5WRhfwmmGgVKCh28ss+uYGrj8eMHd7nD1qvAlLRIUPkKKnPSFjl\nnUypb4ES0k0xJFe3QWMqcHvA5YpP9EcwDeoaXmy+jPuhNz1/WuVtsn9jMvOp\nUlC6N6f53J/rQciDM9FMMrmGVC04QfiMlcYOSaxH9c2PvrltwWwAO4KtFL7x\n8pCr\r\n=vBC6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCrrmWX3HMEtB4AuDKpGG/zUcLF4qUsfWfKty9NbJQwfwIgIOHHzbURRS43sbP2mrJLVyY9njTIJB7DSnUhhfQHt64="}]},"_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-typeorm_0.0.0-2021-06-23--15-11_1624461164000_0.8117342038968176"},"_hasShrinkwrap":false},"0.22.0":{"name":"opentelemetry-instrumentation-typeorm","version":"0.22.0","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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-all-versions":"tav","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test-all-versions","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","is-promise":"^4.0.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","opentelemetry-instrumentation-mocha":"0.0.1-rc.3","opentelemetry-instrumentation-testing-utils":"^0.22.0","reflect-metadata":"^0.1.13","sqlite3":"^5.0.2","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"^4.0.3"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"e9f830a131164f45fcfff1a527a0ade411e5e977","_id":"opentelemetry-instrumentation-typeorm@0.22.0","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-ru6MZoSOJVK6OjZmE1UupUIx8rlXeTawaMraDZ7wqsydaTgQtmh3+Vd6GtxW0rrghgUkfIMK3lI+alwj1JQ2Kw==","shasum":"cab33a5a4cd26bb62010e75a643dd50e8016db32","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.22.0.tgz","fileCount":40,"unpackedSize":119277,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg2YhECRA9TVsSAnZWagAAYZAP/A3/MnV7CdI0+AVK+QLE\nAqCKcsvF69cbzmUOqVpV80ru5Ghb1xTFUHZj32+boBv1IP66WHjHaLN9kLzo\n66pYYFdIwOMUk+6LADbHXuh9MRBADxzk782VS8bickpKn4CeOp6O/BTykvW8\n0sSBVOLimBNlZVtOyvRtZVu7KbHcIA0U+plKOwSgp6Z+1Q8kbvczjhVkZ/YN\nQUVwRDZ1XswoDjYDnnbbSSAjsygI4UU8kQRW6AU6LfpjCB5eFCrUtGg46Z/s\nJRidgsvRrEnHTC+lXaL77YvtSJ2MUo/6Tz8S/i+ueFXsbOtzuIxvFhWVEWJ+\nkAT8z8PfwxVOu8XCCuRTF+g0hJb/R1QNib3j+hw3r3WuAxqoQX39gM5L3bij\n0pWGDcxhQTwDDNa+9n0wYz27K/KNxM1EKi+pK5GOqkcWL8Gqg68vX0SRiNHj\nJIG9xwgW8N+yQmFhwXg6HyCMW73zkL2PnWJCb2zstM39BD01TgUEWoM1dmnb\nirXWxgk1ui2YHeTN9ccfr6fmohZZXpN7PObQiReQiOKUnMx3vshZ507WVW4k\nEyYmvzsJnC1v/satFBeoLKgDZ7ux92uwC8+JcHXjgFJvX1qkbkCorpLRnM1E\nay6vHJmpR1/HU0cv36Q32stywmDU3slULYQ0Y9Z17kbo+G17YSpAnYnVsJ4U\nLauI\r\n=/pLb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDgXm+Sdt7d+oxO/PA38XNAxLeGTyqggu9TN5I5nXjemwIhAK6I+CJfW85YErtPKcZt5iOtsnO6LmsMF3fq4bAvjwQq"}]},"_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-typeorm_0.22.0_1624868932346_0.24943324722652527"},"_hasShrinkwrap":false},"0.22.1":{"name":"opentelemetry-instrumentation-typeorm","version":"0.22.1","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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-all-versions":"tav","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test-all-versions","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","is-promise":"^4.0.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","opentelemetry-instrumentation-mocha":"0.0.1-rc.3","opentelemetry-instrumentation-testing-utils":"^0.22.1","reflect-metadata":"^0.1.13","sqlite3":"^5.0.2","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"1b95f429902c848b03570501648d88c82ce78d46","_id":"opentelemetry-instrumentation-typeorm@0.22.1","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-9qK1lS3kt2hZ/fFFjENVZhQiqAfGL41qiBh5w2iCFtLwdTNERih22OYfHD04spmv6JyfF0Ta/3ePEX1wIxT1bw==","shasum":"032e715b74fdde18e472482eaabce8788cf7aa1a","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.22.1.tgz","fileCount":40,"unpackedSize":122613,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg4cS/CRA9TVsSAnZWagAAR80P/2WWa5tjePoyiteriYNG\nzYqmDFvoJncdjTUZG4aCF35+Zs8FfhR3/unclF8ZkfHRUCbiSErNkndz8Ri/\nVROkl776KFAS6W1RlbIgZlFnV5Yt9FPeJDW9lTtJUhjyrWAIrYJlfL9LHCmD\ntVgJ11QOzMxapAUV6OW4oZbNGS6aSVdTIIDgz2n4Sna1Ku5WEti9HDIT+Gms\nft9syEJSkcmDG6mMmsX0LTWrx1MRcqpJURG+hmt5kXZM1r6khWn9buO5MG68\n0vHZ8WNZHfl6kiLMVlE+UGepGEMTTR8pRY+577GhBTGI/zffmgkvjzi8VTet\njOJ5WcWDP/bYik3Il9YG9df6ccZs7yvYuhGQjTidphePGVNms7Bm9qS0+c6u\n/Yd2ccVGepixhM56UzdcmlD1zBoaZ3XAabh1VvYtV6Vix5qkeZXMNLMvYUuU\nrXHuLYqoWe7b5uwl5yU2MC6wPdX7Q/RIbG7CHDLp/6T0RkIVZq2mwh3+ZmK4\nX8pJTAtmQZdn7nZy/EE54xS41dMEotO7ML1J/mksr7Tp6Ogmz/sKTy2mzgp6\n0FLyPxhE9Hx0h/sUPBcbizAsBMT2siDl0Hx44+QEm8VCZozTBBJVzaSqRaqV\n/sMqYJsqPE/JdfZsIn9YHhJvDto4eqsiEaHhq4j1iR6oIIDFs9Xg6ebQo1yr\nprPo\r\n=1cVU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGLMHJsDtJEPu8EiWeNAjWJi2fCjm38jro6TY5svhPUWAiEApB/RphkYVWZKj2dWs6unQdZfHzQFuqSU5UZIAtsIGIs="}]},"_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-typeorm_0.22.1_1625408703426_0.09457087158708011"},"_hasShrinkwrap":false},"0.23.0":{"name":"opentelemetry-instrumentation-typeorm","version":"0.23.0","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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-all-versions":"tav","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test-all-versions","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","is-promise":"^4.0.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","opentelemetry-instrumentation-mocha":"0.0.1-rc.4","opentelemetry-instrumentation-testing-utils":"^0.23.0","reflect-metadata":"^0.1.13","sqlite3":"^5.0.2","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"8467cdc1e0c3192d196b26d12ff05d63d5284f72","_id":"opentelemetry-instrumentation-typeorm@0.23.0","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-mHuxjpiPKuJ0f9Cmr7ACORkdOsBLBYyUZuMfx14u3FkOOiF0jxwRCpd/8t8uO86KIgfpoygWurgmuCMZA7h4Uw==","shasum":"0bc87940600055e57d656cd91dd09edd113d9b95","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.23.0.tgz","fileCount":40,"unpackedSize":123028,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg4tb5CRA9TVsSAnZWagAAJPkP/2eDHPUqdF8zxC0bBlZ1\nvRUxECD29BQFqNEcErJlVGIJw647mV9QR97Y5Ti3P7ytPFLHJnI0/DNuMnAZ\ncpiDTvYtyzwYO99Lk3/Pydh2JLkGfnlEng7MYncv+UpDFZUc4HI5K5yQ3gm3\nRyoe54GHQ6hMyyQs8OmY2bXwS+SwU6mzuov4ANBYuMRYOLLLxQc+0MEPJUZC\nsXn8AIGjFhNZSdWvHsSkc6YCPu3XwRZv9G1LUXIPraTT2PToADq4KE3uznbf\nNzQFduy1xvcKngUULiC/HQ5pW8cmCuQLfxP4qtBWXWSe61qpah9Kk2XTfC8V\n8OCkwJcrGEaQBcn4H2Ek5nYVmVXzIjZfmf/VE/uNhn0OAgmnI5BhNkdKOoCH\nTSMUZ1m6+sr0lpnT76YSWmtXyDouUl7RYggOS8IPzfE2v5eQsUds87YPQiCX\nO+DHPNQoWT5xpNsYEmYDGgWWDzgJojnkDqO7zU7TcBD3OivxWufvWODCQ5XZ\nK9tvOrcMgZa7I7kclZD4zsBjhnkKA24fEGfPgws/yxFtQ9pjedYiRQUXCnAE\ngrAb4g9BYE/VPvkZGBiLXrks+fdJnfOyO/hqa5J1rgyBQKuiTPPRPFo0ZsU7\nZ/rEE1oJXBXlABphPAb3opQ8Lby+Iv7w7K+Y3CHmxbUm5DqbEEtFfVb/2R70\nTKro\r\n=9Dgy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDY1kYfi8EFFpmGyZpg8XbgG00RdI1GDpsajbwbXFgsbgIgTfuB7vqY0wTfZDZD8NP3CAduZGqGaa4DkQbdN5J1qzs="}]},"_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-typeorm_0.23.0_1625478905054_0.3188625280687225"},"_hasShrinkwrap":false},"0.23.1":{"name":"opentelemetry-instrumentation-typeorm","version":"0.23.1","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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-all-versions":"tav","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test-all-versions","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","is-promise":"^4.0.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","opentelemetry-instrumentation-mocha":"0.0.1-rc.4","opentelemetry-instrumentation-testing-utils":"^0.23.0","reflect-metadata":"^0.1.13","sqlite3":"^5.0.2","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"5360f9cc341670702e20e08f27a02b1a01bdb016","_id":"opentelemetry-instrumentation-typeorm@0.23.1","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-4xMgcIU6MTKqEbLsW+SiYzcubNUIPyiNbk2kpHqVHNTaeGTpURreXPrzJinFDVISA9cR4IVZQvIWBNXbKm37pw==","shasum":"c1c9d259b724af8f88ca50b64514798bb422eeeb","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.23.1.tgz","fileCount":40,"unpackedSize":131358,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg7wjcCRA9TVsSAnZWagAAA/4P/iBeA8IvU/aNTNeNJcWc\nzSSzfia3GVM1U1ZWVZVqqk+H9s0m/uW2zcHdFf6jEMRng/KlzzaZnUP4OLpc\nTnRozsXmVrQDseTCLAHP8g8NNUxJm/jm9MnMm7IfU04qt2ftLdQNet5FdQgY\nm7joHg3shTrrbIkbPpcRhym54+DZwPlsqwho6QplgUXdbN6DBbMdeZ/QWGTk\nbxDxLjyxx2H8PEJDnd2ZWRZBR3BZY1ssH5iZCgMpHY14/uiEMqep8K0fBnqV\nVQ8S6RG1BMDksqxnqNPtf843Hp2PYMgpbBtURdrEGFJI+d13/a5XKPZ5GAMu\nUhSFhJvqNMF0deWr0czqujtEuy12wZ+mgrMKjL7oiMLq4ODnRN28EiAYdQms\naRJSnzLuQL0g9fWBNFNoEGHpNyeKk6AeB7YxyZiWyPAi7rIKZ191Ye1z0+0w\nDK5M0x08WxH831GyvpSDOrF9ZtAd3QEQE9j/QWKg/qv23M4TPL1MC1WOFUD+\nOpYaqnQYIBXYl70+OKZHvfnnq1Wuft3+PT0+klsW0weYbgALeXn26tVc5UYI\nDvgCCHJpJzhQ8i/w42syIxEQFxp+RQ+7ri/q1RjjrBRznIBrHH8oNIsb/QD2\nm9IqtGNOQ2A09gCRLXnxpIz7O5tVNWcxTAt+srINYz1qYAnRq8FvUoPs3NB8\nq0tA\r\n=Hyrf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDa1/ACRPRCbsbKsM4pA5WGOc26ERpZ6Qo07OMTS2cfsAIgWH0fy2BWkv4Uyf/a4z/HMwSf0E8ZyUcOW3XenvEsXa8="}]},"_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-typeorm_0.23.1_1626278108245_0.5171176640113759"},"_hasShrinkwrap":false},"0.0.0-2021-08-01--12-54":{"name":"opentelemetry-instrumentation-typeorm","version":"0.0.0-2021-08-01--12-54","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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-all-versions":"tav","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test-all-versions","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","is-promise":"^4.0.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","opentelemetry-instrumentation-mocha":"0.0.1-rc.5","opentelemetry-instrumentation-testing-utils":"^0.0.0-2021-08-01--12-54","reflect-metadata":"^0.1.13","sqlite3":"^5.0.2","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"1c0b880a714e23ed5ba1ca97c35f49dc21064d8f","readme":"# OpenTelemetry TypeORM Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-typeorm.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-typeorm)\n\nThis module provides automatic instrumentation for [`TypeORM`](https://typeorm.io/).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-typeorm\n```\n\n## Supported Versions\nThis instrumentation supports `>0.2.28`:\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 { TypeormInstrumentation } = require('opentelemetry-instrumentation-typeorm');\n\nconst traceProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    typeorm: { enabled: false, path: 'opentelemetry-plugin-typeorm' }\n  }\n});\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new TypeormInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### TypeORM Instrumentation Options\n\nTypeORM instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `TypeormResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\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 | Typeorm operation use mongodb/postgres/mysql/mariadb/etc. under the hood. If, for example, postgres instrumentation is enabled, a postgres operation will also create a postgres span describing the communication. Setting the `suppressInternalInstrumentation` config value to `true` will cause the instrumentation to suppress instrumentation of underlying operations. |\n| `enableInternalInstrumentation` | boolean |  Some methods such as `getManyAndCount` can generate internally multiple spans. To instrument those set this to `true`|\n| `collectParameters` | boolean | set to `true` if you want to capture the parameter values for parameterized SQL queries (**may leak sensitive information**)\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-typeorm@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-6716ofNcezKiv94DrZp/BH2BYyXxrJfecX0eJZc5UDceJ3XQBRpWdibE3TLI8hsgo27Egu30JX02NzjKq+8jiA==","shasum":"5f837ef54527fa09e1678e2a26f8ea418c029333","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.0.0-2021-08-01--12-54.tgz","fileCount":40,"unpackedSize":131150,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhBpm/CRA9TVsSAnZWagAA4BQP/0pKqAGoYV5n+d+IyODc\nYsP0/46s9h0g+zCq+BWhrohA2qJ7xnOvECyi8wVPhoxyGXOgecKRas01mg2M\nTE8FpAOrXqZxPSIrMorwXfToPLv/lrlK+7QZYGwrvaPLrEDBy+IpjxMisGpD\n6LxrBkkTmJJ01sjftZTwhMlBeSnsaOouBPyq7MLRVtHYYe3lPmw5MblNS2nv\ncQWCHeZhdxW5qBU+Yk1Y3AIg//7Pv4Wcbq0OE5c6psSD55isP/IrkizPBkAv\nREWbX2F5lwUkdOGhyilqpRCMhUUYk2xYC6ALfj4aPBaf3yP5OeEait9fKpVa\nrHt2K6ULcA0cqP3qQui7PMe/UqC78CGXjPvX/YBLzNOArOLRaxk4/hWpAITj\nZD3m8pVO607yFW3ZhCNyYO9ZIG170MSU/TRU6VpPNb7oi0/vT6cqu/N54dCP\nG24SVhT9VU7NV5wzVG9txnvnHbx/H0zey0AENAx3lBoH2vlbEgXTBp+SkM5p\nGxKAJOkU5NmDxJbIGTBEe0/IDzZWcX9uS8QoxwDQkH7JO4hgx5RHPFWTuqML\nzMiSXOAUSxmKXOduacDMpVK6U18jTIymPlOJZNoOX2JkFPrUdgGz8vXh1asf\nAW9S/izjhFdobt22B2fE1sqrwdZTa4YPek1tYHCl9fiih84tujJ2kD3464hV\n88bR\r\n=a4ww\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEOe13LteTGt9tUbGzJ4ajiIx0a5xw7WGDYyjG3unIifAiAjVT7SZTLSlrOQH2USGer6BU8dvh3ol5MhPO0b1OSUrw=="}]},"_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-typeorm_0.0.0-2021-08-01--12-54_1627822527041_0.9192098109413367"},"_hasShrinkwrap":false},"0.24.0":{"name":"opentelemetry-instrumentation-typeorm","version":"0.24.0","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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-all-versions":"tav","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test-all-versions","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","is-promise":"^4.0.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","opentelemetry-instrumentation-mocha":"0.0.1-rc.5","opentelemetry-instrumentation-testing-utils":"^0.24.0","reflect-metadata":"^0.1.13","sqlite3":"^5.0.2","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"f9d08fb8dd95cfad7658ed979c154cf75c979262","_id":"opentelemetry-instrumentation-typeorm@0.24.0","_nodeVersion":"12.22.3","_npmVersion":"lerna/3.22.1/node@v12.22.3+x64 (linux)","dist":{"integrity":"sha512-FcWev9H13eVlzYLzEgj3vixXhDFBDetbjKTgWXYTHZ+GE3TDS5CMnGrVlKCUQjHmAGbrCPavne+vKlgVAjkTLA==","shasum":"6e2d19ecf8df91d379b868d35819a70dcb10b77a","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.24.0.tgz","fileCount":40,"unpackedSize":131323,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhBqzLCRA9TVsSAnZWagAAOCYP/2N3oJmwWBsVq8/K6ENb\nJLlxU0DTU3ERnr6cEs9CZ2JsTUcWDnvcoYwTupmV8QgZet5+wP3W6uHyws79\n9kOHKr3xgnT5d3PCu4rieJxbda6NotDiXGaKcT/IUEczc80T9XAexsDAdXQh\nFMcWWwswNYdTXjkYmA3eKLnU4U1JSUfpJZzkDfSj8rQW24ali4NpDjlv9GdB\nDRtPWdNui8duc5A195b4pu7U3jP/dv8h4aE63faIPLb7FcmsJ3RnZKaVllS7\nSAVaJ4UTa0cMLVaNufjxIL8qj4iuHb+qjNQ2BFxoRUD00Jsr45lbz2wHqIGg\nyZqE60NfNnEYhktoj8T9hz2Ef0x6Ja39Tctb0JDzMwK5Ow261Lb5eOedQD2U\ncRerXn1DKudqu6oIhIGI4R+b2YaxsiJYtir/C62NXp2WSeM85SlyPCMh08eZ\ndEiP+kHFeYJeHSfH2aAzRXST2sE7iGMEAAKi0Ks+RLEqcjdYnSuMyeLHEM44\ncgH2yP/SGYi3oDXqEDX3NZyJES7/3hNyGLNZq7j0h+r7FUEJCs4ec9B6aOkw\nlVDUOxcn4eNpapi0PEPTkJVgnbvgoVv8R3BKefupmVRwEuDq76z2heDqDOVU\n3k+Ls1EcOqF9sPa3nX5Ko3hs0LuwsQid0u2NZZmhbRjTq7EulBPdWpxW9I9j\nHNJF\r\n=Z0vA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDtiUML6gPJy5HhRZ/L8HPN9u2F+gOsS38QVrkH2vtLvgIgVl70UIG+0HL9kMhLULBkzSdA3sJyiaY9f9io5+JidQg="}]},"_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-typeorm_0.24.0_1627827403591_0.8599559670765071"},"_hasShrinkwrap":false},"0.24.1":{"name":"opentelemetry-instrumentation-typeorm","version":"0.24.1","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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-all-versions":"tav","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test-all-versions","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","is-promise":"^4.0.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","opentelemetry-instrumentation-mocha":"0.0.1-rc.5","opentelemetry-instrumentation-testing-utils":"^0.24.1","reflect-metadata":"^0.1.13","sqlite3":"^5.0.2","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"5ef9753bf1ab525497b2b925df0b2e2f24ae838a","_id":"opentelemetry-instrumentation-typeorm@0.24.1","_nodeVersion":"12.22.5","_npmVersion":"lerna/3.22.1/node@v12.22.5+x64 (linux)","dist":{"integrity":"sha512-bILYsx8geIUbk06pCwyxL7qkEFh2pWR1zJaGUvu5JVG558qM9wxmzF5UOdWdQYWFxzNMYIcv99DvJYQhAeugQQ==","shasum":"3f8999ceab2e257df438632a0c86095f3c11065a","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.24.1.tgz","fileCount":40,"unpackedSize":131584,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhL3RDCRA9TVsSAnZWagAAY5sQAIaV3J2D4gOJUEscD3QZ\nwvT2zh/3qcd5MuwL2sr4wFJ+kNNcWVflFxjPFm45EA+IAR7gEGzcYWoHZt0X\n+SJXAPbUBKFspbQQRNQOqRqWDiVl2zH8yrA92u0t1tnabLiXtq5kQQBRCc1u\nCGuC4cPuIwErwFfxndOzzV0UQ40O0eCMNyP35GWtE3JDojOk9WIMELtOqVf6\nMRzCYLD/c13Vc5QfEG0WslfQx/49jPNHLRwPeAPcdpnn0vWDE/9I4uecfD1J\nVVvjjBEVLW3BD9hEuBc9t2XljYiS2Q8hKOWi+Xp4BY8cdyTJei/pPxapvW3J\nCYGNKh+eyNwoK/O8ItlqSgjUMijGeK+amYvHssN4QNcwnQA650q0HHMv2zrm\ns3535Rr5aPypFljpK5P1aecfd23O42OA3vVSjJM6BHy3G4Fsawob7xAdYdgy\n8SKp43qBUTzuu41Z60UlJ6o53wpMUQ2IPo2pfkgg0oL3Zea8GFSd1m8pPHWk\nBDYp6U6EYqPTq2DKFqczzCz3aw905EgTFVkJxGwgKPZttVvoX+zM85kHXOr2\nEZ+dUA2mxJjhR7D3umdXyCOqn+IUR0HEnrXzPuELtjG1APZsLe5uF427bwSX\n1uz7Ml4TsJrHI9v1waFeacxDLRa2FHgKMjmCKWUAtDNS6qgt+7OqIbdIDxm7\n4vsT\r\n=/qOI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCDuqrNUbFpAWoDZ2lGixoklbEyYsWOfCTbrRYFnrJefAIgY6cI7JOMP+PaCiWcZ/gO0ApSM5MHXa8pZllaxL7P9QE="}]},"_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-typeorm_0.24.1_1630499907449_0.8187760775357689"},"_hasShrinkwrap":false},"0.0.0-2021-09-19--10-26":{"name":"opentelemetry-instrumentation-typeorm","version":"0.0.0-2021-09-19--10-26","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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-all-versions":"tav","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test-all-versions","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","is-promise":"^4.0.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","opentelemetry-instrumentation-mocha":"0.0.1-rc.6","opentelemetry-instrumentation-testing-utils":"^0.0.0-2021-09-19--10-26","reflect-metadata":"^0.1.13","sqlite3":"^5.0.2","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"a05e1c6b765af7984ae8433da2290faf0c3387f6","readme":"# OpenTelemetry TypeORM Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-typeorm.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-typeorm)\n\nThis module provides automatic instrumentation for [`TypeORM`](https://typeorm.io/).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-typeorm\n```\n\n## Supported Versions\nThis instrumentation supports `>0.2.28`:\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 { TypeormInstrumentation } = require('opentelemetry-instrumentation-typeorm');\n\nconst traceProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    typeorm: { enabled: false, path: 'opentelemetry-plugin-typeorm' }\n  }\n});\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new TypeormInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### TypeORM Instrumentation Options\n\nTypeORM instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `TypeormResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\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 | Typeorm operation use mongodb/postgres/mysql/mariadb/etc. under the hood. If, for example, postgres instrumentation is enabled, a postgres operation will also create a postgres span describing the communication. Setting the `suppressInternalInstrumentation` config value to `true` will cause the instrumentation to suppress instrumentation of underlying operations. |\n| `enableInternalInstrumentation` | boolean |  Some methods such as `getManyAndCount` can generate internally multiple spans. To instrument those set this to `true`|\n| `collectParameters` | boolean | set to `true` if you want to capture the parameter values for parameterized SQL queries (**may leak sensitive information**)\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-typeorm@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-bvV29qVfWtBwLZGVOypIIgX+n0k9ZeqorfVO0uxWdAHOlCdEdzDs3gzhjj/zlH6onkd/ftZD1vt3+jRyhyuJZg==","shasum":"5154fcf94e7ebb5cbbc1efc436258a53346a1e55","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.0.0-2021-09-19--10-26.tgz","fileCount":40,"unpackedSize":131695,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0NogEYuR7lu7KXSKEy0R2Po1E/EJKh6icN94KIUsFUQIhAIASPOQPcxBW0pCNyZAA7Gats9Yc/Yyg3AO2xmaOCi1d"}]},"_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-typeorm_0.0.0-2021-09-19--10-26_1632047262526_0.9648802647048085"},"_hasShrinkwrap":false},"0.25.0":{"name":"opentelemetry-instrumentation-typeorm","version":"0.25.0","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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-all-versions":"tav","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test-all-versions","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","is-promise":"^4.0.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","opentelemetry-instrumentation-mocha":"0.0.1-rc.6","opentelemetry-instrumentation-testing-utils":"^0.25.0","reflect-metadata":"^0.1.13","sqlite3":"^5.0.2","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"c5d54414b125bbc927012c68ff19b97bcd5b3796","_id":"opentelemetry-instrumentation-typeorm@0.25.0","_nodeVersion":"12.22.6","_npmVersion":"lerna/3.22.1/node@v12.22.6+x64 (linux)","dist":{"integrity":"sha512-s3cIxbGz70vAXVo4Y77UQ+/zwl8qCJScT24xw3iGIrdFsA1j2Nlg8rRi9uYkVu2FWL8hbrE+5PxXdxO0Vz3YiA==","shasum":"990ca01be13034d1d1e3cda2f4f24ec5bc56a99c","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.25.0.tgz","fileCount":40,"unpackedSize":131868,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC3C+pAswT7eHWcBVF3wdA6FgXX7L8EB7m8WKNSWphouAiAmJxtOhttTWk2eOzCrdWlr4c9kcFEkMKrvClEzYWCO7w=="}]},"_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-typeorm_0.25.0_1632055480153_0.42402076176081516"},"_hasShrinkwrap":false},"0.0.0-2021-10-20--09-32":{"name":"opentelemetry-instrumentation-typeorm","version":"0.0.0-2021-10-20--09-32","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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-all-versions":"tav","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test-all-versions","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","is-promise":"^4.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","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","opentelemetry-instrumentation-testing-utils":"^0.0.0-2021-10-20--09-32","reflect-metadata":"^0.1.13","sqlite3":"^5.0.2","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"c1c35ba226e94cdc824171847a6e252e02912c55","readme":"# OpenTelemetry TypeORM Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-typeorm.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-typeorm)\n\nThis module provides automatic instrumentation for [`TypeORM`](https://typeorm.io/).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-typeorm\n```\n\n## Supported Versions\nThis instrumentation supports `>0.2.28`:\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 { TypeormInstrumentation } = require('opentelemetry-instrumentation-typeorm');\n\nconst traceProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    typeorm: { enabled: false, path: 'opentelemetry-plugin-typeorm' }\n  }\n});\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new TypeormInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### TypeORM Instrumentation Options\n\nTypeORM instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `TypeormResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\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 | Typeorm operation use mongodb/postgres/mysql/mariadb/etc. under the hood. If, for example, postgres instrumentation is enabled, a postgres operation will also create a postgres span describing the communication. Setting the `suppressInternalInstrumentation` config value to `true` will cause the instrumentation to suppress instrumentation of underlying operations. |\n| `enableInternalInstrumentation` | boolean |  Some methods such as `getManyAndCount` can generate internally multiple spans. To instrument those set this to `true`|\n| `collectParameters` | boolean | set to `true` if you want to capture the parameter values for parameterized SQL queries (**may leak sensitive information**)\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-typeorm@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-A7OJOC0nX2rQL2LpEAq3IS4UmKE+Eh5GV1NAlOdHNaZCAHlrXEwVfcEezihgqkicZ1kf2ogEGVf6BoGQUl1kyQ==","shasum":"929c296d98558ae1209cc7b2782426ac77e49425","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.0.0-2021-10-20--09-32.tgz","fileCount":40,"unpackedSize":131951,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFdWG7EXHsi4R/ZGmcpZQLDcBlfbDxoJ/X7PDkk3VLX1AiEA96jPrLYowMSc/1o5y5oceZkZFDOuhkvUOqMvbvj9kTg="}]},"_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-typeorm_0.0.0-2021-10-20--09-32_1634722389674_0.552662600027054"},"_hasShrinkwrap":false},"0.26.0":{"name":"opentelemetry-instrumentation-typeorm","version":"0.26.0","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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-all-versions":"tav","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test-all-versions","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","is-promise":"^4.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","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","opentelemetry-instrumentation-testing-utils":"^0.26.0","reflect-metadata":"^0.1.13","sqlite3":"^5.0.2","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"197677ba38ce47bdd7e57c9e74cc5a19fae7e8e2","_id":"opentelemetry-instrumentation-typeorm@0.26.0","_nodeVersion":"12.22.7","_npmVersion":"lerna/3.22.1/node@v12.22.7+x64 (linux)","dist":{"integrity":"sha512-DYqoleK/xza+86uuuKjChNBsRuzpns+uiWKsIGwseQnqT4/MjZqtIYOTrgGS9nPZsSmsskVSD6I9Oe6tARpkcg==","shasum":"04b8d14673506aa230e0c4c664dbb6031808c513","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.26.0.tgz","fileCount":40,"unpackedSize":132124,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDUDvdGoKiHoEVgw5DL13wFEmdvpPOaOYPgiQR51MYOJAiBY3a98tTYNgpqkp7pv7WE5xqJyIkIS7Fid0QW4EdQU0A=="}]},"_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-typeorm_0.26.0_1635276589026_0.9129073202445719"},"_hasShrinkwrap":false},"0.26.1":{"name":"opentelemetry-instrumentation-typeorm","version":"0.26.1","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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-all-versions":"tav","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test-all-versions","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","is-promise":"^4.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.2","@opentelemetry/contrib-test-utils":"^0.27.0","@opentelemetry/sdk-trace-base":"1.0.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","reflect-metadata":"^0.1.13","sqlite3":"^5.0.2","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"d98dabe288b1d95ce7e3d8b9b2ccc3ed02854392","_id":"opentelemetry-instrumentation-typeorm@0.26.1","_nodeVersion":"12.22.7","_npmVersion":"lerna/3.22.1/node@v12.22.7+x64 (linux)","dist":{"integrity":"sha512-0DGzNhzpV2LbtkNocOkN1DvQewlr0hjElwZgqNCBrWnYmBkDWEkIhz+KvX2j0pUecZG0yKx1t5YHoYprTTkueg==","shasum":"6800376d13facf5d3df78d0178f200c585fa9473","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.26.1.tgz","fileCount":43,"unpackedSize":148484,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhpLV+CRA9TVsSAnZWagAALsIQAIEB3/qM0Y+DHw2EAeGP\nH2MzLFXhWsZH1jjnzYOTyNN/U9BhJfgb+8aYIGQaKan6wqKBYRb2o68MuQlE\n6imOtlILonNLS7IB0pQkaksLv4OAykspHEUfC+6y/3FD1210BDr9b4yauYBK\nCZTVilwOwMYGxwZS6+QhaFlhG2ZquZ/4eIFi4IBMO+pmKQ0laEZAaBm+8m1p\ndu2PF/2lycwXtHnT7KQWagDQjPvk3CbHkq18gKcEnOQn/2BekqLxPffZU3xG\nO8MOZLgCN60AX94mkdHQiwOvNJuaCX2hzCkdrrCH5hoSo64j+d+ISlQR8ZNh\ny/cgp7JvxJZfLYI1jEGen1du69rZZEViaiFBDl6xi4QesajL/ERgsrGP+BjD\nJ14XRilJw8/33IWlYuIdgX8L0yPFUNXDyKza/pNGkDP5U7B0pQNYq1sFZJhg\n8YCHZdeaqDe9xoPSMEhDyH51ZK7kVxu2Id4MMEsimLO4wYqgdpArPQgGnlN3\n0UbefxGZaDv8EdBJmZSlNuMV/qgPyykkvjHTZrSm3JeD7aPLofUagJX7eMue\nroEgTX0g/zva6f8snvFoX62KRWQDrPb5vHkeIhUBIgk1MtayMIapCoQX6xtp\nzLePzTvO29eNcZBYG5ZhnPDufWGupot7kY++usGvjO0KViHkFoPQAxLaNbmE\nyLLF\r\n=7yVp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKu4RksIVC3heYeF7TXjxMlhtMHveR1WP9ea5chz11lQIhAOjybfnsMLpqTBHqq+7npHR+mxWnTiPFRMenaW6/WQId"}]},"_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-typeorm_0.26.1_1638184318249_0.4673002121927161"},"_hasShrinkwrap":false},"0.0.0-2021-12-15--12-47":{"name":"opentelemetry-instrumentation-typeorm","version":"0.0.0-2021-12-15--12-47","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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-all-versions":"tav","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test-all-versions","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","is-promise":"^4.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","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","reflect-metadata":"^0.1.13","sqlite3":"^5.0.2","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"d82d991f4f35f77cb8ac9071d7a43807667a17e2","readme":"# OpenTelemetry TypeORM Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-typeorm.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-typeorm)\n\nThis module provides automatic instrumentation for [`TypeORM`](https://typeorm.io/).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-typeorm\n```\n\n## Supported Versions\nThis instrumentation supports `>0.2.28`:\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 { TypeormInstrumentation } = require('opentelemetry-instrumentation-typeorm');\n\nconst tracerProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    typeorm: { enabled: false, path: 'opentelemetry-plugin-typeorm' }\n  }\n});\n\nregisterInstrumentations({\n  tracerProvider,\n  instrumentations: [\n    new TypeormInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### TypeORM Instrumentation Options\n\nTypeORM instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `TypeormResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\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 | Typeorm operation use mongodb/postgres/mysql/mariadb/etc. under the hood. If, for example, postgres instrumentation is enabled, a postgres operation will also create a postgres span describing the communication. Setting the `suppressInternalInstrumentation` config value to `true` will cause the instrumentation to suppress instrumentation of underlying operations. |\n| `enableInternalInstrumentation` | boolean |  Some methods such as `getManyAndCount` can generate internally multiple spans. To instrument those set this to `true`|\n| `collectParameters` | boolean | set to `true` if you want to capture the parameter values for parameterized SQL queries (**may leak sensitive information**)\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-typeorm@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-RsLGBLjniJSSF9k1Mfjrk6o6jnCNs1tew/Y/S/VwveL1ck7372whLuBD4SUgotaNqa1RR+1ktB68qwTHS6012Q==","shasum":"68d9e253f4915e1bf1a46648e67e95f62e9226ea","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.0.0-2021-12-15--12-47.tgz","fileCount":43,"unpackedSize":148554,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhueQ2CRA9TVsSAnZWagAAtwwP/iqkAk7U1PvAUK5FTDKo\nDzSLM/C0jvl9GxmxJG2PpF9nunQZI8j82icppdWhN0/WuTBRkOXSbxcOGXqR\nzlAbEltY2gTHNIMkVCQ+bht+eD/Su/Sd27HoosXjdCcxbPnN0onRYPwxN6Bm\nTF/eehgkFXlliVer+pO1w8SX3VOOArmw2qOdAm6vaBNUUnMPm7a2lTIN2sYX\nYQfERN4glb1AgXcOdcws0F8fMKi406magM+T8Fhl56wo3szdrT1e+kOstnNm\nKA40v9HIRyWDwxrbiweaTyZj96OsiYlNxpA+i9AkMseGum7JRmr4ONfZUKPV\nBn914CuXRbBq56dc+vZjxeCIdNRP0vx9Lt5sf0UGvJBKbUkq679Yc5+XWiqn\nnDC00tDXqldBvEJdL/wjzwbP2201B7TFB/Hiq6BqT1LK0unyklh6Elk4iInD\nYT5VPFGkniTAeMTf3KIj5CQ+H7WS4XlMaOJRbLtIiD85b0VQwdas5tLaFhXY\nu1S6dXQK74iTWn8h05JxRPpqWPZK3VMJzl285xvX+ER+i1L1/FStEBQGpVHb\nic+DqpQ3HRfsABlGu2GCcGpTfnj71tbDUVo60z/9076J2ydOp3QwVWl7M0Az\nhmZE52lRd8PkyQk+R7TkBxd7oyqwPgbUf2vjiPGS58b8PCq1Q3wIs+tD+ejk\nhMfu\r\n=7Mbl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAR9PdfFWGTXpHfOpIpVBKk11IBWk7nJukbWlJTbjsYlAiAxDNteh0OxzDAK8jHvx0ObItbhRqalWFNHvDAmMZDjCg=="}]},"_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-typeorm_0.0.0-2021-12-15--12-47_1639572534485_0.4202436707814954"},"_hasShrinkwrap":false},"0.0.0-2021-12-15--13-05":{"name":"opentelemetry-instrumentation-typeorm","version":"0.0.0-2021-12-15--13-05","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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-all-versions":"tav","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test-all-versions","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","is-promise":"^4.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","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","reflect-metadata":"^0.1.13","sqlite3":"^5.0.2","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"8500885ec40cd62c62efd9758ed4b005fc201674","readme":"# OpenTelemetry TypeORM Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-typeorm.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-typeorm)\n\nThis module provides automatic instrumentation for [`TypeORM`](https://typeorm.io/).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-typeorm\n```\n\n## Supported Versions\nThis instrumentation supports `>0.2.28`:\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 { TypeormInstrumentation } = require('opentelemetry-instrumentation-typeorm');\n\nconst tracerProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    typeorm: { enabled: false, path: 'opentelemetry-plugin-typeorm' }\n  }\n});\n\nregisterInstrumentations({\n  tracerProvider,\n  instrumentations: [\n    new TypeormInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### TypeORM Instrumentation Options\n\nTypeORM instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `TypeormResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\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 | Typeorm operation use mongodb/postgres/mysql/mariadb/etc. under the hood. If, for example, postgres instrumentation is enabled, a postgres operation will also create a postgres span describing the communication. Setting the `suppressInternalInstrumentation` config value to `true` will cause the instrumentation to suppress instrumentation of underlying operations. |\n| `enableInternalInstrumentation` | boolean |  Some methods such as `getManyAndCount` can generate internally multiple spans. To instrument those set this to `true`|\n| `collectParameters` | boolean | set to `true` if you want to capture the parameter values for parameterized SQL queries (**may leak sensitive information**)\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-typeorm@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-BlaUfcKcrXgRb4qwud2yhsTmDKqANipLPXSaxld1Fw7wtCLcYWKLceOwU5mxhCucc2ICAh1aJ8qjtKmnnqf48A==","shasum":"5a54b37d9d747b053a8857ca39b6021f3a8cce5b","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.0.0-2021-12-15--13-05.tgz","fileCount":43,"unpackedSize":148554,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhueh3CRA9TVsSAnZWagAAbyIP/Rgp88WXfObWSTdcuR+H\n9kbKBJUZjx9XXOxP1idNm54Pmg/XqMKFb2lm0cUVOQDJvnqzpFRf2Zage1NF\nQ20mlPkMerzJgxdbONmQE764GZx6G1tB+ItyEeevHYmD3h8hYc8ix58jg4ld\nHX6qQvxJIA/CY+k3cGjHBEoNss+XjyPESudDCjAzAyNQCYOJ1gee5BlKvG/X\n3DW8Yvcv8fmP4fighuOYG/czucBhMsknt8Q4lLY8YPmKnN/oLKH3ZxrZ6/nw\nxNH/V8pi7/iHMta4X0uDOykQ6vkkvSJa1Xi62cvg4iyCEaDty9atM5U0lEvr\nOHipMWGqD++s0GmicD5IVFaMYzsnSbvTJHGbzGGXjgF3G4dmVZdj/zqPl+E3\nWGdsv64SQ0XSwnwEEbxgLZ6Myk4QhUKaevCBOyShVew9cRjbhh0pOrcDPCdP\nDB0WKsWk2hDyRb8w2uouNZ61lTDT2UMUGb8a5pchWWfn8ww2tFmsEXcqJuuT\nvg757f8LZkufqyIsJgWKttlmqekShpEC5x2aP5Cf88f/Hk1QOOyWT7B3RSm9\n0vrXkPWTlNRMXT+LiIk1ffp0yY1E058pszYnqqFlQWJBZHARs/UOOYCVhOGR\n54O9/Up/UA1KOhnCe5FYRB2VTT1Uy10ng798B1o/I1p0XXwNrHsp0cCMv9bW\nAzv4\r\n=aie5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDsc53x/tDOZZYdwfvHwwDFFxZcSaysJS4pMlh7MHNK6AiEA1xs2bHKEHDm1p/+r1/61xbMj7UYch8Hb6NovdnrBhjA="}]},"_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-typeorm_0.0.0-2021-12-15--13-05_1639573622902_0.9881717528341145"},"_hasShrinkwrap":false},"0.0.0-2021-12-15--13-29":{"name":"opentelemetry-instrumentation-typeorm","version":"0.0.0-2021-12-15--13-29","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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-all-versions":"tav","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test-all-versions","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","is-promise":"^4.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","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","reflect-metadata":"^0.1.13","sqlite3":"^5.0.2","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"f57843bf0453b8bd2aa71246bd7cbd81e82539ef","readme":"# OpenTelemetry TypeORM Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-typeorm.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-typeorm)\n\nThis module provides automatic instrumentation for [`TypeORM`](https://typeorm.io/).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-typeorm\n```\n\n## Supported Versions\nThis instrumentation supports `>0.2.28`:\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 { TypeormInstrumentation } = require('opentelemetry-instrumentation-typeorm');\n\nconst tracerProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    typeorm: { enabled: false, path: 'opentelemetry-plugin-typeorm' }\n  }\n});\n\nregisterInstrumentations({\n  tracerProvider,\n  instrumentations: [\n    new TypeormInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### TypeORM Instrumentation Options\n\nTypeORM instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `TypeormResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\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 | Typeorm operation use mongodb/postgres/mysql/mariadb/etc. under the hood. If, for example, postgres instrumentation is enabled, a postgres operation will also create a postgres span describing the communication. Setting the `suppressInternalInstrumentation` config value to `true` will cause the instrumentation to suppress instrumentation of underlying operations. |\n| `enableInternalInstrumentation` | boolean |  Some methods such as `getManyAndCount` can generate internally multiple spans. To instrument those set this to `true`|\n| `collectParameters` | boolean | set to `true` if you want to capture the parameter values for parameterized SQL queries (**may leak sensitive information**)\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-typeorm@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-PU8oZsqNkOBa52vV1DZZOMFwaUDHqZAZBEyrFGDM9yEJu8Dvs4Abh4EK+xWmP8Dd1M8e7FuC9GpL5SEm0xSAHg==","shasum":"1cf32f027d26c28b6e07ef6931ba75d965950134","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.0.0-2021-12-15--13-29.tgz","fileCount":43,"unpackedSize":148554,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhue4jCRA9TVsSAnZWagAAFHoP/2KilZSxJXVdbsp/Fmil\ng1++JPHw+lsPDbLIfrPJZNy/g0UhuEQ1CJsYy+JopteXHIxjC0q4arkBv49V\nPpNIifln3jqyRbDxB3cDXTfy3dZuhsxex0Sk88vj4x3v3D+tLzK60kFuTNOZ\nl9c9prbzmLswB1LpN02bHXIPud7Vbr0JzWfhKsQ2LQPl/ODcaVQgYan/mDHB\n9+eGI1ca8TsfiBtucGLD31GVoloS+1uwDnknNrHoRAaa3DPR86ist+7t3Juj\nf3xZ/4qdiaBmv7gN64C3RMVuYlS72gCOGV4AqIDWDgYuJuFCdwF2nqiLa8g2\nKsQXWMJlT02x/BAfYUTiuCm19F2HYcZSodBzeQHJCQJ2USLHEsSRJjAhFho5\nefikc4QVXDgkN6KDEnG0VIhNBi0Dz9lW0nvS4+J0fsgF9gmEnm4bA04xDRPP\nNhmU9FdTMYGhMgtURinDk4nmDHivcYHJYR7TA3dAMgYx33ow2on420dovgzj\nQaZ1pB7oNG55bXR7yc8af2zUQcL2iE+vWbAFmnOy104I5Surda/Y6ue74au7\niM//JnMbPnKTfm7CUIwkI5kwq76B8dAS8a3hwBxxAKiuxjRsP3LQm9yTjbVy\nGRLIKVFu6u29w3f2j5K0vKRl2QmcJbkINCgtS7d9jA2YfR6fEdMKpdarWKHV\n45BC\r\n=L2LM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGtap1NjWgGe7et0ALXAb38e143M9Q9QMz9U3FdeQZ9IAiEA609JbNbX5UCVQGOiMWVn3vuy1AQCqb2oaM3IVwMEfRQ="}]},"_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-typeorm_0.0.0-2021-12-15--13-29_1639575074884_0.8422428432727691"},"_hasShrinkwrap":false},"0.0.0-2021-12-15--16-17":{"name":"opentelemetry-instrumentation-typeorm","version":"0.0.0-2021-12-15--16-17","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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-all-versions":"tav","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test-all-versions","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","is-promise":"^4.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","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","reflect-metadata":"^0.1.13","sqlite3":"^5.0.2","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"53721d6b1d7ef8fb79ab5167c34ee22da645bac0","readme":"# OpenTelemetry TypeORM Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-typeorm.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-typeorm)\n\nThis module provides automatic instrumentation for [`TypeORM`](https://typeorm.io/).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-typeorm\n```\n\n## Supported Versions\nThis instrumentation supports `>0.2.28`:\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 { TypeormInstrumentation } = require('opentelemetry-instrumentation-typeorm');\n\nconst tracerProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    typeorm: { enabled: false, path: 'opentelemetry-plugin-typeorm' }\n  }\n});\n\nregisterInstrumentations({\n  tracerProvider,\n  instrumentations: [\n    new TypeormInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### TypeORM Instrumentation Options\n\nTypeORM instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `TypeormResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\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 | Typeorm operation use mongodb/postgres/mysql/mariadb/etc. under the hood. If, for example, postgres instrumentation is enabled, a postgres operation will also create a postgres span describing the communication. Setting the `suppressInternalInstrumentation` config value to `true` will cause the instrumentation to suppress instrumentation of underlying operations. |\n| `enableInternalInstrumentation` | boolean |  Some methods such as `getManyAndCount` can generate internally multiple spans. To instrument those set this to `true`|\n| `collectParameters` | boolean | set to `true` if you want to capture the parameter values for parameterized SQL queries (**may leak sensitive information**)\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-typeorm@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-CbrBw7m5+rs4wbfkwGSVT85m+1vxqxbEXbdeE1CKYiw71nGTcFgICcVohw3JO2d5FMOwqWR8aKvj3XC6aO0q6A==","shasum":"f0132ec5da1ef8e9797391f381bdf8b6d8622d47","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.0.0-2021-12-15--16-17.tgz","fileCount":43,"unpackedSize":148554,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhuhVXCRA9TVsSAnZWagAAhFcP/1BFptvbn6NVh6QmB1s8\nUjIZCa4HBmHHgWIIsftZnUIbB0zFyHId5iNQWKdf1uB6UoWT4RRB7OBx184j\n0G5zRpmR4uVW3Qzx7nWbD9y/htlKOduHsu2YtN2lnF1kaTIvg1gD5QjxkL0S\nQjxbYqZ2LGwgW4Z9vLSiZgTNvGmPnH0zYKcZ6pgLnrVNGV5Yrac2Ga0+7XML\nrLe9rEQl49Q7ubl5/5AG8mHO9wz4cGAvlqZ0Cfg4/KYgYI69QDJVsh+CQ4NO\nCNR8F14MZ/K83ye8alTl/2FnBzVQe3akhy3It0oqtpkofYVTagmD7jT9N5Qz\nPhraeDTwwFi2oa1gwbFWLUXOpCXZUrq07E/9khu0a22+xm6i6c4Oyz84rlKw\nxbn621QXZorX3K+wW58gxRQ6p3VLFTyTOProCbaIc4GS1tGWIkk2kW6CRqv1\nebwCwITh5wjb0qaSONpumADDYLZcLy9qVrYlXQ1YbDFiCQHU3M4PI4w06GSU\nF0kko6KzCTH/yR1TaKJLoazCSz4QxS7eRov3Ww/HayR4rCzZEHxHl+SbruKz\nb5UwhBaCDgWv8yhh4y+IV8XCQgNR8vy6l4SQeOXwM9tG84ZOCXiPdJnnPbW6\nqfCvB1qzJHgsIoiXBllAxf6n5CshaEoFTbyo6zGoBTQP1EO8Ncj/aRNDpt2Q\npgU4\r\n=1a2N\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD64lJzoctpfdPp01WjMDl0/axJIsUHlTQncf1sZPiytQIgMDrsvsuGOCl2yHO/dLGE1NDT0VtOILi6MnSpNwYOsQY="}]},"_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-typeorm_0.0.0-2021-12-15--16-17_1639585110933_0.7339387209897432"},"_hasShrinkwrap":false},"0.0.0-2021-12-20--13-41":{"name":"opentelemetry-instrumentation-typeorm","version":"0.0.0-2021-12-20--13-41","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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-all-versions":"tav","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test-all-versions","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","is-promise":"^4.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","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","reflect-metadata":"^0.1.13","sqlite3":"^5.0.2","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"5b751df473de22ae885ae8f740f8966736489a47","readme":"# OpenTelemetry TypeORM Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-typeorm.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-typeorm)\n\nThis module provides automatic instrumentation for [`TypeORM`](https://typeorm.io/).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-typeorm\n```\n\n## Supported Versions\nThis instrumentation supports `>0.2.28`:\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 { TypeormInstrumentation } = require('opentelemetry-instrumentation-typeorm');\n\nconst tracerProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    typeorm: { enabled: false, path: 'opentelemetry-plugin-typeorm' }\n  }\n});\n\nregisterInstrumentations({\n  tracerProvider,\n  instrumentations: [\n    new TypeormInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### TypeORM Instrumentation Options\n\nTypeORM instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `TypeormResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\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 | Typeorm operation use mongodb/postgres/mysql/mariadb/etc. under the hood. If, for example, postgres instrumentation is enabled, a postgres operation will also create a postgres span describing the communication. Setting the `suppressInternalInstrumentation` config value to `true` will cause the instrumentation to suppress instrumentation of underlying operations. |\n| `enableInternalInstrumentation` | boolean |  Some methods such as `getManyAndCount` can generate internally multiple spans. To instrument those set this to `true`|\n| `collectParameters` | boolean | set to `true` if you want to capture the parameter values for parameterized SQL queries (**may leak sensitive information**)\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-typeorm@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-ImDrdezdqfw7tr7qwy343mi2bP/te6n9AWiEpipJ4EhLKC+6Tv/cLlnsiGpD413bVDBlSV2oRuqkdaf5JJoJeQ==","shasum":"8a6a1d6039b8daac970fdc41f9eff14acb7c3035","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.0.0-2021-12-20--13-41.tgz","fileCount":43,"unpackedSize":148554,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhwIg+CRA9TVsSAnZWagAAJt4P/RK+jTOVte/D4HnEDCg2\n8rqsxMiHhAGhCnBY0ULI24KbtFuayWOCj+/u9d+FKBrBvztScJTluHLEDvsL\nDknIzNNgDsMlipEaIK3sEFer6+Pj21dDI3lCorVzjlxSJRqqCSf8Bl25dQv9\nXMajUfVTuJs9jo9xYkMuDLqIEoPW3zE4RYa0ngcaaEB5/DnqN/0qOnfvQR0U\npQVCmLcgv1ynlAZ98ZLlQF0+a69ze2uj8P/AQehleuhMUubTxAR6SnBzohca\nlnQ/Vys+5BpAhRqKNPlDiSr4liqPRbPnk46uXvbQIku2YUeCYg3vr90ps6yX\nD5x59qWbP4IMcvR4AFY5WTQ/21mDNX78h1GSJWDYy2kcVFyg8EGO7hSmy1Q0\nOHRZLerIWAZMwhd1G3766Vt8bZcWQ5r735OxACPBxUCZuIERBdGFVTiHDrlL\nJijLKc5aLin3S+wwJ+D7RPdhl0b2TvnN+gq2a3wnksWK12IQwYZbxdeZNl10\n6ZAJd4EB/d1zSwZjGgdyIqqVXe9vNd9HrcjoHlhMlR87E5KfDHtrrNSTk+ZV\nu/8s3vOMpIZi+4mm3+T1VUX+sGgYadxRJ9fvn+enyAoLs9DmKd6GYvNHTjdX\nd7dV+8WLZ3har8hMontxlfWwdjX4T8HdiUXmGBC578yocNkHJbvoqcjbB/60\nKuBA\r\n=5pld\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCvFeSHEjsBc1fZGSot7fME/rCpbG4lOnaRROCduNuypQIgf+Havuw/K9IDHXV+kZ1mDrlu9FF7allB6MgLfgKol14="}]},"_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-typeorm_0.0.0-2021-12-20--13-41_1640007742218_0.756486029687615"},"_hasShrinkwrap":false},"0.0.0-2021-12-21--15-57":{"name":"opentelemetry-instrumentation-typeorm","version":"0.0.0-2021-12-21--15-57","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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-all-versions":"tav","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test-all-versions","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","is-promise":"^4.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","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","reflect-metadata":"^0.1.13","sqlite3":"^5.0.2","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"38372fee8eae66fb9be8d9e8093823c76ba1388a","readme":"# OpenTelemetry TypeORM Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-typeorm.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-typeorm)\n\nThis module provides automatic instrumentation for [`TypeORM`](https://typeorm.io/).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-typeorm\n```\n\n## Supported Versions\nThis instrumentation supports `>0.2.28`:\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 { TypeormInstrumentation } = require('opentelemetry-instrumentation-typeorm');\n\nconst tracerProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    typeorm: { enabled: false, path: 'opentelemetry-plugin-typeorm' }\n  }\n});\n\nregisterInstrumentations({\n  tracerProvider,\n  instrumentations: [\n    new TypeormInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### TypeORM Instrumentation Options\n\nTypeORM instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `TypeormResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\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 | Typeorm operation use mongodb/postgres/mysql/mariadb/etc. under the hood. If, for example, postgres instrumentation is enabled, a postgres operation will also create a postgres span describing the communication. Setting the `suppressInternalInstrumentation` config value to `true` will cause the instrumentation to suppress instrumentation of underlying operations. |\n| `enableInternalInstrumentation` | boolean |  Some methods such as `getManyAndCount` can generate internally multiple spans. To instrument those set this to `true`|\n| `collectParameters` | boolean | set to `true` if you want to capture the parameter values for parameterized SQL queries (**may leak sensitive information**)\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-typeorm@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-O2G+4XAX/MU8WQ4Pyb+usRJrwyS4we8t/qxGCK/pGX9DUsDcrheg3xrLv5yept5fmIHHVvoqTj1KU4LwFBXrfw==","shasum":"588d05477dd1f0ab3edf8416a831517c46bb9d8b","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.0.0-2021-12-21--15-57.tgz","fileCount":43,"unpackedSize":148554,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhwfmyCRA9TVsSAnZWagAAY7sQAI3Va/yEhpQxOIU4iWzY\nrrhrP/zPJ/0GrsHa/NdjspXHFqEfvvZyKNY/bIIMiujx1UHg97PuYuqSOPMs\ni1RxCEENUM+xOGw/+t5oPb5bWqVgH3IVhbDkmLZQyCVA/YWZmMEn5+bpPbP1\n+xjazgBvdrmEShhvaQGD4GSdyTXNOm9LFXygNIjW9RqUPl0lMe7TSho5opmg\ntQsEcYupLAX/LmcnJrQnQpwMZevset8NJKpQY7cKj+mGAlcEW3jes4ISgnzH\nGW4oDrpqnBY3NfGfvopz2p4NSDAXYtzK2Lph1n/guqf21CYngVdFH+Q9l/dt\nlbjNh5iKHUQCs+bbBOcZEvWDDXGIhTe/M3zMxokMsmlVq33pCc1n4xaRGSMf\nJJkE3Ng2HMkV0QFMYYIQBdxVj30GKSMjuK2Auqt/rEvOZHB0KczThk4CHK0L\nC3hrytmxC/hhGdxTqCZzwNplnjsMJy7myVrxM+i/wk3HPANvgVFlVl7lH2SX\nYTSqY33fJknq2mr18zhhfmPStqwO1H+a46nlZlLMei72NiveH3XmjCbbzCed\nOTJhmtefCd2V4qFXKE/pWrOctBoJlHOwN5AjVubdsM6ARxpwGGJAbLNup3km\nc1Lwup11O9zgjZimiXg87tvQ9C8D9BfhAdpeVfo2TWW55lvgak8a0zV6YX8C\n9QIu\r\n=iMxn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICWeqbZO3YfRp6P42+LjLnv+u4jmOVMQIDTgVHxlAAv0AiEAnKSMz4701A4Mn6DDfhY0PbMj8MoT781JiEe8cPGznyU="}]},"_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-typeorm_0.0.0-2021-12-21--15-57_1640102322647_0.5809856157568578"},"_hasShrinkwrap":false},"0.0.0-2021-12-22--14-33":{"name":"opentelemetry-instrumentation-typeorm","version":"0.0.0-2021-12-22--14-33","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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-all-versions":"tav","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test-all-versions","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","is-promise":"^4.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.2","@opentelemetry/contrib-test-utils":"^0.27.0","@opentelemetry/sdk-trace-base":"1.0.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","reflect-metadata":"^0.1.13","sqlite3":"^5.0.2","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"7aa0240a479398d794813dc4088689d9d25bf6fc","readme":"# OpenTelemetry TypeORM Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-typeorm.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-typeorm)\n\nThis module provides automatic instrumentation for [`TypeORM`](https://typeorm.io/).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-typeorm\n```\n\n## Supported Versions\nThis instrumentation supports `>0.2.28`:\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 { TypeormInstrumentation } = require('opentelemetry-instrumentation-typeorm');\n\nconst tracerProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    typeorm: { enabled: false, path: 'opentelemetry-plugin-typeorm' }\n  }\n});\n\nregisterInstrumentations({\n  tracerProvider,\n  instrumentations: [\n    new TypeormInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### TypeORM Instrumentation Options\n\nTypeORM instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `TypeormResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\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 | Typeorm operation use mongodb/postgres/mysql/mariadb/etc. under the hood. If, for example, postgres instrumentation is enabled, a postgres operation will also create a postgres span describing the communication. Setting the `suppressInternalInstrumentation` config value to `true` will cause the instrumentation to suppress instrumentation of underlying operations. |\n| `enableInternalInstrumentation` | boolean |  Some methods such as `getManyAndCount` can generate internally multiple spans. To instrument those set this to `true`|\n| `collectParameters` | boolean | set to `true` if you want to capture the parameter values for parameterized SQL queries (**may leak sensitive information**)\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-typeorm@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-twEE6zVhwask5dxZAXNwhHdpP+QlNmSaVRXo4mL0S/FZAVOCapRUZllOwI8EAgVzwf8cRd/9KDiz2jToFkGGKQ==","shasum":"ebf5f46a71de2b6da0a60dbf6ab52eda0f07d943","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.0.0-2021-12-22--14-33.tgz","fileCount":43,"unpackedSize":148554,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhwzfuCRA9TVsSAnZWagAASYcP/2/LMCy26s69g/DK/JQl\n+jf0RceUf5qwFrJ1v8OFQtWft8Hsrpcw8wAaj449GCOdePv/bncUJIPK8S62\n1zk7RmpuEDFU0/BMGdHgpIifyS90lIiinDbrQLK0TD+/tYHdezsusExDuPLp\nLnZSz97DM2hm4Of4g1ISG7crrUtVuQMxJ0wc1U3+FN5CcjiOjlqKRYOO0psy\nVdfbGxUl4dW/jQtzg/0tNrxgtVlwsNCjF5ecEx3u4dO/aD9XJe7IeNtnFEpP\n+X6iDhNScaoEUY9odj7M1SstLuTZCh2lpLEoJe1fz+NozCAVSFaiDFtNQlNi\nV0p5OFnPtBVqhp0+PPf9tZf6MqEHD3xZzC7/FgFzOicG7R+3TKo24bEoaHG4\nrJMua0GaYgdrXlQhzTAtib/5obhR8XdfAQJXJ0e2rH5hpVsYcxy230zbh8AT\nXNPFPxcR+zdNO6qIeOHQGRA9LVex0EnpI/3I0gqpnREDPw8WNZ8YCavOVXkI\nyUj6sHATBEfw8EAsNk+4rkGpDV0p3aDruVFYW9IY0Snq5LdT6tbAInpFcx3v\nZVDXxlGKGf/KxcOe62/qGveEqv7VipdM+HQa+BP7B3lLAQtPPYobEa3faAKS\n1p6KKWpeelWS68BywCPG5TDHKe2khHNfCeKJoKnLb8l9ZHLAeQkzgxCF8H+7\nMciw\r\n=qlfQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmPTkKYAV4BvnIBCCL998hd15Ex7+VS7lcKxAMCsIl8QIgOQgj8tHPU8EiuaU9rNKOqv67eTKUwSH7HOA1Dq2X2s8="}]},"_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-typeorm_0.0.0-2021-12-22--14-33_1640183790406_0.33458703989877847"},"_hasShrinkwrap":false},"0.0.0-2021-12-26--12-22":{"name":"opentelemetry-instrumentation-typeorm","version":"0.0.0-2021-12-26--12-22","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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-all-versions":"tav","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test-all-versions","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","is-promise":"^4.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.2","@opentelemetry/contrib-test-utils":"^0.27.0","@opentelemetry/sdk-trace-base":"1.0.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","reflect-metadata":"^0.1.13","sqlite3":"^5.0.2","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"faef7c8328a9ff8592347e079e5e86d0181d2d5e","readme":"# OpenTelemetry TypeORM Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-typeorm.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-typeorm)\n\nThis module provides automatic instrumentation for [`TypeORM`](https://typeorm.io/).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-typeorm\n```\n\n## Supported Versions\nThis instrumentation supports `>0.2.28`:\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 { TypeormInstrumentation } = require('opentelemetry-instrumentation-typeorm');\n\nconst tracerProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    typeorm: { enabled: false, path: 'opentelemetry-plugin-typeorm' }\n  }\n});\n\nregisterInstrumentations({\n  tracerProvider,\n  instrumentations: [\n    new TypeormInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### TypeORM Instrumentation Options\n\nTypeORM instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `TypeormResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\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 | Typeorm operation use mongodb/postgres/mysql/mariadb/etc. under the hood. If, for example, postgres instrumentation is enabled, a postgres operation will also create a postgres span describing the communication. Setting the `suppressInternalInstrumentation` config value to `true` will cause the instrumentation to suppress instrumentation of underlying operations. |\n| `enableInternalInstrumentation` | boolean |  Some methods such as `getManyAndCount` can generate internally multiple spans. To instrument those set this to `true`|\n| `collectParameters` | boolean | set to `true` if you want to capture the parameter values for parameterized SQL queries (**may leak sensitive information**)\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-typeorm@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-0ivULcdTFFk6UN2Z2BRtcqsxXCcGC+mqoYy983HB88JrBIieAfWV0ZV9sKo8QkGifVEC7/wLhIpV4N5uGbFQwg==","shasum":"df49157d321c0203f0c69165d765a8b3ce7ce23d","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.0.0-2021-12-26--12-22.tgz","fileCount":43,"unpackedSize":148554,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhyF6vCRA9TVsSAnZWagAAlAgP/iVaQsnph/kwlTa+Be4+\nmPtD0Bot6laZCEIMv72cGOk6lKZtwWlG0olhQMirjmqVDeGpYoV6VzNoz6Ik\nxaRotZ106IYbJee21n1XfcNSRGCj+RbMvLvJ+cR+nSRdmzcp1wW7bnt2srut\nttBfg5nOfAT09H8Kkw4mB8mcIIsHdOWL+eU5RAX5lDyQ/ImNOt/micljUJdT\n3pAND5ekITJNL+QBnrB3U38EHYK2zo1+il0ZqsqPp3Og5dVCYwtKFmFmqFso\noUfGxK+psIe6aPm8yF0ibf2IGwxntfW/8vfOXSOGZFCeOHUpciBJRDCbb2PR\nj30n88wfdEBLD8urED1738sGsLUzdIYxXFgS2TWmH11oAM4XHU4O/QBuCNy/\nqFJBZbZd3e007uVLQMS78zbZCzNJE2mRfR0dqXqpit5wJx5WksD2OI+HVZqf\nRHQivfjYy86vPdQq3ripuZ9VrKId/oU74Y/l6S4O3u7gfRMxyljWMjk6k7g9\nXyyT8k0FTbnjEhvFl+0GUlJYxw16dDAgxUcZ42d0pOeb0pDuDIHRZ7uMLCKC\nci1eD8xEbYKv/WN4MShM38rh9vdyHkLc8cUJakFx1rnlZrquAHrdPaQZNTsY\nk+X003LXIJJqaUKG+ZGXQ8+s2BlOlav85XaLioo265OgWHiXE9tLq/8oNsYL\nbF3o\r\n=Dlzg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9J0NRKHW+arlTsPO8A3Fz4XbYFk0HqN3K21HEsk1lGwIgWtnpVCIpjbDFXZ+sx3WmM6rMbtrusJCoPz1FStU/qkk="}]},"_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-typeorm_0.0.0-2021-12-26--12-22_1640521391619_0.8295715953891802"},"_hasShrinkwrap":false},"0.0.0-2021-12-26--12-31":{"name":"opentelemetry-instrumentation-typeorm","version":"0.0.0-2021-12-26--12-31","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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-all-versions":"tav","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test-all-versions","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","is-promise":"^4.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.2","@opentelemetry/contrib-test-utils":"^0.27.0","@opentelemetry/sdk-trace-base":"1.0.0","@types/mocha":"^8.2.2","expect":"^26.6.2","mocha":"^8.4.0","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","reflect-metadata":"^0.1.13","sqlite3":"^5.0.2","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"591785317c33cddbfec450849d945af05520a0f4","readme":"# OpenTelemetry TypeORM Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-typeorm.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-typeorm)\n\nThis module provides automatic instrumentation for [`TypeORM`](https://typeorm.io/).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-typeorm\n```\n\n## Supported Versions\nThis instrumentation supports `>0.2.28`:\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 { TypeormInstrumentation } = require('opentelemetry-instrumentation-typeorm');\n\nconst tracerProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    typeorm: { enabled: false, path: 'opentelemetry-plugin-typeorm' }\n  }\n});\n\nregisterInstrumentations({\n  tracerProvider,\n  instrumentations: [\n    new TypeormInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### TypeORM Instrumentation Options\n\nTypeORM instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `TypeormResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\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 | Typeorm operation use mongodb/postgres/mysql/mariadb/etc. under the hood. If, for example, postgres instrumentation is enabled, a postgres operation will also create a postgres span describing the communication. Setting the `suppressInternalInstrumentation` config value to `true` will cause the instrumentation to suppress instrumentation of underlying operations. |\n| `enableInternalInstrumentation` | boolean |  Some methods such as `getManyAndCount` can generate internally multiple spans. To instrument those set this to `true`|\n| `collectParameters` | boolean | set to `true` if you want to capture the parameter values for parameterized SQL queries (**may leak sensitive information**)\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-typeorm@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-U2CfBa5Fra/C9UBVIVVP8OTpBiF1hwlsa0hRNQw2xsCEjzIwRm8qbo3aSw/bbdVl20YeUze9ftbw+Hi91nRnRQ==","shasum":"dc07e75d24846960c2be31db581772e875bd68c7","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.0.0-2021-12-26--12-31.tgz","fileCount":43,"unpackedSize":148554,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhyGD7CRA9TVsSAnZWagAAb3QP+wajYjFXIY4a+pz9iohF\n9oKV4W83N6NlYXVRO6LEtqEwe/wdBnDeoQVVp4+EqQ8qVz7v6acW2REGSZGU\ndQMgGLvbGCe2AZkkHbpwRFaBs+SlXJI429btzp35bVwPg8SEh+JqynNr/bqN\nbkAoxE8A7PEsFL3qZDsa8hhx4pScO6NoPxt4xkTusBSEk+T3GDkvYswpf2yh\n0WUDpl1qDllzueXopO53OXqiHE+XAf/53BW7OqX+B03SP2JSykOjgImv2tsw\ns8LO84vkg+qQvtuE3yxAv04hp6ZUsRHMZBYfgIznwQKzpCjZdtsxoXbzcyb/\nIFZP7PkXu1/cyD5oCcxKRGofheQDwz+xk7EcSMSOVPnQ9b1E4Est9cll+nbB\nNMOOG/PLK62k/yaEyGDD7f7N8qkieqx0cEfhkEEpSowvcBxENQBBG77CPLjN\nhYzDj51+4yt6Xqknh3a4FtSps3feU0M68rENRis9GPJHBB0bdmeI3S3yhYGO\n1iJM1UDXgAJF9tVahGREqirDyJ0KtN8ScYuRf+z/ocjwYV3YNMGIXaMclF4j\nNMs5daS2fYm7SbA7dAUoRLxjrL3wUnHKep05G/dDhgNLQdk+sbIAZzomrxyc\nzuB7/KbIPPaCJur0m81iXNrOA3gx20TBMzEFoluC76NKSnnX4N1mCZSbmO1V\ni5+P\r\n=l3Xq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCS9GkD24BMUQnkaWht+n5LaF6XlP/RLjjWae6cKCWpkgIgf76a3tTjqVvGc75yEgJbF0nwt14DduL7zRIfaLu4toM="}]},"_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-typeorm_0.0.0-2021-12-26--12-31_1640521979306_0.24162435660278336"},"_hasShrinkwrap":false},"0.27.0":{"name":"opentelemetry-instrumentation-typeorm","version":"0.27.0","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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-all-versions":"tav","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","test:ci":"yarn test-all-versions","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","is-promise":"^4.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","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","reflect-metadata":"^0.1.13","sqlite3":"^5.0.2","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"687393213037496a1105e522b1bc3110b11bd9c1","_id":"opentelemetry-instrumentation-typeorm@0.27.0","_nodeVersion":"12.22.8","_npmVersion":"lerna/3.22.1/node@v12.22.8+x64 (linux)","dist":{"integrity":"sha512-TB7Zdbpxp0CaPB4IqjShnJdbIx7G+N8wFiKFUs4XaQEkd9XvvzyKBbBts1jQM9Xc6jZixV8Vhx2pojeVykJsbQ==","shasum":"99581cded3959be4fbed530ee8a9df3e05936ecd","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.27.0.tgz","fileCount":43,"unpackedSize":148744,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhyYyJCRA9TVsSAnZWagAAaPUQAKC2g/K+y7ueDHkMY9H2\ny4p2dvomqafPQxHytAsHfV52U8ujAPZv3X8fYl1tYSYvY4zpic3LTOhslWle\ng9MWirRra0mAMyRmdQCz0vIOwZHV5Fl4hTGKyiB4gEZAgVMXeLAly7QMzglp\n6tLJR5SnXD2W6AnVVPb93jnovbfaBwvR3TfmMhprDEey2dsLorNLyQ9Y2zCe\nPlDrM66/KZKzJwwfu4PDU76YWCkZIfxw1HfBRJqNoB10wCeRsgNptR5/8jFL\ngm5FzVQnRRMIVgOm7JtOm5ZEp1re7IeuFfERU63QYM1lHmPoCPR3cEqb2Vzl\niPGxKcgVSK9E3ncTuL60pjkYd9TIM00Sv1ZwGsPLuyav4wN2gS41HT0gA8Hd\nQNXCyNfK10BMV2l7uJOUtV3olhNINaymzoYKDfxMJZi2K935j/B0WLp+/vkR\ndY2Nw01weaAk+LBLZc1Zkk9EAaLAVSrr0Wwm2NAW0BkaCCKh2oCz9T2bmjdT\nvVUXJ6R47tZZ9XkDwDH9UAj1Z5kxWkhrZx0CvUfSSO/5L6sz13OLgiYzSWWQ\n4VIxK0V4l/9wEs/GzuoSugdCmRNiya2+Vfogc8weskRZtCC8BGYfrpcAXY9J\nci6mEji1mOz3XLhR4adlRI80fuKEEp7adetvz3/h4o41i7xZJcLVNTfSgQeL\nMAiR\r\n=mfrV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJr15T4fPAtLlyDdxDuc2qNDIYDWyP/nMWGG+Sgni5ZAIgTx0kV37FIML9WPmi02TloBP56lCyvq2/Ymusv8GNVo0="}]},"_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-typeorm_0.27.0_1640598665490_0.7717763188208879"},"_hasShrinkwrap":false},"0.0.0-2022-04-13--14-32":{"name":"opentelemetry-instrumentation-typeorm","version":"0.0.0-2022-04-13--14-32","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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-all-versions":"tav","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require @opentelemetry/contrib-test-utils","test:ci":"yarn test-all-versions","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","is-promise":"^4.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","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","reflect-metadata":"^0.1.13","sqlite3":"^5.0.2","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"2e8247578b4b9efe980868177abdd2e793ea18ee","readme":"# OpenTelemetry TypeORM Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-typeorm.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-typeorm)\n\nThis module provides automatic instrumentation for [`TypeORM`](https://typeorm.io/).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-typeorm\n```\n\n## Supported Versions\nThis instrumentation supports `>0.2.28`:\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 { TypeormInstrumentation } = require('opentelemetry-instrumentation-typeorm');\n\nconst tracerProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    typeorm: { enabled: false, path: 'opentelemetry-plugin-typeorm' }\n  }\n});\n\nregisterInstrumentations({\n  tracerProvider,\n  instrumentations: [\n    new TypeormInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### TypeORM Instrumentation Options\n\nTypeORM instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `TypeormResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\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 | Typeorm operation use mongodb/postgres/mysql/mariadb/etc. under the hood. If, for example, postgres instrumentation is enabled, a postgres operation will also create a postgres span describing the communication. Setting the `suppressInternalInstrumentation` config value to `true` will cause the instrumentation to suppress instrumentation of underlying operations. |\n| `enableInternalInstrumentation` | boolean |  Some methods such as `getManyAndCount` can generate internally multiple spans. To instrument those set this to `true`|\n| `collectParameters` | boolean | set to `true` if you want to capture the parameter values for parameterized SQL queries (**may leak sensitive information**)\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-typeorm@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-3KlMxiSSkaL9SjIPiXVeZRJxRFKFd/tIu4X3aVDu21azqgVU2Vz6pnu58bY+lfbBp0bPCsddOu7f9MHuyWTGaA==","shasum":"243ab172a5628a10d19e744dee4a67514871c632","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.0.0-2022-04-13--14-32.tgz","fileCount":43,"unpackedSize":148835,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE9gdJcJU2P3EolPOFcAkixMJl3bSkUJzgAZ4e07ez9LAiEAzneWpienKFpbEx+leed7V9uiq4Xe2G2wAkN70njt3zk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiVt8XACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoNDA/9E3/DnMnp6k7o64saGpu0Ks8kiec+kEHb7avridr6NpzDl7In\r\nnlS/XI2BQpk3pBMURE0iX9evVBSYdGlXqgWY2u4rz1N64drdDfwhfSRuiJ92\r\nD8zCAEWWBjOwZUV0c+M7SG0XajMbX8JT54yFhlB0etgKrsMDurtOdOVuj5LK\r\netpHi1ltd58pjCkjAJnR/3M4sfSq5wiU9IPA5vakC0VM+HZSrMwCMZ6Xmctg\r\nBqQ3hdDdEufH6J6DUyw5KaS+6oUWU0m+trks6cK//5yjglE9gMYk1Vl2Kyqh\r\n1NjI4H7ZnEsTSgxXs7hssRjf3Bg/BsAsMH2p1Z4FVJPUrXb1J7lEjP4vU+01\r\ntxFTOWBEW8HjZfazvtdzNulN9v/PUEdNKaiWv8Jf9LWC5zZfAahRZbV4nQ0L\r\nK8HHE23jMqkdc0YnA8ZzGQOEnjmKxZ146+T0L+nrnnTkAPa1Gu/9TQIwMfpf\r\n+RPksHimSFOwXr9tcXTCDXTyzzlAMo9L6SEafMNcLvUL15W5qLm7RiiAUZYQ\r\nqHx6keqnEebogb+qoDljxoqytCSxVMeIIA0p8L4LdthZ67dv9XQ9ZiVV54RX\r\ngNWG2kDugACeAbqSLrNQXUlE5oHLwBiA456U7vTpa02nZi3HQEpIccICBfzN\r\nW3cgLAPqqwQKtan5v/LtjmZNnC48XpQmqEo=\r\n=8PxW\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-typeorm_0.0.0-2022-04-13--14-32_1649860375377_0.44101590613516684"},"_hasShrinkwrap":false},"0.27.1":{"name":"opentelemetry-instrumentation-typeorm","version":"0.27.1","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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-all-versions":"tav","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require @opentelemetry/contrib-test-utils","test:ci":"yarn test-all-versions","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","is-promise":"^4.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","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","reflect-metadata":"^0.1.13","sqlite3":"^5.0.2","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"e473527226dc901fc0006df49f729b9137b7323b","_id":"opentelemetry-instrumentation-typeorm@0.27.1","_nodeVersion":"12.22.11","_npmVersion":"lerna/3.22.1/node@v12.22.11+x64 (linux)","dist":{"integrity":"sha512-zJ+kcNEVY7oyLMglBTNI7cZnGWAaRZR5GuzK0fi1oB7Ogs1d+6SjP+90tWgRuGTZX0AxSN+Hdexl/zl6OJKWYA==","shasum":"1193227e6be453bb97af7311dc9bdb91cda05fc7","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.27.1.tgz","fileCount":43,"unpackedSize":149169,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCOMh4EZuwI5nCNendIZZDAvao/rfUtaQlsxH8E3V5MQgIhALe/GHdvS0uC8hM/mm9+GEVGTgeFNlqHu/m6jJAdZ8Bq"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiVu8JACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq1Zw/9EuilKARgW1V5bnJAMqMFbs31QYidLpODrKMkI5k5v1Bl0zjm\r\nZYtRyB8C1L13Il2jjJ6S0oMTEgQagaRHhf9ofQgNg1wMZZsSqEVV+WMHEoRW\r\nVcPLbBGMU6XaAFNg0T9M20fkgVItrx2ashgzy9nEzixNCFf2gkFmiQgVt0h3\r\nZ9xZq2YKoLoCzZPR8DfBGPJcEdetk/svb3HSERl8iGoPPHPEizokkUI01ZyY\r\n8D3EIreBLL7Ng0cWvt5lveqqX2tL8gSiiDuEdksBysjUXl3P9q71rEk1VFQJ\r\njShpJoH56+SyHzS8GLQv1k6fDf9VaRDBWqJRFxYApRRwFovtclQB6V+Fidy+\r\n03uDEeLeVgxlZt9ewYJlKjGAAfIwdvmIUX2+aQiMuH7S401214Bbji5XE8Gy\r\n3wyp0iZikXFOrO6HED7yUtjgYPT/cwzPyV0rbs9IkykXoJIZyk4FXcEoaz2s\r\nWvfQY8Y/J04WrwkhK9/WxLy0p1Po7zl5qy2pj1gUyf7wNBxFHw58nlig07lV\r\nBj1LR7LaqQzkjaC7CxriI07y42J4xktaxFSZ6knshffsMkSEWLKG9G3uc6jm\r\nqttaHxWm2bZRZJqbqryne9M17atcpNE2+1Ls3f8DOlfX+AkXL6avKA5uheZu\r\nLyNfmMyPMjHe7JnJezs/TJ8Ng3/IXpxNy34=\r\n=YEgr\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-typeorm_0.27.1_1649864457580_0.8737323032826829"},"_hasShrinkwrap":false},"0.28.0":{"name":"opentelemetry-instrumentation-typeorm","version":"0.28.0","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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-all-versions":"tav","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require @opentelemetry/contrib-test-utils","test:ci":"yarn test-all-versions","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","is-promise":"^4.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","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","reflect-metadata":"^0.1.13","sqlite3":"^5.0.2","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"4b2ef8358671e75cda095ea22c9a73527f146395","_id":"opentelemetry-instrumentation-typeorm@0.28.0","_nodeVersion":"12.22.12","_npmVersion":"lerna/3.22.1/node@v12.22.12+x64 (linux)","dist":{"integrity":"sha512-XU0RlQAfiF1vGgNWcLWKG+3mUQn6CuTxIf3S6SuBgIYuL04bn+JjCJ222tjoDicCewyqON5TKu8+8i3OOZOS4g==","shasum":"e107a2fd1c817969b7d8a708dda3f75a2eef55b6","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.28.0.tgz","fileCount":43,"unpackedSize":151994,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3LDYdIqOqNi0QIZQqeaicTB+zDYKoCXlAVWbY4aXngwIgM/ccN8k8J6Q1trJHUh1oQbRs8/CXBFBPWHkxHuR79WE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJimMtWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpXsQ//dy/eeiPzpFNwtmbsWby3ND3atzpItxdpElHXgH4Pg2Jio3F3\r\nl+db+i7529SV1Kn4f7wBbOLOeUQHufHE4n9FPBALboz/GnMFZHfcpRXn1NTB\r\nWra1kuVogsrWY88jMeVMAmxzPgp2nT4Dd/NTd/hjax2KNU6uXwjr+grM05GX\r\n81kbg1zhnl9iW2SH+DnTVCTTGU74G5jg1yrRNahkJszj7NESffPNwloQFGmh\r\nHD/IGHP7qGENVFmxoj1eV9Lb0IPbDwESYKHjC8z8qoErGtQnbuFcxb/aBch5\r\nk6AqDyFMWmDBCDvnwuJy+rvLLY/lrlwUx32pl0xP278FTaGbmS4JihZxTbpI\r\nKOycjYeCE8iiOCLbYZKKpaUEOF2/1u5slD3wb4sate0uuT30Nbceldb7kMQq\r\ndeyW7DaqMWuf3j+hLbkxcxmsTUpXAlJVY2M6ShvszFf9knCLyXNQDaOrko7Z\r\nuXj5MjFsn1V41gZ4ggkTSIL+pQ5ehFTTiK3u1xN5U2a178htP04OC5XKmOKF\r\nVgNqTN+qe1lTvFBrdCR/bnRm2WDkrNnd1rjFJn6nq2Cfyoqzg35s3KFA02mZ\r\n8G+N3Vsszfk41ZCGJKv5mN+Lj0wwi/oJMRQz1bsBsM7tbN28Rrt8vVw7h+Fq\r\n5RpaQQi9mtP62XYqr5ERmlz/+O+EzHakuq0=\r\n=7IK4\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-typeorm_0.28.0_1654180693814_0.7034339497750421"},"_hasShrinkwrap":false},"0.29.0":{"name":"opentelemetry-instrumentation-typeorm","version":"0.29.0","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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-all-versions":"tav","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require @opentelemetry/contrib-test-utils","test:ci":"yarn test-all-versions","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","is-promise":"^4.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","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","reflect-metadata":"^0.1.13","sqlite3":"^5.0.2","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"55606fc29b3e835f0b06892462c9832471dbbb3b","_id":"opentelemetry-instrumentation-typeorm@0.29.0","_nodeVersion":"12.22.12","_npmVersion":"lerna/3.22.1/node@v12.22.12+x64 (linux)","dist":{"integrity":"sha512-FDE3GJEoYoqyq99tOVYAleY1Hq9NbYpZ80Z1BgUwwjTUf4QuFeh18cP0fAPbyPjlphb3Z+rID2XMmJQPzAWy6A==","shasum":"0cb687885dda5e070c0dcf31f9d336ca7aa5d453","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.29.0.tgz","fileCount":43,"unpackedSize":152418,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDg+tXdBZ08w8YV918ZVctPKYIJC2gcmwFK+pu6VPRceAIhAN1A1KgIFm5M6QKwLxCd+OAa0UsglUoTgHZRiyhsnCB/"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiuswBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqz8g//dLvXFpX39dozZK1awTHvuuW8c55cdl5S/o886RMDMuPIFaqV\r\nJqwvWRj/joTMDCu34y/6RPf3OnSvVfOAvdKH18pnNyGqBq4BqV6l1N9U6dsd\r\nhPXdc2B/xhAChcWzzznN6BjzNjIhCiolAIwY/MrzFZjhvRmAAnk8ueEjvAiN\r\n0/sABqEszNkJQEpPSc7s2PNdh1XDWpMIuTqGHKzp5oTuNBxc3yvd2Opjer1g\r\nxO9u6xUAjnshS+b1OE+yW1I7cmhewf+GPo6L4Fvvk8z2XN6NVu0BXFVyEqWp\r\nSsvPKYkK7qUrn6Me776ZD0gqiP8w2rsNfzR3c4ZM6xTDhZkuoXDg2E8n++3m\r\nMse7TsXw/J3wreAjrmiH+dCit2GFiKWlRWBnEaDpCfYI5mVvQGhsXak+vznL\r\nbVEf0NdpkTE5OuzLdZ6wQBcq/vWurz77M3/hdFmACiFs/e4npiXY6+KSMxpj\r\n+PwWs2CANKD1uoTsiPT4ZCOXrZ6o4WIZ98SnmyhXW4Mh03hHcLCscM+mfbs6\r\nUDQ8f1M85VO74vRRRTulYkDpLgAPvva/4BEodRBGaNIoD+XwEwwCxIYhvnSs\r\n4NRw5fCLwuM/kL7piYYgNM3Ne1kJcZzkPYja8pUAqZ3hxuu9S68kqbxPbu9s\r\nTBCzpPz08VdRB51DlMUN0XUqHXX4Y54j+DU=\r\n=PpKG\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-typeorm_0.29.0_1656409089547_0.24891257511806208"},"_hasShrinkwrap":false},"0.0.0-2022-07-11--08-09":{"name":"opentelemetry-instrumentation-typeorm","version":"0.0.0-2022-07-11--08-09","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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-all-versions":"tav","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require @opentelemetry/contrib-test-utils","test:ci":"yarn test-all-versions","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","is-promise":"^4.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","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","reflect-metadata":"^0.1.13","sqlite3":"^5.0.2","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"d4b1388181deeeaa3ad626524493f9e85222d13a","readme":"# OpenTelemetry TypeORM Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-typeorm.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-typeorm)\n\nThis module provides automatic instrumentation for [`TypeORM`](https://typeorm.io/).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-typeorm\n```\n\n## Supported Versions\nThis instrumentation supports `>0.2.28`:\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 { TypeormInstrumentation } = require('opentelemetry-instrumentation-typeorm');\n\nconst tracerProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    typeorm: { enabled: false, path: 'opentelemetry-plugin-typeorm' }\n  }\n});\n\nregisterInstrumentations({\n  tracerProvider,\n  instrumentations: [\n    new TypeormInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### TypeORM Instrumentation Options\n\nTypeORM instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `TypeormResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\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 | Typeorm operation use mongodb/postgres/mysql/mariadb/etc. under the hood. If, for example, postgres instrumentation is enabled, a postgres operation will also create a postgres span describing the communication. Setting the `suppressInternalInstrumentation` config value to `true` will cause the instrumentation to suppress instrumentation of underlying operations. |\n| `enableInternalInstrumentation` | boolean |  Some methods such as `getManyAndCount` can generate internally multiple spans. To instrument those set this to `true`|\n| `collectParameters` | boolean | set to `true` if you want to capture the parameter values for parameterized SQL queries (**may leak sensitive information**)\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-typeorm@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-nsfdPzcbWZHhm6e68+JG/+1Htup2Nq9mBvrp5Fs/Ct7GVD40A6RYCqjFKM0oFLXvGYpfXnIvHZ0rlpmAFcbZ4g==","shasum":"58c533eab705f46e37f0b2db74e45eec3edfacbd","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.0.0-2022-07-11--08-09.tgz","fileCount":43,"unpackedSize":152488,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCNH1V7ouszwUYJ9909GbrlPr5KWIcq6jrXqtM2xY1TiQIgPuetK9wue8boRzPNuzHvmj2x0jAfM37fWDep0/cGl9Y="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiy9rdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo/dg/9H/EVJQYgRhQVrTSnxbKk9kMN1hI8ZWcj856osbuzK19GFB/X\r\n/0XjLaVDms4XIywMNa23Bxleg4y6lAQKraBowlkaZYfZaImUTWadgcBGVNsh\r\nFJFLDI5Nu3fs3cpL3MnwyT2/55QKhTITUtXibUUHS8oX5MGuglTCp36HvMSb\r\nLBClBOTuRYjFW274asoJlbBGvo5z0OUgNXvcRayxRhZq4FwBu43z3+PI7U8m\r\nUIrGsAZDxl7ru9FWl61TytFAE5HU0V3q+iNZUGi67PENGjoaJjJa3Z4zetod\r\nfVdDurp2kkPdAHUYBIwgMsRdtUboH/omvjURSYnOX0PV7YpqLuWRkEDoQuSX\r\n/NA+iZaqbHeE9Zftbe+piMSv5yXh9uhWuSsn4dsH984V/TtfqHBy97NQyDfd\r\n9LSL4+vKbOPlKceMh+7lUXyzCfThrz6/C2RGFQoy2CcN4BdPJ6sW5tMeXS9u\r\nzlI78sEJllIPsSxDWcF5XM0t4a9fZ7IVAlmmW8SbwfebbNe9UOPNWf694yKz\r\nMEFKsc85ILO+9YvImzDu/Mcd/vXX8BCvJPwM+TU4CCk3PBaU3TVzNhe35Aed\r\nmKVjNQgtJ6n9tm9sYIxCwTGeNd48v8XsnRbu8vx862/+b3GU1XOtJFN0VwlE\r\nDS64o3g1RvJUD3IVMVRJ4mqy/wWHEEq3ISg=\r\n=SwwT\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-typeorm_0.0.0-2022-07-11--08-09_1657527005530_0.37005686428981077"},"_hasShrinkwrap":false},"0.32.0":{"name":"opentelemetry-instrumentation-typeorm","version":"0.32.0","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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-all-versions":"tav","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require @opentelemetry/contrib-test-utils","test:ci":"yarn test-all-versions","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","is-promise":"^4.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","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","reflect-metadata":"^0.1.13","sqlite3":"^5.0.2","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"55e1b892a2d6ec6c9097e6e39ff69d15562b549b","_id":"opentelemetry-instrumentation-typeorm@0.32.0","_nodeVersion":"14.20.1","_npmVersion":"lerna/3.22.1/node@v14.20.1+x64 (linux)","dist":{"integrity":"sha512-ofK02PQZk3gxioPDE+ppLexy0H2NRxqq9ug870S1ldQ+d3sbTOkrYi7WdJw2/dZVBxRF6IDb07FN7FN9an+yKw==","shasum":"640db18cee93390c00badce3781a81c5be074c80","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.32.0.tgz","fileCount":43,"unpackedSize":152842,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHqEQJ0voPSizfDxMs5b9Il08jymyr87bRy7gSORwGLRAiB+iqZlqORI0WelKwtmurYdMjsBBTI/GVB1CCqI6qzaJA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjTnyQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrgFxAAn71IBXMvVN4MAeUtckvAeTQDCfXiH//VEdUVXdnbnskCbcph\r\nrbHiJdAMQJzMJA+ncOnUjDOWBwHWRnWXq5fh5Sd4zUz0BUeF98CYvkCTiPfP\r\nKoKpg8lCf7sZVq+c8S+pc+AdN3eQdktEJnUwHQWk7ht0Xf1rPE4ah6JG+qZd\r\n+l072bDQvjGpBzPNEGAtenvm0F6zxolWILray3WPN/XWT2T1oAC47p67t6/b\r\nAL03odheCsNS3WTFMCM1rzgY4hNufpdH028TRu2/v9PV/BV/5mq9LeBSVNBD\r\nqvGYw39LdpTi2Ln5oDWO6tk7u1q2rPr5KYBwk2hzTgtzalZ7zi3XP97+tQYr\r\nJ8tpK7DvqIzL2F0yVSuM6gxMEGrzrWd+8Kphph+KlsStXMMKpGmDlcqOy0Nw\r\nyrixP7FhDQY9mV/Igz+00CAJAj9uiRTeE0pIqHeksgHZi0PTu8Sr/8Lg070E\r\nfjZa0OSRN2kDXJyGJHs0PQ5fLFvfhrpnrbybguOioICuAFYDqwvKfpEOOvzM\r\nCuK/WNFCwwb4oX+3u7PETgkqqn8qs8yJcS1qydor18+a8MeTseWbu8YVe+ee\r\nmmC0JekyfX2mq6JiSiwnaK1qL0JlkNo52/jmiv+Vs98ZA18kluDHMqxKaMv2\r\nQZLk5FgkeKviaCE0q8Qfs6c/a7g+l61uLV4=\r\n=pVaX\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-typeorm_0.32.0_1666088080166_0.2720840301899663"},"_hasShrinkwrap":false},"0.34.0":{"name":"opentelemetry-instrumentation-typeorm","version":"0.34.0","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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-all-versions":"tav","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require @opentelemetry/contrib-test-utils","test:ci":"yarn test-all-versions","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","is-promise":"^4.0.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","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","reflect-metadata":"^0.1.13","sqlite3":"^5.0.2","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"ccc45183d4f5386a4f675f2c02acd8c41a4293d9","_id":"opentelemetry-instrumentation-typeorm@0.34.0","_nodeVersion":"14.20.1","_npmVersion":"lerna/3.22.1/node@v14.20.1+x64 (linux)","dist":{"integrity":"sha512-SHm3KWMKbVlBhlK/7ura04ccYPw+KsYJtC/s2SY32KFu5G2875Tu7o//SVvXya7sVuIMKSy7Y7TccFyNoxAsZQ==","shasum":"f4798dfcf969b6dd1676889a250a78c4c00de0bd","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.34.0.tgz","fileCount":43,"unpackedSize":153265,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAVPYNJ3Iqqn9YG56ERRuzBhti+0YMZd0NUcNukMvFXPAiBv5/Xju22dTuhsTlddKuWVffKKyFBZ/src4cjM+X4aTw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJje2D9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoprw//TvJ6WFl3Xk7w6aBWaD+YJDIT/wY69k3zcIxEOO/AmmYu9hCU\r\nrq+hHrZSqhDHKWJyfIDoK4PEfFwrc4n+rqTXYIFeYQ4/t2CTaNO5UDjMdLYe\r\n5E6KR7nEUF6OsSRw9TWaOGuVLc4CuAs93me4xHH3xs3egjjsF+czbC7Lr/ce\r\nwvaA/Cd3QxlhhzOjP5LUFCu9p6rgaVHUljK/XOgVYdYMhpcnTV/xxNd8GmEL\r\nlCVF6RNiArPwzongYnTYbLLuJn+3su9PcFY31wSpDUNxkA975eZ1wR858rN4\r\nPL/B7yhN41li/W8ZAew+BppIXz5dJz6YcZAtoZdpypggH/gpk4EAcWVYVHzn\r\nUuZWbiwzZ6ad+bTKn5FGt7CZvppVLcfrixkCPacAVXYPC7bil7d1olqimI/6\r\nKKCZGXtnUJ0iRIyE09TcRJI8cyL8MEF6KyhVGV51tsV/LhYSutehm6jxPcMx\r\nLQ/JAcz12IN3+dnNMLGzQ8y38np+BwGVI+NhnBcQ/HMs3DPuCkodb5da37E9\r\nXz+K/8GLLuBBa8UlA0Ahk+RtNyT0zvXAXOPUl33VgWqLrgT3qB4eiFDm7fjS\r\nikw8BPzkkhzPG3D7H1VQcxqMH1Y6I3TEW1TAyRt/o826jg7IHbfZQdik7unz\r\nsM/4plUp+VArE8oeSew9Rf2i0JeH3Psq+LA=\r\n=zxku\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-typeorm_0.34.0_1669030141391_0.0254942762507977"},"_hasShrinkwrap":false},"0.35.0":{"name":"opentelemetry-instrumentation-typeorm","version":"0.35.0","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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-all-versions":"tav","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require @opentelemetry/contrib-test-utils","test:ci":"yarn test-all-versions","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","is-promise":"^4.0.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","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","reflect-metadata":"^0.1.13","sqlite3":"^5.0.2","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"c539814a11ce53629195b0c3b017ab2ab7046511","_id":"opentelemetry-instrumentation-typeorm@0.35.0","_nodeVersion":"14.21.3","_npmVersion":"lerna/3.22.1/node@v14.21.3+x64 (linux)","dist":{"integrity":"sha512-7hBE3olNNBy0gGWH+Fx/TuYbPKOC+yAIucG9bUJ/wT1xeD0ZR6CtZZMQjyN4eDLVZ0ay+3BLguWbBJAbtARWSg==","shasum":"e7f9dac0a1b1773a63a84ae1db9d13d525cf3031","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.35.0.tgz","fileCount":43,"unpackedSize":153525,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDVvlUjCoyaKxcnGkozNYCBmbzfRZkrfYVCv3KjRtHrHAiEAli9aedUNJ2Upl9FeqT5QgTlz9A6XUa3VXr9M3LCHmqc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/wooACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoyYBAAnourjDn9l+KF8r371vbrZYJU05nXeGNIEuO2j9+cdxfAOa8u\r\nNzFdYb9+mth5anLD9XrAJSGcHpbYgV4LT+HqpnV68dvYDdDa18B4oZzoHN+d\r\nxpU1MaRb51ZIGtbn4rSH99btmv2xI0/Fw0eT75kxyiy9UGHM9GlLBgqMo6GD\r\nLofaeHzEvWfo9Wm6U3aKdk+QLx4Ob+7D+vaYCsk/UOzrrJ5bPJogjz888Mjo\r\nUg1r2SCr45xtut2LNKT2egua8++ROi7NnY28VccpYxLo3fyqVh8qwkIaMzE8\r\npySmzyikaf3PxAapG+uRTsKgvsf5wxFlSWnx5WAgLu3A5Gwg2nmOs65YY1jn\r\n5J508bXLnWpKewXsPlM5MZ5kHhmmwmwExhv6vPC9K/ajIB7LjXqsuE+d0FUH\r\nKtk42a1zJ62hd0y2Nz61+Ew6RQmC/JcjgadaY7mgpE04Aygo100foUCm0vfU\r\nAviRh5dzWEj88aZDNDheEmymtfGtTK6ZLxOqEj4aJNj6WtiQdgur6Z21ygKH\r\nxlYrkzLkX1LAxVqz/pHoAWR1rHsuk1fXQhrmDkesa7U528sbtJvXqOhZqNmj\r\n2cjKobG4d/lxS6I+C0nCyjCAFgttI1gm2ko61C5keDjxonp7NRN0ETB1iXRd\r\nhqF26kBMg+38tlhpMWr/ttd9sPB11FEvq6w=\r\n=ULUU\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-typeorm_0.35.0_1677658663927_0.10010253082754095"},"_hasShrinkwrap":false},"0.0.0-2023-07-26--14-48":{"name":"opentelemetry-instrumentation-typeorm","version":"0.0.0-2023-07-26--14-48","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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-all-versions":"tav","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require @opentelemetry/contrib-test-utils","test:ci":"yarn test-all-versions","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.13.0","is-promise":"^4.0.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","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","reflect-metadata":"^0.1.13","sqlite3":"^5.0.2","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"67eb37b2cfe933c3a1b9dacec4691403e5b4b240","readme":"# OpenTelemetry TypeORM Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-typeorm.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-typeorm)\n\nThis module provides automatic instrumentation for [`TypeORM`](https://typeorm.io/).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-typeorm\n```\n\n## Supported Versions\nThis instrumentation supports `>0.2.28`:\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 { TypeormInstrumentation } = require('opentelemetry-instrumentation-typeorm');\n\nconst tracerProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    typeorm: { enabled: false, path: 'opentelemetry-plugin-typeorm' }\n  }\n});\n\nregisterInstrumentations({\n  tracerProvider,\n  instrumentations: [\n    new TypeormInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### TypeORM Instrumentation Options\n\nTypeORM instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `TypeormResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\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 | Typeorm operation use mongodb/postgres/mysql/mariadb/etc. under the hood. If, for example, postgres instrumentation is enabled, a postgres operation will also create a postgres span describing the communication. Setting the `suppressInternalInstrumentation` config value to `true` will cause the instrumentation to suppress instrumentation of underlying operations. |\n| `enableInternalInstrumentation` | boolean |  Some methods such as `getManyAndCount` can generate internally multiple spans. To instrument those set this to `true`|\n| `collectParameters` | boolean | set to `true` if you want to capture the parameter values for parameterized SQL queries (**may leak sensitive information**)\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-typeorm@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-7TlImaCspodxtNoC7oSDm8SflbzZyRkxz74d7orcc0hjR/JLiQKVEYuyXN0+hHkRj8IQcLPAyKO6+gPrXsfEcw==","shasum":"c6131816bd858a02ce30a94da9d7684a2d1d9641","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.0.0-2023-07-26--14-48.tgz","fileCount":43,"unpackedSize":153598,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCew64IllUzmEYdyC6SQLwvr6EgJKBaOwNWgUY3XANtFgIgQ5rtH0YAEbQ7pS6rkkCWshLk7loXO9jVgCcUkqOmInE="}]},"_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-typeorm_0.0.0-2023-07-26--14-48_1690382947189_0.9189763162361517"},"_hasShrinkwrap":false},"0.35.1":{"name":"opentelemetry-instrumentation-typeorm","version":"0.35.1","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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-all-versions":"tav","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require @opentelemetry/contrib-test-utils","test:ci":"yarn test-all-versions","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.13.0","is-promise":"^4.0.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","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","reflect-metadata":"^0.1.13","sqlite3":"^5.0.2","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"7a6ce9bbc0917c740a78637e97a5eeeca21c441a","_id":"opentelemetry-instrumentation-typeorm@0.35.1","_nodeVersion":"14.21.3","_npmVersion":"lerna/3.22.1/node@v14.21.3+x64 (linux)","dist":{"integrity":"sha512-8iYu/qL8k1+LxGMfKtH1aa3wUr1eR/k7TDmpkWOzzQuyOyEw8D5D4huT1/mrksI2rvTR4C7/0pu/vLZ9lPBoUA==","shasum":"79ef68c0e8a97099603815936b1c0be472db13c7","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.35.1.tgz","fileCount":43,"unpackedSize":153789,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCA9PdqVgeXrmlfM4rN701QKaWhkJrxRmufCSCfefyPPQIhAOY+4ZMN3dMfmNWujVQHBy975J2vd0wdrcWqCuKxY5yU"}]},"_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-typeorm_0.35.1_1690457705362_0.20756120961293667"},"_hasShrinkwrap":false},"0.39.1":{"name":"opentelemetry-instrumentation-typeorm","version":"0.39.1","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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-all-versions":"tav","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require @opentelemetry/contrib-test-utils","test:ci":"yarn test-all-versions","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.13.0","is-promise":"^4.0.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","opentelemetry-instrumentation-mocha":"0.0.1-rc.7","reflect-metadata":"^0.1.13","sqlite3":"^5.0.2","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"8083e6c2c9a25ef82bd43a766d93732c60dbd674","_id":"opentelemetry-instrumentation-typeorm@0.39.1","_nodeVersion":"14.21.3","_npmVersion":"lerna/3.22.1/node@v14.21.3+x64 (linux)","dist":{"integrity":"sha512-RZYFMXnGy74XDkwLlvd6BKeDDyMiygkIWN9kzsPbSc0KDbM8qiTzcfdUWP3ahhn3fSTy4FQ4UOgLQnhejX3FiQ==","shasum":"ed922dafbd7aa3ed5da06bcabbae82a17869283e","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.39.1.tgz","fileCount":43,"unpackedSize":154050,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEBikOW2L9UKDeGnr4ft/kAoTbdL3j0JB4cujJz+KvpHAiAQ3MmF5un81gnSgP3daK3ngQUyT2qVHWFAuOoYzqR6Gg=="}]},"_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-typeorm_0.39.1_1690459772112_0.22004707432933301"},"_hasShrinkwrap":false},"0.0.0-2023-10-17--13-06":{"name":"opentelemetry-instrumentation-typeorm","version":"0.0.0-2023-10-17--13-06","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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-all-versions":"tav","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require @opentelemetry/contrib-test-utils","test:ci":"yarn test-all-versions","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","is-promise":"^4.0.0"},"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","opentelemetry-instrumentation-mocha":"0.0.7-alpha.1","reflect-metadata":"^0.1.13","sqlite3":"^5.0.2","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"f8da552adae250e08f2062df741972440df3ac97","readme":"# OpenTelemetry TypeORM Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-typeorm.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-typeorm)\n\nThis module provides automatic instrumentation for [`TypeORM`](https://typeorm.io/).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-typeorm\n```\n\n## Supported Versions\nThis instrumentation supports `>0.2.28`:\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 { TypeormInstrumentation } = require('opentelemetry-instrumentation-typeorm');\n\nconst tracerProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    typeorm: { enabled: false, path: 'opentelemetry-plugin-typeorm' }\n  }\n});\n\nregisterInstrumentations({\n  tracerProvider,\n  instrumentations: [\n    new TypeormInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### TypeORM Instrumentation Options\n\nTypeORM instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `TypeormResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\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 | Typeorm operation use mongodb/postgres/mysql/mariadb/etc. under the hood. If, for example, postgres instrumentation is enabled, a postgres operation will also create a postgres span describing the communication. Setting the `suppressInternalInstrumentation` config value to `true` will cause the instrumentation to suppress instrumentation of underlying operations. |\n| `enableInternalInstrumentation` | boolean |  Some methods such as `getManyAndCount` can generate internally multiple spans. To instrument those set this to `true`|\n| `collectParameters` | boolean | set to `true` if you want to capture the parameter values for parameterized SQL queries (**may leak sensitive information**)\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-typeorm@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-HSU2Y7dS13ONH+tBouty8qjwdBqYA39uAoDyUWN4NLMNH0Sk5nWmutDVSYzMHbYPLEGg7ztdhr9oe7R7hH6g1A==","shasum":"41f9665b85772fca87391c0a16b2678e5569f8ad","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.0.0-2023-10-17--13-06.tgz","fileCount":43,"unpackedSize":154124,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCxRBhvcX+6zWkYHXvsZ6y1GNQdU4Rh/kSyXM4lVrRptQIgVRvmCaHXiBjVqYLujbPGWIbA0C2jWN0g0nLLvFCSuGQ="}]},"_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-typeorm_0.0.0-2023-10-17--13-06_1697548071910_0.1609844675386245"},"_hasShrinkwrap":false},"0.40.0":{"name":"opentelemetry-instrumentation-typeorm","version":"0.40.0","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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-all-versions":"tav","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require @opentelemetry/contrib-test-utils","test:ci":"yarn test-all-versions","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","is-promise":"^4.0.0"},"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","opentelemetry-instrumentation-mocha":"0.0.7-alpha.1","reflect-metadata":"^0.1.13","sqlite3":"^5.0.2","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typeorm":"^0.2.26","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"3be217b8c6c8a6ae41486c51453781732c2c3ea3","_id":"opentelemetry-instrumentation-typeorm@0.40.0","_nodeVersion":"14.21.3","_npmVersion":"lerna/3.22.1/node@v14.21.3+x64 (linux)","dist":{"integrity":"sha512-zlCnqDSTwl+Upjgiyoqy4pjk62x2D3xPk5lvC99NNpnztUncISaYT/nRfnfmfNp3xo2XQ2FT9d+5X22m1VKj7w==","shasum":"af420a68457e3d78e885a91588f2835a07857944","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.40.0.tgz","fileCount":43,"unpackedSize":154314,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDnTlHKFCuydieeydWKCQIdYMyN9f6i9j2wT1wL/v1FJQIgX836aU3tn4856YP7YC9o5dSHtyAuO2v7hrrTwogBERY="}]},"_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-typeorm_0.40.0_1697549249386_0.6815904626640272"},"_hasShrinkwrap":false},"0.0.0-2024-05-16--12-47":{"name":"opentelemetry-instrumentation-typeorm","version":"0.0.0-2024-05-16--12-47","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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-all-versions":"tav","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require @opentelemetry/contrib-test-utils","test:ci":"yarn test-all-versions","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","is-promise":"^4.0.0"},"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","reflect-metadata":"^0.1.13","sqlite3":"^5.0.2","test-all-versions":"^5.0.1","ts-node":"^10.9.2","typeorm":"^0.2.26","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 TypeORM Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-typeorm.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-typeorm)\n\nThis module provides automatic instrumentation for [`TypeORM`](https://typeorm.io/).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-typeorm\n```\n\n## Supported Versions\nThis instrumentation supports `>0.2.28`:\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 { TypeormInstrumentation } = require('opentelemetry-instrumentation-typeorm');\n\nconst tracerProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    typeorm: { enabled: false, path: 'opentelemetry-plugin-typeorm' }\n  }\n});\n\nregisterInstrumentations({\n  tracerProvider,\n  instrumentations: [\n    new TypeormInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### TypeORM Instrumentation Options\n\nTypeORM instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `TypeormResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\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 | Typeorm operation use mongodb/postgres/mysql/mariadb/etc. under the hood. If, for example, postgres instrumentation is enabled, a postgres operation will also create a postgres span describing the communication. Setting the `suppressInternalInstrumentation` config value to `true` will cause the instrumentation to suppress instrumentation of underlying operations. |\n| `enableInternalInstrumentation` | boolean |  Some methods such as `getManyAndCount` can generate internally multiple spans. To instrument those set this to `true`|\n| `collectParameters` | boolean | set to `true` if you want to capture the parameter values for parameterized SQL queries (**may leak sensitive information**)\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-typeorm@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-VstlC69UMmTVUKhZByzf4Zcgy6s4U/McOO4MVb7f/Bt8K05n7fwG5bqScCBBOR/S6qdSgPf9dTs6PrG/KbiGFQ==","shasum":"1d8adbc9fe29d48f95bbdaad2349f4b47ed0be8e","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.0.0-2024-05-16--12-47.tgz","fileCount":42,"unpackedSize":143837,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDVMuh43Z+PXgQHW24L5gRUTL7M1vTSZi8kHqwktNxubAiAm+clA7ZqkaMJlS5LvZ/thRayJpwtqkyUptrNa6umzyw=="}]},"_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-typeorm_0.0.0-2024-05-16--12-47_1715863694748_0.2300485738379141"},"_hasShrinkwrap":false},"0.41.0":{"name":"opentelemetry-instrumentation-typeorm","version":"0.41.0","description":"open telemetry instrumentation for the `typeorm` module","keywords":["typeorm","opentelemetry"],"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-all-versions":"tav","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require @opentelemetry/contrib-test-utils","test:ci":"yarn test-all-versions","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","is-promise":"^4.0.0"},"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","reflect-metadata":"^0.1.13","sqlite3":"^5.0.2","test-all-versions":"^5.0.1","ts-node":"^10.9.2","typeorm":"^0.2.26","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-typeorm@0.41.0","_nodeVersion":"18.20.2","_npmVersion":"lerna/8.1.3/node@v18.20.2+x64 (linux)","dist":{"integrity":"sha512-VrOxg0Tm6BYViu/HCzqbAtwjqAfbji/a/CBFrkTVnrBQTUB7eFr83Wg5jtKkuAU3c+IfZy30cpmc0N8XkFC5xw==","shasum":"5026f99455d44cd6fdd454349155af9c0ad3e635","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-typeorm/-/opentelemetry-instrumentation-typeorm-0.41.0.tgz","fileCount":42,"unpackedSize":143767,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJBfFewr86LbdCfKur1IrNY1vATT4oJ0tMCC5YBqi8egIhAJr0Uw/yyxOZ4zT0va6yu2O1CjkHrsyTQu4EKfwAWIpT"}]},"_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-typeorm_0.41.0_1716291583329_0.43537691743127604"},"_hasShrinkwrap":false}},"time":{"created":"2021-02-14T15:22:20.498Z","0.0.1":"2021-02-14T15:22:20.654Z","modified":"2024-05-21T11:39:43.607Z","0.1.0":"2021-02-18T11:14:14.739Z","0.2.0":"2021-02-18T15:06:42.357Z","0.2.1":"2021-03-01T14:07:47.898Z","0.2.2":"2021-03-04T13:23:35.381Z","0.2.3":"2021-03-15T09:49:50.280Z","0.2.4-aws-sdk-v3.0":"2021-03-16T12:17:36.527Z","0.3.0":"2021-03-18T10:54:07.787Z","0.3.1-otel-v0.18.1.0":"2021-03-30T10:59:08.485Z","0.3.1-otel-v0.19.0.0":"2021-04-27T14:25:21.951Z","0.4.0":"2021-04-28T06:51:06.838Z","0.4.1-aws-import-one-serivce.0":"2021-04-28T10:05:08.503Z","0.4.1":"2021-05-19T12:00:57.554Z","0.4.2":"2021-05-19T14:17:41.777Z","0.0.0-2021-05-25--13-03":"2021-05-25T13:04:40.062Z","0.0.0-2021-05-26--07-22":"2021-05-26T07:23:15.624Z","0.0.0-2021-05-26--15-12":"2021-05-26T15:13:39.356Z","0.4.3":"2021-05-31T13:41:05.668Z","0.0.0-2021-05-31--14-38":"2021-05-31T14:39:55.657Z","0.4.4":"2021-06-02T11:41:32.705Z","0.0.0-2021-06-07--07-42":"2021-06-07T07:43:46.445Z","0.0.0-2021-06-09--06-50":"2021-06-09T06:51:12.861Z","0.5.0":"2021-06-09T09:12:36.944Z","0.0.0-2021-06-14--13-06":"2021-06-14T13:07:12.731Z","0.5.1":"2021-06-16T09:20:10.122Z","0.0.0-2021-06-17--13-11":"2021-06-17T13:12:21.326Z","0.21.0":"2021-06-20T10:06:26.151Z","0.0.0-2021-06-23--07-47":"2021-06-23T07:48:58.719Z","0.0.0-2021-06-23--08-12":"2021-06-23T08:13:13.916Z","0.0.0-2021-06-23--15-11":"2021-06-23T15:12:44.141Z","0.22.0":"2021-06-28T08:28:52.471Z","0.22.1":"2021-07-04T14:25:03.579Z","0.23.0":"2021-07-05T09:55:05.173Z","0.23.1":"2021-07-14T15:55:08.376Z","0.0.0-2021-08-01--12-54":"2021-08-01T12:55:27.276Z","0.24.0":"2021-08-01T14:16:43.789Z","0.24.1":"2021-09-01T12:38:27.631Z","0.0.0-2021-09-19--10-26":"2021-09-19T10:27:42.697Z","0.25.0":"2021-09-19T12:44:40.318Z","0.0.0-2021-10-20--09-32":"2021-10-20T09:33:09.808Z","0.26.0":"2021-10-26T19:29:49.153Z","0.26.1":"2021-11-29T11:11:58.373Z","0.0.0-2021-12-15--12-47":"2021-12-15T12:48:54.596Z","0.0.0-2021-12-15--13-05":"2021-12-15T13:07:03.018Z","0.0.0-2021-12-15--13-29":"2021-12-15T13:31:15.045Z","0.0.0-2021-12-15--16-17":"2021-12-15T16:18:31.076Z","0.0.0-2021-12-20--13-41":"2021-12-20T13:42:22.358Z","0.0.0-2021-12-21--15-57":"2021-12-21T15:58:42.795Z","0.0.0-2021-12-22--14-33":"2021-12-22T14:36:30.741Z","0.0.0-2021-12-26--12-22":"2021-12-26T12:23:11.828Z","0.0.0-2021-12-26--12-31":"2021-12-26T12:32:59.519Z","0.27.0":"2021-12-27T09:51:05.618Z","0.0.0-2022-04-13--14-32":"2022-04-13T14:32:55.565Z","0.27.1":"2022-04-13T15:40:57.705Z","0.28.0":"2022-06-02T14:38:14.021Z","0.29.0":"2022-06-28T09:38:09.758Z","0.0.0-2022-07-11--08-09":"2022-07-11T08:10:05.714Z","0.32.0":"2022-10-18T10:14:40.384Z","0.34.0":"2022-11-21T11:29:01.592Z","0.35.0":"2023-03-01T08:17:44.084Z","0.0.0-2023-07-26--14-48":"2023-07-26T14:49:07.431Z","0.35.1":"2023-07-27T11:35:05.532Z","0.39.1":"2023-07-27T12:09:32.279Z","0.0.0-2023-10-17--13-06":"2023-10-17T13:07:52.148Z","0.40.0":"2023-10-17T13:27:29.675Z","0.0.0-2024-05-16--12-47":"2024-05-16T12:48:14.938Z","0.41.0":"2024-05-21T11:39:43.458Z"},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"description":"open telemetry instrumentation for the `typeorm` module","homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","keywords":["typeorm","opentelemetry"],"repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"license":"Apache-2.0","readme":"# OpenTelemetry TypeORM Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-typeorm.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-typeorm)\n\nThis module provides automatic instrumentation for [`TypeORM`](https://typeorm.io/).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-typeorm\n```\n\n## Supported Versions\nThis instrumentation supports `>0.2.28`:\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 { TypeormInstrumentation } = require('opentelemetry-instrumentation-typeorm');\n\nconst tracerProvider = new NodeTracerProvider({\n  // be sure to disable old plugin\n  plugins: {\n    typeorm: { enabled: false, path: 'opentelemetry-plugin-typeorm' }\n  }\n});\n\nregisterInstrumentations({\n  tracerProvider,\n  instrumentations: [\n    new TypeormInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### TypeORM Instrumentation Options\n\nTypeORM instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `responseHook` | `TypeormResponseCustomAttributesFunction` | Hook called before response is returned, which allows to add custom attributes to span.      |\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 | Typeorm operation use mongodb/postgres/mysql/mariadb/etc. under the hood. If, for example, postgres instrumentation is enabled, a postgres operation will also create a postgres span describing the communication. Setting the `suppressInternalInstrumentation` config value to `true` will cause the instrumentation to suppress instrumentation of underlying operations. |\n| `enableInternalInstrumentation` | boolean |  Some methods such as `getManyAndCount` can generate internally multiple spans. To instrument those set this to `true`|\n| `collectParameters` | boolean | set to `true` if you want to capture the parameter values for parameterized SQL queries (**may leak sensitive information**)\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md"}