{"_id":"opentelemetry-instrumentation-socket.io","_rev":"43-467e9e5c606dd64800afd577db1c3752","name":"opentelemetry-instrumentation-socket.io","dist-tags":{"alpha":"0.0.0-2022-07-11--08-09","latest":"0.34.0"},"versions":{"0.0.0-2021-05-25--13-03":{"name":"opentelemetry-instrumentation-socket.io","version":"0.0.0-2021-05-25--13-03","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha","test:ci":"yarn test-all-versions","watch":"tsc -w","test-all-versions":"tav","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","is-promise":"^4.0.0"},"devDependencies":{"@opentelemetry/node":"^0.19.0","@opentelemetry/tracing":"^0.19.0","expect":"^26.6.2","mocha":"^8.4.0","socket.io":"^4.1.2","socket.io-client":"^4.1.1","test-all-versions":"^5.0.1","typescript":"^4.2.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":"ts-node/register"},"gitHead":"bd533753ec41cf4673d0393c42ed081d3a4e4f34","_id":"opentelemetry-instrumentation-socket.io@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-BFVJ49mV+c0jyffUQ9vnyLcSN3/C+92xCfDyq6Qd5NQAfJvd6rPo27np7ZNrM+GQzMQiuSkz2ZbVhVsnOz6h4g==","shasum":"1d565c52812442d82f1bf8ebd2b793c9be1b3ac7","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.0.0-2021-05-25--13-03.tgz","fileCount":11,"unpackedSize":30941,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrPXlCRA9TVsSAnZWagAAKz8P/ivykpkj5oA5lLaKaA1n\nnjQAzJ4fwyxMcdzIo43iacI11Qw2fhl7QvT+DR+A2ywgY/v10YcW87C2J4Mj\nbv9Q2SIIhPw5yNlHTMvjMoZGpUJ7cmWXzHTlk3aZ5ZdhlrsbVOaQ2CkFlXfI\nVqxJ0Vup9Tf8Cb3v9568xWVz2SHDPiqxjJOK5r7Qy0ddrj99VXFY7wgLNfri\nd0zi4KuCSZCrdhorTIc0HE0S2BuHL9EaDoziTvCMi2EvoHfo/a1wGX6cszXt\nYAZ1VLtx6fbdnDExhegznwSHv+K5FEiCHxE4MfFzRUHpyA74pyDz7RFJoV04\nW1pGSl/aHovrbJBYAX/gYcH653lj7OYo+zJ6sJQa9l4yw32eBF53fxlLj6JH\njMS07zLe4nLNsUm8w11+O+ATX13gLtm0mUSAe/l99c+nan27y/Uf1BKlQbYG\n8WeIOcNp4ERF0j+ZAWSvyorN4uRMP/FXekN1QDSAgz5UTMxNNSMSzupZrd30\nMmwd6PsP9g5rKGLlD6qdHQwVPbf2c2de9+mIscB5gpJu1PpIdTOwf4A2lkRu\nFtyM5hFz0QQTOGL1kMsrVugyOt4xtlRZChes3u7+Sk+dpnJhXUklFPF+4gKL\nWdKKjPplNvzrd0h2xOB//I1sl/+JjHtI3zW9CrNXzZis2Gak9zuJqi96oHtt\n7/xv\r\n=OrI9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCbwGjPCwH6AHK9fHNBgVkaK9SBX/Uj4nX7vaLBaB7lDwIgTDPy5K+JKQZlZKgMQeSaZOYJIx0TSTgRP3uFUDZbLGI="}]},"_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-socket.io_0.0.0-2021-05-25--13-03_1621947877188_0.9912251925538835"},"_hasShrinkwrap":false},"0.0.0-2021-05-26--07-22":{"name":"opentelemetry-instrumentation-socket.io","version":"0.0.0-2021-05-26--07-22","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha","test:ci":"yarn test-all-versions","watch":"tsc -w","test-all-versions":"tav","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","is-promise":"^4.0.0"},"devDependencies":{"@opentelemetry/node":"^0.19.0","@opentelemetry/tracing":"^0.19.0","expect":"^26.6.2","mocha":"^8.4.0","socket.io":"^4.1.2","socket.io-client":"^4.1.1","test-all-versions":"^5.0.1","typescript":"^4.2.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":"ts-node/register"},"gitHead":"2b31e4e63d0670d8067ee32ba46ce1979d17a6f8","readme":"# OpenTelemetry socket.io Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-socket.io.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-socket.io)\n\nThis module provides automatic instrumentation for [`socket.io`](https://github.com/socketio/socket.io).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-socket.io\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 { SocketIoInstrumentation } = require('opentelemetry-instrumentation-socket.io);\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new SocketIoInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### socket.io Instrumentation Options\n\nsocket.io instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `emitHook` | `SocketIoHookFunction` | hook for adding custom attributes before socket.io emits the event |\n| `onHook` | `SocketIoHookFunction` | hook for adding custom attributes before the event listener (callback) is invoked |\n| `traceReserved` | `boolean` | set to true if you want to trace socket.io reserved events (see https://socket.io/docs/v4/emit-cheatsheet/#Reserved-events) |\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-socket.io@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-x/8e7Zkr82U8AJe7QOkJl/ZeVVCbgNMOLHdsmBoicdPOuFraQglJ8y6NZEWN/E5ZviNl5OV7OFKpX1RcIHr1tg==","shasum":"c12764542f50b0ff4fc4d1559f3c599cf3143265","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.0.0-2021-05-26--07-22.tgz","fileCount":11,"unpackedSize":30764,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrfdiCRA9TVsSAnZWagAAWx4P/2zjItu3BMK9YnsRBOSG\nb9kG0QHJ6q76bTQOkh6V2m5oDCSdZeY+9NjyykS/s5QQ0L60kq9CVDK1f0yf\nT+JrKgb4rW8Mji9u0vWVRHVd0lEUtWzjOZp2uKoUszIbTGToaxafup/ocVZ8\nl41VIf5LNuSCxV1OC1pmSUkGrtN8DnROJXXhcv3i8MZbDX7yhnS98Lml9VRj\nrZZWLIick7MH3LeHZ5sV1jyeO2LToZVfbI7Aof/WeUTLEY7SVW4CM+L2An3u\nfOVFJyZGAV7qKlAQB8CZpqnS+Tm3N2Pv53hW1R3T83b4AVdX92dcY+/NZdvm\nVeRjE5mygqoOyg+6SyrK1ZOCM5eVk+Z8t85RtiK1zWnxeis9KblLWmID9GHO\nIb13O7SQ59MaSB4autLd5nLGUW8knpTAy0mxXKp8ls6QkAudhok2mOfmRVqQ\nW9WVTA8FFWQhANayBvaf6u3UGRGX3PP7W6xO6lnPP0bwbbA0bA0Vnc3kPTHP\nb/lhTFs8tzLBcc9z+PpWDeT55jvsuM587Y9Lu7+nvz2qJ5cndJEnRadsBN5W\nideZJJWF8MIg+mZ4/uUJN8jsUtG+2VixEN+cxE33BTMFxmoAQm1QkrqAS2Xm\nDxmzwKRFLxPyudTfhow4tj6rzXKD7Jksgchl5PjizFk8T0dCr7oGQmFYT1bQ\n8xfT\r\n=Rlqj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXMQMdq77eyCekmX4jYUxZYBv2/DlSrZ1moLZvgMaPDgIhAIrV4VAdCkDD/+MRovBVQ1J47kCezUV3t+oEs5gbTUmm"}]},"_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-socket.io_0.0.0-2021-05-26--07-22_1622013794268_0.09743263411524294"},"_hasShrinkwrap":false},"0.0.0-2021-05-26--15-12":{"name":"opentelemetry-instrumentation-socket.io","version":"0.0.0-2021-05-26--15-12","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn run build","test":"mocha","test:ci":"yarn test-all-versions","watch":"tsc -w","test-all-versions":"tav","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","is-promise":"^4.0.0"},"devDependencies":{"@opentelemetry/node":"^0.19.0","@opentelemetry/tracing":"^0.19.0","expect":"^26.6.2","mocha":"^8.4.0","socket.io":"^4.1.2","socket.io-client":"^4.1.1","test-all-versions":"^5.0.1","typescript":"^4.2.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":"ts-node/register"},"gitHead":"6f64818f1e8c571b9e7341a8f019edb26605ea66","readme":"# OpenTelemetry socket.io Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-socket.io.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-socket.io)\n\nThis module provides automatic instrumentation for [`socket.io`](https://github.com/socketio/socket.io).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-socket.io\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 { SocketIoInstrumentation } = require('opentelemetry-instrumentation-socket.io);\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new SocketIoInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### socket.io Instrumentation Options\n\nsocket.io instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `emitHook` | `SocketIoHookFunction` | hook for adding custom attributes before socket.io emits the event |\n| `onHook` | `SocketIoHookFunction` | hook for adding custom attributes before the event listener (callback) is invoked |\n| `traceReserved` | `boolean` | set to true if you want to trace socket.io reserved events (see https://socket.io/docs/v4/emit-cheatsheet/#Reserved-events) |\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-socket.io@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-TL+VfAyDpAii570MCqJcU226eRC8QtBdB3hgjCMx3pqZ5jwa/xs7Lr1y4pf0FWKObtJybru2NQx14698djG2EA==","shasum":"92d05b4de6a0f5bd27b0567f3fe20b0758930e21","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.0.0-2021-05-26--15-12.tgz","fileCount":11,"unpackedSize":31524,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrmWjCRA9TVsSAnZWagAAQQsP/iVy15l75LuU1MRxwtaI\nreKhKCtbYb3Zq4UowPdoDwTk4Fof0nbQrrhXCZ1kkK1rr6V/Lc7mHh50Joag\nC+mXYxpyz9TZIHPtNH2wgfpyajmP/jzXlk+p2G6lq5dYodrSh43bvltOtvKW\nZQAe6o3oOLooL6wpBlpVkUV+gTWUOJxcNFGRgsQpXLdhdE6KnldYIoX4aysP\nxGo9SNFAlttHdm1HcVkM0FfKYHbm+jSdFAcJt4zqMQwup07zICyyXgwVs0d8\nwyUiZug8/KAnwH9wv79hPk5SSXnLRMQXe0LcSK0YcjFN4CMxZO8JJGmOxwoh\nuv8zwwulJx01i8KYnOFLFJAJMcC/nS2+BWizbVTVFOe23zpCSbQcIC6+U6pf\nbojITSBCtEl3sFC8QgDmRjQ1sbZyghaabX7pIFQ1hWUbvhnM0430LqvTsRs5\ngl8Gp/al8nWObaZoKHlrUas+nPdPbBOVfY7qHL7Fy2fFCDkCQrOCFEuR36Cx\ntcANrfWVAavUzoMdX3y1hH+0pfykj1ZXIOPTAZ21XEM4y4Wdc+fTQz6Q9F1S\nedFlJb1CEgD76IKiG0A6dUWvaWfrUNfxicOFlnEPAMDQbLcwCecfV/TSnRUn\n1ECdYWmDmjXTsOkA/XYN6a3WspnW/sHNBi20L6IXloTw2chKCQZWboCx4zDu\nie7U\r\n=tsfi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDwrzt5h+Cqtd/7TSWZi9uK7Po2IMdvwYHdAL/mV+eMAwIgAT5im8T223v3Y1Xs5IRdbXOOGSTi4mhU2lTxR3Vosmg="}]},"_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-socket.io_0.0.0-2021-05-26--15-12_1622042019100_0.19887800698993807"},"_hasShrinkwrap":false},"0.4.1":{"name":"opentelemetry-instrumentation-socket.io","version":"0.4.1","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn run build","test:ci":"yarn test-all-versions","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","watch":"tsc -w","test-all-versions":"tav","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","is-promise":"^4.0.0"},"devDependencies":{"@opentelemetry/tracing":"^0.19.0","expect":"^26.6.2","mocha":"^8.4.0","opentelemetry-instrumentation-mocha":"^0.0.1-rc.0","opentelemetry-instrumentation-testing-utils":"^0.4.1","socket.io":"^4.1.2","socket.io-client":"^4.1.1","test-all-versions":"^5.0.1","typescript":"^4.2.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"909b2e07091c7a7e88e29438f936bb30b6416c1f","_id":"opentelemetry-instrumentation-socket.io@0.4.1","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-kBK9lu981DefzVZIf4ZwSDu1qlOXh5/0jHoblnbuUOb4dfHFwEt+S1BlQjrzQKe+ekoacN16u/wWUY5q3KWJTA==","shasum":"5b1285a55caae22ebb9e70b874dc9b24c722eb11","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.4.1.tgz","fileCount":12,"unpackedSize":32229,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgt25pCRA9TVsSAnZWagAAAD8P/i9lzTaaAG1pJrWm6B4y\nY2IyFXdiH8mH3cIxqx4+Wgi8vKgfVckBhMb9Skw3xhQdMXFUfpdf0RnveaSi\nU++jy/VkuBLIRjM5aMAkY8HEEpgGKKuqlMD+r4nCGdDevdHIRXNLmbZRXSKt\nE0GyqNHMTKUCMdYPgWhm4Q4bwnlTQplgfH/eyOIR6bdlhMS3LqwG420TO50F\nJpowba0XtFaJu93jXw0KB0mFSmPScp7UJ0q0nAfoWmtvHFApbEDwij6bqyue\ngUtZVhx5YBANsFG4mKiPeZafnLo9ZaK2P4T+n1gnjmiUbwHh/7noE1fb4+65\nnSdG3K6e3RFd/xJzCjWHUMiCcT96anpTU6rOZZ02bKtQ7j6uVc+si5BXY7Uv\n4//cyWZA5cBkKqRFoLDZ0n1ItuinjtyQgjwYUzL2EXSIgxDyMqpSSjbYRp1u\nE4+q0vFmKxHkvx/1AKp+Go+c25nU8jB4mL3lh7WdVdesZ2lLKsSMZrrT3ROk\n/77kjKjbQR/l8gvOr9NM6r76nwqyn2EIm+0lbuto5DtsiXuqrpKSJccgsS5O\nylGgeCXHcwDLGbqxUL1ZJn0b0RsQIG0eOfpvS3B3Q7QVoUeZhxxLSN0B8Nan\njoGYNpk2XtaVsCwuXutUlc0s30bbZnhVPtXqYNWAzUM9rnUzADzabM2xPv1w\nyAPh\r\n=sxGK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFT2nj6VQv9R5ZU/Ex1XcTvoUmCUwpRf49cAUhJcTPy7AiEA0Ckit1JqrgR6Eu0zcwmvAWm/kvXivq0+p/ABfnP7aaI="}]},"_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-socket.io_0.4.1_1622634089069_0.2473765613266805"},"_hasShrinkwrap":false},"0.0.0-2021-06-07--07-42":{"name":"opentelemetry-instrumentation-socket.io","version":"0.0.0-2021-06-07--07-42","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn run build","test:ci":"yarn test-all-versions","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","watch":"tsc -w","test-all-versions":"tav","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","is-promise":"^4.0.0"},"devDependencies":{"@opentelemetry/instrumentation-http":"^0.20.0","@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","socket.io":"^4.1.2","socket.io-client":"^4.1.1","test-all-versions":"^5.0.1","typescript":"^4.2.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"bb0e4af3e4a101755c22fdb692be07a6ddeef51d","readme":"# OpenTelemetry socket.io Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-socket.io.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-socket.io)\n\nThis module provides automatic instrumentation for [`socket.io`](https://github.com/socketio/socket.io).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-socket.io\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 { SocketIoInstrumentation } = require('opentelemetry-instrumentation-socket.io);\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new SocketIoInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### socket.io Instrumentation Options\n\nsocket.io instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `emitHook` | `SocketIoHookFunction` | hook for adding custom attributes before socket.io emits the event |\n| `onHook` | `SocketIoHookFunction` | hook for adding custom attributes before the event listener (callback) is invoked |\n| `traceReserved` | `boolean` | set to true if you want to trace socket.io reserved events (see https://socket.io/docs/v4/emit-cheatsheet/#Reserved-events) |\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-socket.io@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-mc5KryXylGFL1I4creiysFs2YO24aas25Bb7Vc3w72+xu4tJz6gMS1WCnljIZ98wHwF8y9iYmp1LL67ACtWuhQ==","shasum":"5894eacf88073b1641e3a30a6abe67afcf02b8c5","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.0.0-2021-06-07--07-42.tgz","fileCount":12,"unpackedSize":33605,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgvc4vCRA9TVsSAnZWagAA+LMP/3ji2c4UzdPWHI48+Uvy\nIxBUUdnQCw+rh0uOscRsPdDwY0Nd5sfDDTY0EYPNcjgDl1nsNELJ/7WP0fvq\n/BypiBBY+BEdRg+y9MDqpaHDlw8kKQWsW9qTw43cUV8TkzI6H1KcJq5znyxF\n9vA3REFtgJ6qOOUuBoQhP7K5XyiIekn6vSVp6Syya8kajYPB9A9nKDYX73Wo\nqpQHmEgjwgk8lpYtQGBXnLWTplTCXXdlLvdZESEbm7Ji1bezQ+purUCPN5xJ\naQGqWc754XZFE5gX0npvjL+PcQiIWZD8S/M3pP4R9CIWY2ZBl7Gk4p8H3BoG\nhDfgBRK6yT04cVs9wDOtD9mvWHKKucnkhTurTAbc8lUqAukOb3gi95zEumoc\nEP2KB+y3oA3qOQK6AjDzNMovufkioM9OsAYABiJ/cpd27nEQmW2PzAYmT503\noqexLULBZC9mtUa9ow8mAmQ3ALxW8Kzxhc4LW8G3cwX9kF7UJ3hqXzQoH7aF\n+Oi4vu4BgRK7/st3a+nS2yxW8qXNEw00QdU8gDnNZogneijvevlbchKvI5nC\n8tRj3gFWYNZq9gWrPvZp+bfXaq7+nfTpYkvorJCsh6exN2hp7JWKMN4bN4rr\ny++B3M+9kBSFlcHqqhWSrBdJ//disvhTQi4KjvqMketC+8BcnmZYNvhLuBRl\nl8uh\r\n=glJf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCp0jB0FruMPmI3xM0HK7H1wnQjiqTMTWztPe6qbdijKwIgcSLepZ9Plzva056we4OqeyGlpdccLMyAvpA9op7dIsk="}]},"_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-socket.io_0.0.0-2021-06-07--07-42_1623051823640_0.4067454017677128"},"_hasShrinkwrap":false},"0.0.0-2021-06-09--06-50":{"name":"opentelemetry-instrumentation-socket.io","version":"0.0.0-2021-06-09--06-50","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn run build","test:ci":"yarn test-all-versions","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","watch":"tsc -w","test-all-versions":"tav","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","is-promise":"^4.0.0"},"devDependencies":{"@opentelemetry/instrumentation-http":"^0.20.0","@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","socket.io":"^4.1.2","socket.io-client":"^4.1.1","test-all-versions":"^5.0.1","typescript":"^4.2.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"89781f894dff1488c9794fd361dea0b63f4c9be3","readme":"# OpenTelemetry socket.io Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-socket.io.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-socket.io)\n\nThis module provides automatic instrumentation for [`socket.io`](https://github.com/socketio/socket.io).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-socket.io\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 { SocketIoInstrumentation } = require('opentelemetry-instrumentation-socket.io);\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new SocketIoInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### socket.io Instrumentation Options\n\nsocket.io instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `emitHook` | `SocketIoHookFunction` | hook for adding custom attributes before socket.io emits the event |\n| `onHook` | `SocketIoHookFunction` | hook for adding custom attributes before the event listener (callback) is invoked |\n| `traceReserved` | `boolean` | set to true if you want to trace socket.io reserved events (see https://socket.io/docs/v4/emit-cheatsheet/#Reserved-events) |\n| `filterHttpTransport`| `HttpTransportInstrumentationConfig` | set if you want to filter out the HTTP traces when using HTTP polling as the transport (see below)\n\n#### HttpTransportInstrumentationConfig\nIf you use `opentelemetry-instrumentation-socket.io` alongside `instrumentation-http`, socket.io might use HTTP polling as the transport method. Therefore, you will see an HTTP span created as the parent of the socket.io span. \nTo filter out those spans; we use HttpTransportInstrumentationConfig.\n\n`HttpTransportInstrumentationConfig` has a few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `httpInstrumentation`| `HttpInstrumentation` | the instance of HttpInstrumentation you pass to `registerInstrumentations`|\n| `socketPath` | `string` | the socket.io endpoint path (defaults to `/socket.io/`) |\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-socket.io@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-elGm5tknncHrRBVxWsQjf9/lq677d+wxz4mIjerYjlZtXShQ3RGudx5Mnhaw1n5jF43iKMOEXTlkoifC+incbQ==","shasum":"abbd06a063179290f82b80cb109168e92e30e1b1","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.0.0-2021-06-09--06-50.tgz","fileCount":12,"unpackedSize":34658,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgwGTdCRA9TVsSAnZWagAA1bkP/jQezJYY2iNnniW7X7ZY\nfILqEk/xGT0amgv5IcLp7tqCwjbbDvmoZ797RfBbkEP2878UjBlSaDIQArsM\n7kK+485usdg+4oPD4s+1InhyuXBFhKIDcxGt7rQoQ2fnFIbZU1EsnpkRUpZE\nQwXJeMpRW2tc1j6YzpKDt2q8lugRF6J4FewVF9442qBt39f+l4HUTbV5JHIe\ni/FSL/9A1UxkM1nNr4Cd0i2ZfqOEt4zb8XF7ootTXyEZggPLpkI5LrX5SLXC\nbEdy3LMULxCss+mAjPu77uhZnx+ObCNUAZTTKsOETpBP45wvhIzfE/jbnij5\nreywD1qncqX3j/pDTo0gZgovX1NU2foeA7ZPjxm49+n8bG7VYNuTGiyJOai+\nKnt6NPGM9XApJ5o9CUS0pg4xU2mESN0O8N+dNz/prEIJCb81vE2YR267FS9B\nZAqrHadDDrOyeemw2wXltVRCxLW40700z6EMxtcN+9JEOzak8kYvFCSBrrWX\nvT4isMxEjzCi45Q2oLeftW7bCINBDlj+r5LO+Z+KYiUWHOVkpCdO3a4wGnP2\nH54dBgATnDdJvEzEte703agoSK5c7IynNfccu2EoHJAGUsbcmVX68XtzDOnM\nlg4X6DknhSdl8QBxOuGYrnJGtInh2fjsmXGTOUaPQ/UmH9gMBPOAT3LVaxvo\nJCkE\r\n=xNR8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3g8TKqU8rLkFP1v0rR+CcT6UJvIPmwyc1ipBt+xunWAIhAJ6ROW9vf1ZblhBOflCai2cwMk+lQEY8dXi2TftxuMIU"}]},"_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-socket.io_0.0.0-2021-06-09--06-50_1623221469043_0.7100843882221746"},"_hasShrinkwrap":false},"0.5.0":{"name":"opentelemetry-instrumentation-socket.io","version":"0.5.0","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn run build","test:ci":"yarn test-all-versions","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","watch":"tsc -w","test-all-versions":"tav","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","is-promise":"^4.0.0"},"devDependencies":{"@opentelemetry/instrumentation-http":"^0.20.0","@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","socket.io":"^4.1.2","socket.io-client":"^4.1.1","test-all-versions":"^5.0.1","typescript":"^4.2.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"5d2d40dae3dde329743437740a7987ac53e7814d","_id":"opentelemetry-instrumentation-socket.io@0.5.0","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-1R3Buacq67CkawGlP5j5r7X9CM/oXz0X3RJjm2nc1J+3qndQiGhMSXUNQ2iFxztIMSbjl3qQbE424HoD/luSmQ==","shasum":"56b359a812f97f78c61b09895e2b9d5a5eef554a","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.5.0.tgz","fileCount":12,"unpackedSize":34849,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgwIYBCRA9TVsSAnZWagAAXC8P/jexZinljRHyC5Hbczve\nMc4xXQYBQa4Sue4SVLIq9/vOdZbLQiaczT2PsNUbTc/b3cTTk2mhSeIBYmoC\nkBgRuKysKhfOjDwcQDQFGkupADDrV2edjeV3sAaI2TFoYUpp9x9uhbTpBfGO\nAwDaea+Dy6lvnfgQ3rt8SQ3mtxctNfPzlwxSpyOzdWlmGHdOWuqSb3+WuMcx\nbmj39qI/+5ORL2jOx3244WZN8hx1M6JSo3F2xwj9E8Tux0sgq5yQDuupbYiX\n5+3k91aRcqmJzxQ7v2MvdI/+cmcWt2KErRDdBdci2vM7TZn1+o5Iu0R/BXQO\nao9SEwa3wuu3ZGC5+m9+X2B46B79F7jmGXXiC5FPueuYXAMStEYClcPdYLTZ\nXp0iFNH47MvajGmyiamchNiZ2HoFTm/r6qxNgDsbG806vXBIGtkTxqQC9cpa\ndlSPT1VITX7jreB8AK36wB+OsBi3iXxU28bX8q1tHFVvGB289BDwl0tMtmbi\nbkIGdHR3vBdUnIbPWrWnlfPN2hPvSvVC1DXhPw5BgcSvVUxBij3d7e9lCEKT\nZE0TMGY8mt/s8ma8jvh9QeiX+QYC7lXMGqRx05Jt8AOEkqzGQZBeht5PUpES\n8uK1Uf5aLqbP5dPjPGOV8s+LA2NusfIwZHIiD2+G9nKD2mGsmGnEYRZF/Bpi\nwRnp\r\n=sEvn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGFwkcTkz+17WmJ/xp0QORLPRIO2oCpdAJhUUq2Es9TyAiEA34+o7d8wXJAloccMRti0AsKk71/VnnorldWU1+Xdn+c="}]},"_npmUser":{"name":"aspecto-release-bot","email":"dev@aspecto.io"},"directories":{},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentelemetry-instrumentation-socket.io_0.5.0_1623229953426_0.13185268755168256"},"_hasShrinkwrap":false},"0.0.0-2021-06-14--13-06":{"name":"opentelemetry-instrumentation-socket.io","version":"0.0.0-2021-06-14--13-06","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn run build","test:ci":"yarn test-all-versions","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","watch":"tsc -w","test-all-versions":"tav","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","is-promise":"^4.0.0"},"devDependencies":{"@opentelemetry/instrumentation-http":"^0.20.0","@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","socket.io":"^4.1.2","socket.io-client":"^4.1.1","test-all-versions":"^5.0.1","typescript":"^4.2.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"7c1bec0d45e4e1729da931048881068dd80a4b90","readme":"# OpenTelemetry socket.io Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-socket.io.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-socket.io)\n\nThis module provides automatic instrumentation for [`socket.io`](https://github.com/socketio/socket.io).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-socket.io\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 { SocketIoInstrumentation } = require('opentelemetry-instrumentation-socket.io);\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new SocketIoInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### socket.io Instrumentation Options\n\nsocket.io instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `emitHook` | `SocketIoHookFunction` | hook for adding custom attributes before socket.io emits the event |\n| `onHook` | `SocketIoHookFunction` | hook for adding custom attributes before the event listener (callback) is invoked |\n| `traceReserved` | `boolean` | set to true if you want to trace socket.io reserved events (see https://socket.io/docs/v4/emit-cheatsheet/#Reserved-events) |\n| `filterHttpTransport`| `HttpTransportInstrumentationConfig` | set if you want to filter out the HTTP traces when using HTTP polling as the transport (see below)\n\n#### HttpTransportInstrumentationConfig\nIf you use `opentelemetry-instrumentation-socket.io` alongside `instrumentation-http`, socket.io might use HTTP polling as the transport method. Therefore, you will see an HTTP span created as the parent of the socket.io span. \nTo filter out those spans; we use HttpTransportInstrumentationConfig.\n\n`HttpTransportInstrumentationConfig` has a few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `httpInstrumentation`| `HttpInstrumentation` | the instance of HttpInstrumentation you pass to `registerInstrumentations`|\n| `socketPath` | `string` | the socket.io endpoint path (defaults to `/socket.io/`) |\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-socket.io@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-JVCcdx6DudaneOkDiIIpl+KFhShoVgjdGijFdGnl0MhijmPP0OSxfdNe/bbs1cH2nDGTWBBjjvd3+Up/l2HlWg==","shasum":"635a6262fd99d4313ae9ce20ed6f65aa509c0b75","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.0.0-2021-06-14--13-06.tgz","fileCount":12,"unpackedSize":34921,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgx1R+CRA9TVsSAnZWagAAmPcP/i72meNSvUoRHBbYIRNG\nwiLYjjSjp4kg0uL1hQvd6R39SzREZMRXqkKeJYI+d3E6gisNtXZ0VcUD6OYi\nf6H3mO3DOWSp9OPwBLyl1drGNaIwLLmbbi9Bl6z3L2kG+Xb6D53lgKUWmIOy\nf4y2cnDdsrv/FxncMvbbSNU3CUVjxkp3VfCVP81MJOhqhNgMVnh4xRJY+Loo\ns4qqa97IfPHXiKMrM7DsnG4tEc5pCwa3gHC3JkoYU6rm+eBsrontdiBA+anI\nACFBb53YhVPWYdNNfpG6+V0FXAJuS0R+IlTKrKTQiOx9KI3zy7AfWJxVpwgj\nIRd8q9MhxFqUS3bmOKqYeDPx6Dwgwqce+rFhHo1cLT3TiaQa2COM8MyOj+u4\n1Lx12nixPG3ZpTuN9vac9hWnV58nZXTREgrlViZPwP4BNJKnlbN74XZxlaYj\nme9IpNJVrR0V+37LNElfb2ScF4vcaTiuIv/xS9/cCvZqsCFUwkTtKZqzTt0W\n1JBQhCsb0+D8t2232kWMv5HxrxLHeYRKxCF+5K0STG6fkFdVQIZbTm7A9+hw\nmwvalbo/mR9UlY2/lsbjYFN3QrTr1SI0ckcDM86PBQbc/1XJoOWXmm8z6et9\nZi7AADYFt07Aw7oUXM1ka0znA068KIWQDt2Qbaz8Hn/m44MX1JruuHTz6SAK\nmNke\r\n=aSrM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDP+LIVshm25mZ+ctNAop48/UhIXt+xinwE28lipbD2WwIhAKUQBSlKFpI/nL9Zn4ol/s2vhQPo56mFf0Q1QNVRkOxo"}]},"_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-socket.io_0.0.0-2021-06-14--13-06_1623676030141_0.08837618428579996"},"_hasShrinkwrap":false},"0.5.1":{"name":"opentelemetry-instrumentation-socket.io","version":"0.5.1","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn run build","test:ci":"yarn test-all-versions","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","watch":"tsc -w","test-all-versions":"tav","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","is-promise":"^4.0.0"},"devDependencies":{"@opentelemetry/instrumentation-http":"^0.20.0","@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","socket.io":"^4.1.2","socket.io-client":"^4.1.1","test-all-versions":"^5.0.1","typescript":"^4.2.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"5922581fbe66f3590eeabc9e1983e33fc1ab3021","_id":"opentelemetry-instrumentation-socket.io@0.5.1","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-SyfibJAGmarwlGRAe/YzCaBGA5JFEFccNyTL1UOm/5DnPxivc4DtvLxSq3xVaElcfj+bh4JQpft+W17lQknhyQ==","shasum":"1f426a661ac7d48f8dd5754b86488cb4995998dc","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.5.1.tgz","fileCount":12,"unpackedSize":35302,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgycJHCRA9TVsSAnZWagAA7kMQAI46pspCfGlQqFy3aUPq\nJkK6scusu3jfiOhOv8L4yPUP6D4AgykJOhNKbgVSGUHlyEQU9AqjUDlEVag+\nnM3/mqaqdgbkTQFXaeVns76dgmLo5FERRCWKsMlnyRhfQkfSeLW8Dq6yvHpU\nkbwz6rKkkJ0S13Eg+keGTqCAPqkSFXxW8IRJLVU7V8t6iCH/mEWkid03CQSM\n6SvXiZNw9y2t1X3c3q5VdInhyER+wiEx9RljNN3qbP3MDhg3nwpWI+HSQV6q\nlwt8CaotJmu0rjfOEpcaXP5U05pwE/3H5daRUyWHmT00gDNe8Kuma5A6is1W\neA0d/uDPN76NHxdVmLYTvTjXcYLPZrlPIIRMaopTIa0DFbLUkA5+WY0k+wPv\nm3k+CeYYI/V+YsKRmMuRMuNJLFKyIrBV/xeV2SlnFvQIbEtuSEHjffII0O/e\natdWbh7CEvP2I5KI+knGFVvmQzeBT0HQ0ihRo7S2GkoNc8vlGGnloQnsmP4y\nTuUMMI5PRbToifNWPHlRtVFh+KDExMNT3XRV1GUVO50CuZokFyimej9ffTiP\nClXCiY6rNPgwfyDTK7+lUmtPgAp/+UaIWfRGm60I7LFWz6GrHbtG+W3ZIVU4\nTPuDgPmo/wD4OzcOvaJkLE8zvS3I1biYX86d0Py+ERBABrPx3ufsssxVnDc+\nsjH4\r\n=PNr8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3UOOXzBN3B+xfWui8qOjtCaeVZn/hnJwkWNPQmYxE4AIgW2sNgd+xQl1r+mlIAGr/YAVRmPm/F2lKaMjXM/SO6So="}]},"_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-socket.io_0.5.1_1623835206885_0.5065963457028826"},"_hasShrinkwrap":false},"0.0.0-2021-06-17--13-11":{"name":"opentelemetry-instrumentation-socket.io","version":"0.0.0-2021-06-17--13-11","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn run build","test:ci":"yarn test-all-versions","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","watch":"tsc -w","test-all-versions":"tav","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","is-promise":"^4.0.0"},"devDependencies":{"@opentelemetry/instrumentation-http":"^0.20.0","@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","socket.io":"^4.1.2","socket.io-client":"^4.1.1","test-all-versions":"^5.0.1","typescript":"^4.2.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"394b69f3cbe81fb9c51c6571e782f08126d97735","readme":"# OpenTelemetry socket.io Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-socket.io.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-socket.io)\n\nThis module provides automatic instrumentation for [`socket.io`](https://github.com/socketio/socket.io).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-socket.io\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 { SocketIoInstrumentation } = require('opentelemetry-instrumentation-socket.io);\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new SocketIoInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### socket.io Instrumentation Options\n\nsocket.io instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `emitHook` | `SocketIoHookFunction` | hook for adding custom attributes before socket.io emits the event |\n| `onHook` | `SocketIoHookFunction` | hook for adding custom attributes before the event listener (callback) is invoked |\n| `traceReserved` | `boolean` | set to true if you want to trace socket.io reserved events (see https://socket.io/docs/v4/emit-cheatsheet/#Reserved-events) |\n| `filterHttpTransport`| `HttpTransportInstrumentationConfig` | set if you want to filter out the HTTP traces when using HTTP polling as the transport (see below)\n\n#### HttpTransportInstrumentationConfig\nIf you use `opentelemetry-instrumentation-socket.io` alongside `instrumentation-http`, socket.io might use HTTP polling as the transport method. Therefore, you will see an HTTP span created as the parent of the socket.io span. \nTo filter out those spans; we use HttpTransportInstrumentationConfig.\n\n`HttpTransportInstrumentationConfig` has a few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `httpInstrumentation`| `HttpInstrumentation` | the instance of HttpInstrumentation you pass to `registerInstrumentations`|\n| `socketPath` | `string` | the socket.io endpoint path (defaults to `/socket.io/`) |\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-socket.io@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-hOJuY0MZNySAnNsDsV2B1yHLgMssO5b2PI4Xl+15Ry+xpwB2rMsA2YMINUOIWCJFnCsrVXRKPNPXh/MAXaV1qg==","shasum":"9b42b700d1ec3b943977cc1dc53a185155a92762","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.0.0-2021-06-17--13-11.tgz","fileCount":12,"unpackedSize":35374,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgy0oyCRA9TVsSAnZWagAAcTgQAJwBSqP7vHMRanQU4S/n\nkzALpDbK113EuDH6c4Lr2XZkB7vCQ0PCxRHqItVZa/ipAOkMt9Y3XjkbCRBF\nE+o+RzxjUdYSQ18zL/NiuDTtBvrNqBPLfdpF4OKsbocdVfRsBhgw5QEIARiQ\nVhBcgi6i2CdIjLlv33pdysox9S1AyCZNvG4oxjJv1ySUYFJScc3Y1s4YO1dv\nZEl0kvdLEoLKc2DuN6LcFt1ZacOb0J5S5P+wcABEqfAWGGW2dbftf6n3g06u\nCEsZwCR44Q9ZDp3AMV+kLZci3Cee4XZnCADYapDFRVKG0ywbd5UnqzkkaoXT\n0agIJfN4jWoRUEFwHlXcpQGA4ZsEkD3Kuf4NCIHlbODKinfE9SdW4mE4bdEi\nc2Wg3ExwbFBo0UUJt+4fxUsiA8ypa0ekF8ThjQGkdqvdbJoQfFCvD60lRtcZ\n/OXMpdOEDxrL12pw4p2ySwM14Pc36tmtjCsFro/lf8Kk3L4V/rGwofHF3YH4\n0ELoUJC3z9pxQlYorWfZhCv8cbERmJkX0oSL1DLPBJbQ0BdRHUK+vkxlvTV4\nVYHZT30mDgYF98sjOWThBzCZbLZtPV686r4eNDdMQnv1Pv0VMJGLW8jXgokF\nRDC2akqu/BLbIBkAZfWfSjbFGREqmekKOISxdQrD7Y/3E3xim4lsgtPsGs26\ngFZy\r\n=VNXK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDRea0cxqYf6xUBi8RiLTBmlxf0TG8NAlHxOhK8nueNlAIhAPK2/GLaK17QelOrMKSZinVzf4+TR6Z/bBZ0XLaKhtd2"}]},"_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-socket.io_0.0.0-2021-06-17--13-11_1623935537640_0.7535506693863294"},"_hasShrinkwrap":false},"0.21.0":{"name":"opentelemetry-instrumentation-socket.io","version":"0.21.0","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn run build","test:ci":"yarn test-all-versions","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","watch":"tsc -w","test-all-versions":"tav","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/instrumentation":"^0.21.0","@opentelemetry/semantic-conventions":"^0.21.0","is-promise":"^4.0.0"},"devDependencies":{"@opentelemetry/api":"^0.21.0","@opentelemetry/instrumentation-http":"^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","socket.io":"^4.1.2","socket.io-client":"^4.1.1","test-all-versions":"^5.0.1","typescript":"^4.2.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"0eb9c76b2bbcf85cb228e2301ce0cc1346076808","_id":"opentelemetry-instrumentation-socket.io@0.21.0","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-kNuH5LVSEJ7t/o+DVMUR1jjADAmP6+x8bpuIIzMHAaSHfhjzvdfX+6Rg3JCLfaTHJ3lGHh6CV8XKaT9sd7PFxQ==","shasum":"f907fec14a3e2f9b23bac42d036658f7dca74016","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.21.0.tgz","fileCount":12,"unpackedSize":35751,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgzxMfCRA9TVsSAnZWagAARq0P/38/6eNPdhatzuEXRHWf\nrYBgbNc3uzSWbUeEg7SW58vy/3jPMQdBfW/5dBWW5VTwhCU3N8sNLKAaYhM/\nENKSKE5fmma5FP/WhmtH5OWYFcO/6J8/KMJuw/wAdqoyExXzqbRJhdMYvHVu\nPIqLHE0sGA1Vmbf1leJWbgMyMLOe+aEV5R6IUtwiq8847nMKv6zDyFrhOdaF\n8Y4ENv10O4a8284aK7Ot2eHEomh/HbG0ePV2bwtXPPy4nKYfVEgMWPN6dzPB\nT4tqpdcZWp94QpoGuKGYS23pmt9rSl8LcHEDl8eH9zhFQIBvjOcp1yfeVS2q\nWeCKvCH6kSEBmT2bF2thTH4i2J+PmP7Tv0Z7paeu6qUZiLN6Wh1nzUccJNNx\ncnS/r+uBW6uh/Jb+dyViAJ5Uv062Hr5INcKLTtU5fvFHwRiNE6BeyEPyV3Xe\ndj49jze4jeefStBFJG1mPphcEmwsdDCR68/KiKrdNSrPCNbFExqLcLmLsert\nlHljyte52Rwfq3wiTTi0DHZ8cF/R8O2GgJD8xlp1MNimNWGWKRA7M6vKrZcO\ny+6HlhNc74oJ0FpSaHkads978jSdRhK8d9Rces7wlDmGWbfl0NyD+v5k+s22\nbFak6H9kKFXFfDAkTLc8oqtXAd4m/37c+sKDfaovmCnKZmawtVL15Vg0O08v\nUKQK\r\n=6LwN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC/GUqoFRy8OqRqIbGCCiFlplOwIfnKQyEGooy+wDL/yAiAeRwcj2ax052G/UzRZlgSvJi/xagFPCJVZ/KHdBrnzHw=="}]},"_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-socket.io_0.21.0_1624183583018_0.09326740789012455"},"_hasShrinkwrap":false},"0.0.0-2021-06-23--07-47":{"name":"opentelemetry-instrumentation-socket.io","version":"0.0.0-2021-06-23--07-47","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn run build","test:ci":"yarn test-all-versions","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","watch":"tsc -w","test-all-versions":"tav","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/instrumentation":"^0.21.0","@opentelemetry/semantic-conventions":"^0.21.0","is-promise":"^4.0.0"},"devDependencies":{"@opentelemetry/api":"^0.21.0","@opentelemetry/instrumentation-http":"^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","socket.io":"^4.1.2","socket.io-client":"^4.1.1","test-all-versions":"^5.0.1","typescript":"^4.2.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"3aa46659e7d7b8cb0038645cab620fce3d08348d","readme":"# OpenTelemetry socket.io Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-socket.io.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-socket.io)\n\nThis module provides automatic instrumentation for [`socket.io`](https://github.com/socketio/socket.io).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-socket.io\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 { SocketIoInstrumentation } = require('opentelemetry-instrumentation-socket.io);\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new SocketIoInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### socket.io Instrumentation Options\n\nsocket.io instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `emitHook` | `SocketIoHookFunction` | hook for adding custom attributes before socket.io emits the event |\n| `onHook` | `SocketIoHookFunction` | hook for adding custom attributes before the event listener (callback) is invoked |\n| `traceReserved` | `boolean` | set to true if you want to trace socket.io reserved events (see https://socket.io/docs/v4/emit-cheatsheet/#Reserved-events) |\n| `filterHttpTransport`| `HttpTransportInstrumentationConfig` | set if you want to filter out the HTTP traces when using HTTP polling as the transport (see below)\n\n#### HttpTransportInstrumentationConfig\nIf you use `opentelemetry-instrumentation-socket.io` alongside `instrumentation-http`, socket.io might use HTTP polling as the transport method. Therefore, you will see an HTTP span created as the parent of the socket.io span. \nTo filter out those spans; we use HttpTransportInstrumentationConfig.\n\n`HttpTransportInstrumentationConfig` has a few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `httpInstrumentation`| `HttpInstrumentation` | the instance of HttpInstrumentation you pass to `registerInstrumentations`|\n| `socketPath` | `string` | the socket.io endpoint path (defaults to `/socket.io/`) |\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-socket.io@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-ZkKrbr0y9beC+JlIFmflY9vbvBliAe01qjwF0dxJNMpLsSGo/D/kHfFSYofb+CeMUgfl7ef8PDJLvK2lMP8biw==","shasum":"7899d2c64da7dd2bac967551d0e79b43700f7493","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.0.0-2021-06-23--07-47.tgz","fileCount":12,"unpackedSize":35819,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0udnCRA9TVsSAnZWagAABasP/A6ssgOH6eeMRE1T5TML\noep4l8idhBrScZq1Ylyw35x24IvYx0rpkp3iLi5oy5LsN6zZdxIjBkFpgvqa\n8WIAiyQ+HXmb3/Ye+sBcmYP1ZhsJwuUwtECxDb+xeruMfkcpcCXBJ117xioy\n3ZILxFIVhxYsmiyVuXciJafvIIExQtuyGAaWtkGwnhjG0V9yCWOkZNfmmKf7\nYa5i/vkOgWMSlgQRFmZQnVSkPOdPNv17ffj4qoscxbiR0Mo9LQr6kev9mbdg\ndDFoKhcv9esrL3XcihcZYYIfh5qwtfCwCDG9CYICEAPgmPSp/oScUO4H0VhN\n4w6wYS84aEYq06ZTLzxFtcr2hO8980gZaGwpfOMdYHqpN8+1YvC++DbxtLBC\nKSvwZZCsqpFgqn4I4L7aaWJVrfZBIecWb9yJ9Qguc6XQjCYb0YzN6Y904aMV\neWDbls775fHc4Xkv622vKa28p2UlPvqgiI5Ewy3zpWmfd2pajtSStviWwk1X\nJCE3196tN4+3rrwJX+QhPmP9bICcIOmp1CjDoTOD+5bmOlZzV++ZdyHt3nwt\nIv3S1IfCIbtDH7iSC7ApacIwp0Fjkf8m6RJhFSDWprRXstYHKMiKM52uY2Jb\nqthZyp2irOo3oW+ed9DT03Y59uW5wbpfxbw37IDEFagDxJ0LGAmTqXQjN4HY\nRAGQ\r\n=pZW8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGp2Vh4CejaaGGghWpydb9XxOON57jXY5OSfLu2j82w7AiEAnS1uTrs43VXLyjeX0sLF37sJvZtq/YgpHtPTtSLNbm0="}]},"_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-socket.io_0.0.0-2021-06-23--07-47_1624434535410_0.1319864865970639"},"_hasShrinkwrap":false},"0.0.0-2021-06-23--08-12":{"name":"opentelemetry-instrumentation-socket.io","version":"0.0.0-2021-06-23--08-12","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn run build","test:ci":"yarn test-all-versions","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","watch":"tsc -w","test-all-versions":"tav","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/instrumentation":"^0.21.0","@opentelemetry/semantic-conventions":"^0.21.0","is-promise":"^4.0.0"},"devDependencies":{"@opentelemetry/api":"^0.21.0","@opentelemetry/instrumentation-http":"^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","socket.io":"^4.1.2","socket.io-client":"^4.1.1","test-all-versions":"^5.0.1","typescript":"^4.2.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"9219abdec94e8dbeb50e61b1c289c60309c0a56c","readme":"# OpenTelemetry socket.io Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-socket.io.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-socket.io)\n\nThis module provides automatic instrumentation for [`socket.io`](https://github.com/socketio/socket.io).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-socket.io\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 { SocketIoInstrumentation } = require('opentelemetry-instrumentation-socket.io);\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new SocketIoInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### socket.io Instrumentation Options\n\nsocket.io instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `emitHook` | `SocketIoHookFunction` | hook for adding custom attributes before socket.io emits the event |\n| `onHook` | `SocketIoHookFunction` | hook for adding custom attributes before the event listener (callback) is invoked |\n| `traceReserved` | `boolean` | set to true if you want to trace socket.io reserved events (see https://socket.io/docs/v4/emit-cheatsheet/#Reserved-events) |\n| `filterHttpTransport`| `HttpTransportInstrumentationConfig` | set if you want to filter out the HTTP traces when using HTTP polling as the transport (see below)\n\n#### HttpTransportInstrumentationConfig\nIf you use `opentelemetry-instrumentation-socket.io` alongside `instrumentation-http`, socket.io might use HTTP polling as the transport method. Therefore, you will see an HTTP span created as the parent of the socket.io span. \nTo filter out those spans; we use HttpTransportInstrumentationConfig.\n\n`HttpTransportInstrumentationConfig` has a few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `httpInstrumentation`| `HttpInstrumentation` | the instance of HttpInstrumentation you pass to `registerInstrumentations`|\n| `socketPath` | `string` | the socket.io endpoint path (defaults to `/socket.io/`) |\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-socket.io@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-MPstvlPts6DdjN5C47QOX2ax6QAPTjE5Y8ifZNBnryJuG35/4+QX0LuLPB73p7ZJZSmbsyn1Unp2ChMPIVXtSw==","shasum":"a3ad15b60b9c4718e0781a10068e09bfbeeadedf","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.0.0-2021-06-23--08-12.tgz","fileCount":12,"unpackedSize":35819,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0u0WCRA9TVsSAnZWagAALiIP/iHxwhGs554PBnDDbuvJ\nPl+IdPRaNI3K2Z7zkh9mlwG9o9PE4iuz6kB6dxCI56T6ZsikCW1igX0Ux9uN\noeFjKBnFNc2TO8PUBpBzzqVphrLeBu4MjxuTV7ktDGx7r0LLcB9sFauG4mji\n0Fy2oRdGj855H56poIiQh8GwF5+qUHkU7Ia5of2CR/idmJHvxz03lnWVTDtD\nC1rUuWTPGmXhGHu91AD8QnCsBnZYpUWFctAWMe0blqKydQcDUXrv514RtYR4\nnL4BwNY8QohsPM7OKRUtzPhU6NHV+L5zik6h7z+bPUsCjA62Epw+J7r14kR0\nEMCd2FCFFOmeAkCiBwusp79VRZifUe0Hgwjd2S88H/mrxbDEWsblu+UIy0Xg\nhatCjPyVf1NHtsQzU0DuzTFlk3e6GpPBROQarcnqCKDTIvKLWGJldkzhY4KR\n/xqY4YZeUhRYlwzqs67qS25gr8PJxyrO/2YheIS1yJGMtl3mBK+tFlAwh+RW\nKkBlP/bUEQ8fiwzjZXxzEROuG/K+E2pITdAzMsE+W7CdqXJQRIpVeAwdEvN8\nwhfAHDsk+XMzTvnfFp/PZaMqJXusPLctuVOVgncwzyIaKjpgigAIDap+p0Oj\ndO0KnU0TF7hlvDIwT52SfehxiuYO8ETFMOhuvLgnXc6YUa5qXhWU/9qg5NPo\nNoNb\r\n=9VVR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICIqHLcmeJubbnnGkmh5vb0DXbaMJ3U9VSDakOhYN52zAiEAoHgP4jzAVLay/dCTnxLCvgMQd4AUoavfLh7S3GfE1cE="}]},"_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-socket.io_0.0.0-2021-06-23--08-12_1624435990076_0.45952707281228466"},"_hasShrinkwrap":false},"0.0.0-2021-06-23--15-11":{"name":"opentelemetry-instrumentation-socket.io","version":"0.0.0-2021-06-23--15-11","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn run build","test:ci":"yarn test-all-versions","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","watch":"tsc -w","test-all-versions":"tav","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/instrumentation":"^0.21.0","@opentelemetry/semantic-conventions":"^0.21.0","is-promise":"^4.0.0"},"devDependencies":{"@opentelemetry/api":"^0.21.0","@opentelemetry/instrumentation-http":"^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","socket.io":"^4.1.2","socket.io-client":"^4.1.1","test-all-versions":"^5.0.1","typescript":"^4.2.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"7faff48d9d7740fef1b799dbbaf1dddc673aa97e","readme":"# OpenTelemetry socket.io Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-socket.io.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-socket.io)\n\nThis module provides automatic instrumentation for [`socket.io`](https://github.com/socketio/socket.io).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-socket.io\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 { SocketIoInstrumentation } = require('opentelemetry-instrumentation-socket.io);\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new SocketIoInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### socket.io Instrumentation Options\n\nsocket.io instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `emitHook` | `SocketIoHookFunction` | hook for adding custom attributes before socket.io emits the event |\n| `onHook` | `SocketIoHookFunction` | hook for adding custom attributes before the event listener (callback) is invoked |\n| `traceReserved` | `boolean` | set to true if you want to trace socket.io reserved events (see https://socket.io/docs/v4/emit-cheatsheet/#Reserved-events) |\n| `filterHttpTransport`| `HttpTransportInstrumentationConfig` | set if you want to filter out the HTTP traces when using HTTP polling as the transport (see below)\n\n#### HttpTransportInstrumentationConfig\nIf you use `opentelemetry-instrumentation-socket.io` alongside `instrumentation-http`, socket.io might use HTTP polling as the transport method. Therefore, you will see an HTTP span created as the parent of the socket.io span. \nTo filter out those spans; we use HttpTransportInstrumentationConfig.\n\n`HttpTransportInstrumentationConfig` has a few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `httpInstrumentation`| `HttpInstrumentation` | the instance of HttpInstrumentation you pass to `registerInstrumentations`|\n| `socketPath` | `string` | the socket.io endpoint path (defaults to `/socket.io/`) |\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-socket.io@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-fC7oqgcv5z2+XSZoVtMWg0DLHynNN1DOlkm4Sa2uz5Ih+YMetWH9LOQZXDLK5NakbLDmMq4nC1u4inPYwGv3kw==","shasum":"d623852eca9c5b2bf40a6957681514ad91fec928","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.0.0-2021-06-23--15-11.tgz","fileCount":12,"unpackedSize":35819,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg009nCRA9TVsSAnZWagAAilgQAKM6FO4L19V+YUBSKsMs\n/kuxxofveE1QGlIHQdXRtBEX8BFnNoxa7cirOzVfa8snKwztV0EMVQ/R5iiL\nPKcaAg+edk0Zsr0DBg/7emWBaXondZc8UDb9OWv/nh7ZYKxYZksCp0IPJ+IG\nIO8CZgnQR+Um3OzuchgEXglGXvj0r3tx2qgcqth0QVAy9NHTzHtasU2CljKQ\n5mQqlsZtRWHDr5djyL1qGh2TL5wW/8g+miJfj389z+RekKPUTLsG8tP6x6SG\nfnP5nG2+UuWbXzIRTa6mTS5XCyNskz3pAewsB5QAER+wyLEp7TQjUdHQBzjt\nptsPzcRjX1LbRF031492V/pM+UxdhuWzqEMYvBMu+JKk8oiIMWgQRJWM1bFw\nRhXxUnFbdsunRP9WSxVy30OprhUGhmOM2YtUHBMxwaBoq7YqVQr5a803vNYG\n0r1FYHQXjlF90lmA3YMyLolmKck7Olyn79sMv4epDDwsux6VGef/kBmc1TUt\nN+fjwdhd0vMnnQ/8TJA3asObfjzq6HCHChSM5FDBgZCmrWlc+EMT6wk+2EyE\n+ANLRNT3RRCPTyq7dSLbbLMDhzPle6DTcVR0TwztRg+0VaKA1BQqCHRLZXwY\nDcQMXIYjvOlBLvFaT4dHAF8bOe23vKETgrFbXf/4Te9wCXf5tOsqLhif3LHe\nJN40\r\n=DAT8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtxg5NdsgrdX8fEkJxsN14sLRBqSZMLLO4HuxX+27gEgIgUtjb+DcniRvT638gnYCj4U24EB73TSITphzI5DfDhWA="}]},"_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-socket.io_0.0.0-2021-06-23--15-11_1624461159436_0.25100238642946504"},"_hasShrinkwrap":false},"0.22.0":{"name":"opentelemetry-instrumentation-socket.io","version":"0.22.0","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn run build","test:ci":"yarn test-all-versions","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","watch":"tsc -w","test-all-versions":"tav","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/instrumentation":"^0.22.0","@opentelemetry/semantic-conventions":"^0.22.0","is-promise":"^4.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.0","@opentelemetry/instrumentation-http":"^0.22.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","socket.io":"^4.1.2","socket.io-client":"^4.1.1","test-all-versions":"^5.0.1","typescript":"^4.2.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"e9f830a131164f45fcfff1a527a0ade411e5e977","_id":"opentelemetry-instrumentation-socket.io@0.22.0","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-DT3Ew2XMzBVpoi4lh+ITnIEZu9uqYRV1CgYgfSoRm6TrKC06u2cQLr5Lvi9c9Z/mAm78KmomkauFSZTqqPoW9Q==","shasum":"428d7bcc1dea1d97c334cf549bef4c3ba2aa9b7d","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.22.0.tgz","fileCount":12,"unpackedSize":36015,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg2YhBCRA9TVsSAnZWagAAlBUQAIHeTa5U8i9RkZZbNt3H\nm7RL5GGuzkSuSWPZqIu4iyC49RqT6hCy327d8KXI/KnSR1SypI01UeuhCK0S\nilmLCo9ruE4SK5HTs8yXPIJSscrE6D2E21GW37av6subzClt9eicU1jtRe+t\niQ5AEc689y3wT06WMMSjhu8rhfTrHqxnMg/xtYcaZJpvYBTgaUQnLjZoxtE3\nldCqmoQ1wJHuEGhsuMtzl+1GvZtNuXi/9oW2GI+ssSBuKqUEquguTH391whb\nrf1xZ5Z+e4gOOEcgqWHZMkmAs19bp26jgsp/gW554YpT6RYJIHySHndHi9xl\nks7RjHcm0Vv8muKy2V6xit920LQeda0seyDQCP/FguTImhFIi2VYnK7aEl+G\naGgYQSYjIzpUzzlrl0jj8CQ/XfSDRr1ggB5jjprFF5UejwBn7CdR/qJ4YA26\nW9PxjEaiFAQiZZU50fFZGvYbqItCVc5ZqYE7U4le+azCr7GIpzsrQSo5buP6\nHiHZ5fFjmgCixx+QATx46xAtL7OdGq3dATXNtpbpJK+S6dWLAnMjlyQXN1bx\nk0mCjbh5DDwmGGnCs28db3jq5QqXh3f+Z0EvafduhYb13bcazqKSU+9eose1\nRVz9yYeXsAMEo4pvzn6Z5hLJBGUCFNeN03jzWDMq9kZA+lW51eu1nHcDc083\nJ7Pp\r\n=f7sr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDb883H7IdiVntaJDh7WB+XX4wb8Vh2Pv61II8WAk7FGAiB1ti1ZHRhx83j11MxSLbZ9HdSvqVe9LnSBUzOyNqgTSQ=="}]},"_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-socket.io_0.22.0_1624868929222_0.5153555316142906"},"_hasShrinkwrap":false},"0.22.1":{"name":"opentelemetry-instrumentation-socket.io","version":"0.22.1","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn run build","test:ci":"yarn test-all-versions","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","watch":"tsc -w","test-all-versions":"tav","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/instrumentation":"^0.22.0","@opentelemetry/semantic-conventions":"^0.22.0","is-promise":"^4.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.0","@opentelemetry/instrumentation-http":"^0.22.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","socket.io":"^4.1.2","socket.io-client":"^4.1.1","test-all-versions":"^5.0.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"1b95f429902c848b03570501648d88c82ce78d46","_id":"opentelemetry-instrumentation-socket.io@0.22.1","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-UAXjUmF6Dt5Oz/4Gh8MkPdnihXhrEMdBv4VqZplI2DaLz4F1p+QaODomAk3kPoYfdbbLQNUA04Yj7CcWMVN2Kg==","shasum":"90c6c314a4c62651d1b1d3636ea667fb161cca52","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.22.1.tgz","fileCount":16,"unpackedSize":60026,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg4cS9CRA9TVsSAnZWagAAs8wP/36Ty17Ou07HQ5pSAVM0\njhHJzU3w8cY3CU1QuTF02KFpKcv/xSl9PAc92naeqLT99NdYxyRdlCj0C2rq\nTUMMgq/NovOhQY4zCVi7XAn2xfjnoD/FNYKBR5hQSmD9uoFcZ0L/3U2s5rEa\ntcyZfdx9wDygmx8QJGqf04+E1xLvhAPEuGhLgyq1KFFk4ltZiub8HR4f8wIF\nVhc6R8U/qOIN8bK0xXWLIcxilZTV5xGun3wJ+EFep/kuEkGQdkDgTNGjj120\nvnLvm6hPJ+JAD0/KndKRYgSiz580Vugz4U+AIUnO/uEHBCoE9oo3p97cxGdi\nIANMPW8pyoqyA4GiMJmJdLwXAZlWdk3PhUjwjZuEDl4nPZ7iORapEi6D4ZzE\nwaAK17XWOiHEfECYxsQPvo9E0N4FDzKyBvwyXcclz3dWovf39/UcjSNJWavj\ns6WQNfmSaRdaUEwiSvzXZzUrMPoVHjY5EwW7hOg8h0Pbba33NLBDwcMLb2zp\nwSIAPUEEct1wURJw0MYbD/UtgrL1W5YVjyJkyOzwkaJBkgZuXiNogy2mE44N\nl3EZ/id1yJOrUxAtL1gnJlbpJAFYmNRjyCKHHa+8Ecy0qLMB1xP/yynFv8xc\n3p6S9uKt78P8CBOAPXBzAJZyMhCc9QWBb7XgiA+2DjHx3MblgOyKKsF2HdJL\n/5zw\r\n=he6D\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD75lQfnyGpCgI2Ci3u3NfMAHbHwSy4uSar8yFQPDNTDwIhAOMSVc4fo/QXhX+ew9n3DLPzdzSd2lF8tsMjqIMQYH0q"}]},"_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-socket.io_0.22.1_1625408700447_0.03139530978838834"},"_hasShrinkwrap":false},"0.23.0":{"name":"opentelemetry-instrumentation-socket.io","version":"0.23.0","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn run build","test:ci":"yarn test-all-versions","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","watch":"tsc -w","test-all-versions":"tav","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/instrumentation":"^0.23.0","@opentelemetry/semantic-conventions":"^0.23.0","is-promise":"^4.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.1","@opentelemetry/instrumentation-http":"^0.23.0","@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","socket.io":"^4.1.2","socket.io-client":"^4.1.1","test-all-versions":"^5.0.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"8467cdc1e0c3192d196b26d12ff05d63d5284f72","_id":"opentelemetry-instrumentation-socket.io@0.23.0","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-8L1XaZekVUYXUg+7pOyfnYdsmeJSb1cl2EpBOji3WUxRG2HX654iRnYRKE40+uSNF3nNdfT7uLbaJL2ZzlixdQ==","shasum":"2d0aaf2c5f5c4fb2561d6c95af4d835b583d69fd","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.23.0.tgz","fileCount":16,"unpackedSize":60445,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg4tb2CRA9TVsSAnZWagAA0rYQAIZsc6fFHMe56LDOAs7a\nhusLgD3ak7QKOLuD2pSQfYC3VCaZFmrUYHKOOT9ZJcG1Oe5Oiek+8Yk18m+h\ngP/MVIJ3+fCbfpV7RVPCR7+pjmV8ab9AtleMD3pid8fZaNnWm4WUWAftvDCV\nOhuiqkv2n63/J99XxClv1cH2X5FuJ61eaeSLrcerZDaLSl3LvYiz6yHVyZsd\nIr5xwOyCGcLN6VJTrYQ5cdR4ifsdtDA+eJKGRb+JTYW4yY68Ve0qlT2mNhuo\nRiLc7CiUw1QaBhd3AQilmylkt4Ei+HltxKpQzY8M3ThQ3dxERY/diJIF7JPA\ncOFuj/ZJVsUnXooLMuzsPFHu4eM0SWChXr9Vf+4jihzlNq9OWlmNY5imSWES\nFELheURb4jkeGO9592B21lUg+grkl1krF/JoSJTh7fBHHQVRq41mX6eii3Br\nPZPYa1gbM6MRnI0LTWVggGvihpnywNq0AnOunn0eW5e+E26uVo+r7Az4hoba\ngUZF/Jtyy2io01f7llwURXxayKIsi6xbXE0uZpK18/lqZJ8JldRLgyLY2Rd9\nBfiBzBCbp2rtjBNANlm3X2ls1i9CKbcN5BaW+vWPTlJ+cPL/PSM1r437eHsH\nUbX64lHmmY74y64mMvbn0cRYiQx9aUyq+srrqH5H6oclM0cmHFIm0LoIO3tg\nCLQu\r\n=HFoX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEGTkcXIulTL5znJjEHR2T9knSqz4txeWwespS4+ajUGAiBu1xcP4ua1nq5i6a6TXuhov/GzdUKVO287LnMRwJ+1cw=="}]},"_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-socket.io_0.23.0_1625478902089_0.09360117320240491"},"_hasShrinkwrap":false},"0.23.1":{"name":"opentelemetry-instrumentation-socket.io","version":"0.23.1","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn run build","test:ci":"yarn test-all-versions","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","watch":"tsc -w","test-all-versions":"tav","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/instrumentation":"^0.23.0","@opentelemetry/semantic-conventions":"^0.23.0","is-promise":"^4.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.1","@opentelemetry/instrumentation-http":"^0.23.0","@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","socket.io":"^4.1.3","socket.io-client":"^4.1.3","test-all-versions":"^5.0.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"5360f9cc341670702e20e08f27a02b1a01bdb016","_id":"opentelemetry-instrumentation-socket.io@0.23.1","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-EZORQwOhm+oleZh4J0oT1gu3U2i3JQNO7dX5931ymN5IUSRAn6BqNWxljF8QInxeJ8U8h8gH3FFU0CG7WUEUhg==","shasum":"fa0cf32d8e42effe769b7562446f0ed4d08207f0","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.23.1.tgz","fileCount":16,"unpackedSize":75297,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg7wjYCRA9TVsSAnZWagAABzAP/Ap8kHR01S5oHvS88E3R\nzJcl/KDcZ21szAnoxdOfgdww1Gc2taLC77AVb9camBS3LGfL6PefqB3ZTLeu\nJCVQSf1uQGN+QbHWz6FdGyiZjwdm49npUAaBWi+GpwFvM0i2h9kkzv9UjqfG\nZXfO+ldnV1JIUEOFtnKc1VV4QGpYKyME+FW/acNEK6sRHAOKru/nUo5kigNl\nInP08oE33MSRD+SJUX6kdKbdYF6jRuVqUje9tdFG3vUPuOJnX+ijmvLflLbY\nvM8uMz+V6zk7V2VTm1r/7dDY8VWFDLnHi4dRbinZ1p/tSfChDV8oc70JvNLp\nfQB6BAcBm5b+w8TryP+FTQo/0YMmnCZl/K7gAYw51dyImlBtN7Gw+j7m3xVU\nWi8g/1wvZPUCr2RpJ0x6/ZqplIVQPYQWpUlfI+5We6gRHzEx/+P+cK5nurIn\nhT7iU2kiYqCO9UKtS10yhLMFfz8EFNeFZxUCR8lbmCiS6L4wui390TZ8hCmj\nbzIwxsT1Mc5MHrzoZAMGkub9Si6bAawVjzKdbec5at0mGyrTyT2AeMJIztXo\ngGqsfPzMsUZvxd0tZ835/d9CbuqaWMUAvFjtxRFCm1fu3Q9tLnL0frvnEaOo\nCAIomX5iMexsBzPxGoussocmtaI0mb8RW/0aNFogDm7R9TUl2AznXkGd1X7t\n9lf/\r\n=f+/Q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDTfU3L3pSJ7ySbKtMpLTozeakUufhfqzUYhU3v3j8OTAiAN3D/Z7ewmUVRGAYwrEsNb7ACAeSf9HMjhyHHUnQCAvQ=="}]},"_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-socket.io_0.23.1_1626278104300_0.7506417163317631"},"_hasShrinkwrap":false},"0.0.0-2021-08-01--12-54":{"name":"opentelemetry-instrumentation-socket.io","version":"0.0.0-2021-08-01--12-54","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn run build","test:ci":"yarn test-all-versions","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","watch":"tsc -w","test-all-versions":"tav","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/instrumentation":"^0.24.0","@opentelemetry/semantic-conventions":"^0.24.0","is-promise":"^4.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.2","@opentelemetry/instrumentation-http":"^0.24.0","@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","socket.io":"^4.1.3","socket.io-client":"^4.1.3","test-all-versions":"^5.0.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"1c0b880a714e23ed5ba1ca97c35f49dc21064d8f","readme":"# OpenTelemetry socket.io Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-socket.io.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-socket.io)\n\nThis module provides automatic instrumentation for [`socket.io`](https://github.com/socketio/socket.io).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-socket.io\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 { SocketIoInstrumentation } = require('opentelemetry-instrumentation-socket.io);\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new SocketIoInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### socket.io Instrumentation Options\n\nsocket.io instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `emitHook` | `SocketIoHookFunction` | hook for adding custom attributes before socket.io emits the event |\n| `emitIgnoreEventList` | `string[]` | names of emitted events to ignore tracing for |\n| `onHook` | `SocketIoHookFunction` | hook for adding custom attributes before the event listener (callback) is invoked |\n| `onIgnoreEventList` | `string[]` | names of listened events to ignore tracing for |\n| `traceReserved` | `boolean` | set to true if you want to trace socket.io reserved events (see https://socket.io/docs/v4/emit-cheatsheet/#Reserved-events) |\n| `filterHttpTransport`| `HttpTransportInstrumentationConfig` | set if you want to filter out the HTTP traces when using HTTP polling as the transport (see below)\n\n#### HttpTransportInstrumentationConfig\nIf you use `opentelemetry-instrumentation-socket.io` alongside `instrumentation-http`, socket.io might use HTTP polling as the transport method. Therefore, you will see an HTTP span created as the parent of the socket.io span. \nTo filter out those spans; we use HttpTransportInstrumentationConfig.\n\n`HttpTransportInstrumentationConfig` has a few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `httpInstrumentation`| `HttpInstrumentation` | the instance of HttpInstrumentation you pass to `registerInstrumentations`|\n| `socketPath` | `string` | the socket.io endpoint path (defaults to `/socket.io/`) |\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-socket.io@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-pUDnWVI2Gyxb4mUDWDwH9HaErnq+tiCEYQrL9oL6Hg2EK6Pd7oQ6G2zV1/VvLJm9gB3DUoxuWSC/wyHGEWzt6w==","shasum":"28c552f1c3f783d32671cf19561c7ed8b580e2df","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.0.0-2021-08-01--12-54.tgz","fileCount":16,"unpackedSize":75384,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhBpm7CRA9TVsSAnZWagAAY+YQAJMAZSb1r5R03CDd7OiH\nKfCQkI2YwHw8ttpEfycDQbOGdoR0XO3tt0g+jVKv/yCAX8Tb57U2tXP51/2V\nmoXqr3/LWEa65w/c6J36scTPUTgXjKuG4X383V/0MjFUU4RyCxHlik1rls/Z\n3MSkpOypAkHiGNiSngUlRRMsPYg6cYG3OUEC1G2PllCiRHMAo4IkZL4P7Zd4\n8WXs2Ztt3k+JtDnob7LAyiF+5FCsOzlSHoOyuBLKbu7v3WCyttg4VeIm+HyJ\nOtUcxx/Be2YP5YEUU7r8sHlDf1tVYBNacXLzWPwggJicOpjgjPTwZY2I84Kw\nHe7jOmr3ZxBL0nKLd4wRbbCa55fIg7SFYmPWXs+miVqlWgO9L3Fh3c7G/SWG\nrhp0hyzYXLlHYpVc9A6Jxtw2ln1JwJttjwz2oLWxemCzkKyDX9mFOyL2Z0/6\n0QS/umAX5p0V2Aq60ql07rHsbroV+9bpoz7Dwh3jv2XNI1F/4xYeqnfwl2l6\n7A/GRw+GR000X9nDGxrBrtJHoF/Gkiz3zKgsM17V3gVdPqehU09SwncXDgWV\n/SKk6pkDjOJlmAVRwQeLQlq02xlB8USFx+ggVQ0jqOiuCIdtnhWsvrscF8hg\n4V7p7niQVGEJtSMOJ02v8tDUseHcNsUxfcolPTN9cn4HYVwKdr7JLw6Gr5FE\ntjnU\r\n=YAaj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCtJn31dRwgUUAMLzIOUeDzNpZSFzKIOmHEHVDsUXmWHgIhAMvxZXLm7ZLemcl+AYVlW/MusmrQzqpY75gdAEbpfsMe"}]},"_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-socket.io_0.0.0-2021-08-01--12-54_1627822523859_0.4174899192275878"},"_hasShrinkwrap":false},"0.24.0":{"name":"opentelemetry-instrumentation-socket.io","version":"0.24.0","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn run build","test:ci":"yarn test-all-versions","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","watch":"tsc -w","test-all-versions":"tav","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/instrumentation":"^0.24.0","@opentelemetry/semantic-conventions":"^0.24.0","is-promise":"^4.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.2","@opentelemetry/instrumentation-http":"^0.24.0","@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","socket.io":"^4.1.3","socket.io-client":"^4.1.3","test-all-versions":"^5.0.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"f9d08fb8dd95cfad7658ed979c154cf75c979262","_id":"opentelemetry-instrumentation-socket.io@0.24.0","_nodeVersion":"12.22.3","_npmVersion":"lerna/3.22.1/node@v12.22.3+x64 (linux)","dist":{"integrity":"sha512-OceiVag6U4a/ZQh1qecPILWcU28+k0Qpac6f3Z2syuRG9H/KqYJI+uRpurkMWA0SRNV3a0EAM1O8iu2yB7DFNw==","shasum":"87c08d31df210f70ebcd6f2115ce6889e507c65b","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.24.0.tgz","fileCount":16,"unpackedSize":75563,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhBqzICRA9TVsSAnZWagAAo7IP+wUZpquc4Wq7sAX/7pSZ\n9+IDi93CJx3LsUFou3EbQMpPkPSggtOpQMRI4BdHDPwxuyRWrk71NILPSuzG\nwqOfx1pK/uju8pK8neVLAfsyDPrT8aq9Pp4GhtCtZti/S3jY0YJ17eFaz6zJ\nQd0+vfU4YE4OUTJqG6o/rIXjcm50sTRFcd1QWR2kvOsawshOncUlli1xghzq\npxl3Iv8kc97yVq+UGztQWSXme8aDeh/4czjQrS8Vk2nOWZ9Fv5OKhSVyhxqp\nk3NKzvfNPX+x9i183uVmxoyKmgFYhWMfFUiaKaEjO32Y1FziUYtmFOt0gAVX\nOOd83fBxGQm/kG9kTfRdrxwyfds2bt/eAxuOKqM8wUfWIvTlysGN4SibJQ1v\nZS1dGqDjfFUZROrqqE0sQMyEaiJAHKtiw9vO/kYBRwmpzAgmmYCpHzMH4ZXB\nNMFy/K9Rm3tMtUwcCWIIPYvt3pVfL12vWEmWFExC0325UgwABUcord4v2JLL\nI4NWO50Yy1zE+zQBDCjrbGHNDggAQrgx0a9oPASGUfcupewHw92426wlbwxW\n5hqXJfnLpQ5PgMQb65zs7/Bmg3qWOT8nBdnihnqXjrpIJxEg7KiuKNCrcCVz\nZ8UFtbKgfYvokWKlQjeZVEhSuhvxqpJ8J/zII0WTJc89OEVSrSD60WztNroc\ncK/m\r\n=023z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6+62QpCPqJdAMGlxorwZ7Wr74EAfB2RvZkqABok0UDgIhAJ/p7r8cvA/+eEvUL7JhytVKm0oN1nA/PvuHikH1Rq19"}]},"_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-socket.io_0.24.0_1627827400828_0.2920920106261391"},"_hasShrinkwrap":false},"0.24.1":{"name":"opentelemetry-instrumentation-socket.io","version":"0.24.1","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn run build","test:ci":"yarn test-all-versions","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","watch":"tsc -w","test-all-versions":"tav","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/instrumentation":"^0.24.0","@opentelemetry/semantic-conventions":"^0.24.0","is-promise":"^4.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.2","@opentelemetry/instrumentation-http":"^0.24.0","@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","socket.io":"^4.1.3","socket.io-client":"^4.1.3","test-all-versions":"^5.0.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"5ef9753bf1ab525497b2b925df0b2e2f24ae838a","_id":"opentelemetry-instrumentation-socket.io@0.24.1","_nodeVersion":"12.22.5","_npmVersion":"lerna/3.22.1/node@v12.22.5+x64 (linux)","dist":{"integrity":"sha512-waLpAFz4om01AcRuUzEwNNJbJMPckPIs2bXFwmub2spotnN4LS56CzEyheYCDjOpQQXsT1xdVK+3+Vsd75XZhw==","shasum":"1669f1bc31b8e6cfb799fb01e2a2168f08254a34","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.24.1.tgz","fileCount":16,"unpackedSize":75830,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhL3RACRA9TVsSAnZWagAAGj0P/2uOc+Fr0ubU509QxOm2\nX+T7k+4Rn+8DgLyBuOqemh2C5PkiOjYsiprS/r04nfZ9YaIta82l+OxJDTzn\nNvEfC0e2SsA+JyOYgaetNEIum+FiiKuftxbHNpQlXJGOtu8ZmBauj6JRRllS\nNIsyb6dpA/iBPDBVgOoKWNVwRcRR6vSMg84XWIlhtSBXhAtEtFjZ8XfmUpud\nQRQTFPMp+7nZaR/3156F/Y9WehuJ6Bswy7b88UCL+UxPQmTf5fRjPk6ZSGSW\n/AJAYN2YhO9I48emYBX4GT8T05Pc1On3+koXDtmZrSkyjlSdd+YXOpXLNTyS\nMia8crLvTV6OpMOI8DhsXTq59KNQk6EVi5MtqW1YDdhVJwv7azQ4qD7V+xbJ\nHH0TEZ3j6J1kbZ4U4Lc+Fg09Ak5A68/fxEXW6FLauODnISEiXKM5kD5BuCGA\ne+29lxaFjW23e/pOKtQZwFrPNZcZfBVjtPyzKkRLkFnu8zKeSTQGDIRaLmqU\nZ+uZ/uSlaSiO3yeiUNI2o/FDpxemNNJRnpkGH2Dj2E1BImz5wOZxO6fGRw1V\n1kG9oiu7KuKfT1e2XvitNb0M1I9JNhcjtdHW9qtP8ylaDOdTr75W9gn8qplO\ni2qYPjDEmBv33UbF2IJggUJinuf/vX1WmRUZtbVGNOgguTYKD6DKmKlcJ1IH\n2OzQ\r\n=JdDU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAfvcFPhuz2hBjHcIMTW1+JEzvvnN/SJMTFMATeLGpjCAiEAsGiIXnoIgIhdtBcOmUXKc4j1HpdPHCAfLZ+/D8HVzUc="}]},"_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-socket.io_0.24.1_1630499903995_0.8515005320934539"},"_hasShrinkwrap":false},"0.0.0-2021-09-19--10-26":{"name":"opentelemetry-instrumentation-socket.io","version":"0.0.0-2021-09-19--10-26","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn run build","test:ci":"yarn test-all-versions","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","watch":"tsc -w","test-all-versions":"tav","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/instrumentation":"^0.25.0","@opentelemetry/semantic-conventions":"^0.25.0","is-promise":"^4.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.2","@opentelemetry/instrumentation-http":"^0.25.0","@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","socket.io":"^4.1.3","socket.io-client":"^4.1.3","test-all-versions":"^5.0.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"a05e1c6b765af7984ae8433da2290faf0c3387f6","readme":"# OpenTelemetry socket.io Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-socket.io.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-socket.io)\n\nThis module provides automatic instrumentation for [`socket.io`](https://github.com/socketio/socket.io).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-socket.io\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SocketIoInstrumentation } = require('opentelemetry-instrumentation-socket.io);\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new SocketIoInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### socket.io Instrumentation Options\n\nsocket.io instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `emitHook` | `SocketIoHookFunction` | hook for adding custom attributes before socket.io emits the event |\n| `emitIgnoreEventList` | `string[]` | names of emitted events to ignore tracing for |\n| `onHook` | `SocketIoHookFunction` | hook for adding custom attributes before the event listener (callback) is invoked |\n| `onIgnoreEventList` | `string[]` | names of listened events to ignore tracing for |\n| `traceReserved` | `boolean` | set to true if you want to trace socket.io reserved events (see https://socket.io/docs/v4/emit-cheatsheet/#Reserved-events) |\n| `filterHttpTransport`| `HttpTransportInstrumentationConfig` | set if you want to filter out the HTTP traces when using HTTP polling as the transport (see below)\n\n#### HttpTransportInstrumentationConfig\nIf you use `opentelemetry-instrumentation-socket.io` alongside `instrumentation-http`, socket.io might use HTTP polling as the transport method. Therefore, you will see an HTTP span created as the parent of the socket.io span. \nTo filter out those spans; we use HttpTransportInstrumentationConfig.\n\n`HttpTransportInstrumentationConfig` has a few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `httpInstrumentation`| `HttpInstrumentation` | the instance of HttpInstrumentation you pass to `registerInstrumentations`|\n| `socketPath` | `string` | the socket.io endpoint path (defaults to `/socket.io/`) |\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-socket.io@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-9QRcrwTgaKsULENq03vB0FAICgNZYmmtdiFv7Yvf0dRr4z4MUrP8CimCYtdSElK0RxS7B2J2ZL+D368zx8A/Hw==","shasum":"50b60f5cab1b42fe06ae8c1c8cb1f4fcf269ba6b","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.0.0-2021-09-19--10-26.tgz","fileCount":16,"unpackedSize":75934,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF+5e4Eua0bV75IurD6F+j1BnsllV+36y3bVlTGDL7rPAiEA6jLkrMFS00R7VXlX9vucCvypNEq82824YxWkIL/aYUk="}]},"_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-socket.io_0.0.0-2021-09-19--10-26_1632047261860_0.30319221859895173"},"_hasShrinkwrap":false},"0.25.0":{"name":"opentelemetry-instrumentation-socket.io","version":"0.25.0","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn run build","test:ci":"yarn test-all-versions","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","watch":"tsc -w","test-all-versions":"tav","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/instrumentation":"^0.25.0","@opentelemetry/semantic-conventions":"^0.25.0","is-promise":"^4.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.2","@opentelemetry/instrumentation-http":"^0.25.0","@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","socket.io":"^4.1.3","socket.io-client":"^4.1.3","test-all-versions":"^5.0.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"c5d54414b125bbc927012c68ff19b97bcd5b3796","_id":"opentelemetry-instrumentation-socket.io@0.25.0","_nodeVersion":"12.22.6","_npmVersion":"lerna/3.22.1/node@v12.22.6+x64 (linux)","dist":{"integrity":"sha512-KY/alWEYnK+IZpgvFnBPqL/NXyPhAGHPGqYYrBeZeKG6vhIHwX62R9YgSGBrwryZhzN3LOkKGnrcwclzlUFSsw==","shasum":"57281aa3a5c9c9a622ca860b57c1a0eee726f776","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.25.0.tgz","fileCount":16,"unpackedSize":76113,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJsw5Uxj17vuWA7iPlk/aFePUcUUWH18S8VH5DQPWyqAIhALHX7GM94vYhxq12pwwQe3AM63FgjMnVFq4k8OytDRjW"}]},"_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-socket.io_0.25.0_1632055479537_0.2570482756233379"},"_hasShrinkwrap":false},"0.0.0-2021-10-20--09-32":{"name":"opentelemetry-instrumentation-socket.io","version":"0.0.0-2021-10-20--09-32","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn run build","test:ci":"yarn test-all-versions","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","watch":"tsc -w","test-all-versions":"tav","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/instrumentation":"^0.26.0","@opentelemetry/semantic-conventions":"^1.0.0","is-promise":"^4.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.2","@opentelemetry/instrumentation-http":"^0.25.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","opentelemetry-instrumentation-testing-utils":"^0.0.0-2021-10-20--09-32","socket.io":"^4.1.3","socket.io-client":"^4.1.3","test-all-versions":"^5.0.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"c1c35ba226e94cdc824171847a6e252e02912c55","readme":"# OpenTelemetry socket.io Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-socket.io.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-socket.io)\n\nThis module provides automatic instrumentation for [`socket.io`](https://github.com/socketio/socket.io).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-socket.io\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SocketIoInstrumentation } = require('opentelemetry-instrumentation-socket.io);\n\nregisterInstrumentations({\n  traceProvider,\n  instrumentations: [\n    new SocketIoInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### socket.io Instrumentation Options\n\nsocket.io instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `emitHook` | `SocketIoHookFunction` | hook for adding custom attributes before socket.io emits the event |\n| `emitIgnoreEventList` | `string[]` | names of emitted events to ignore tracing for |\n| `onHook` | `SocketIoHookFunction` | hook for adding custom attributes before the event listener (callback) is invoked |\n| `onIgnoreEventList` | `string[]` | names of listened events to ignore tracing for |\n| `traceReserved` | `boolean` | set to true if you want to trace socket.io reserved events (see https://socket.io/docs/v4/emit-cheatsheet/#Reserved-events) |\n| `filterHttpTransport`| `HttpTransportInstrumentationConfig` | set if you want to filter out the HTTP traces when using HTTP polling as the transport (see below)\n\n#### HttpTransportInstrumentationConfig\nIf you use `opentelemetry-instrumentation-socket.io` alongside `instrumentation-http`, socket.io might use HTTP polling as the transport method. Therefore, you will see an HTTP span created as the parent of the socket.io span. \nTo filter out those spans; we use HttpTransportInstrumentationConfig.\n\n`HttpTransportInstrumentationConfig` has a few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `httpInstrumentation`| `HttpInstrumentation` | the instance of HttpInstrumentation you pass to `registerInstrumentations`|\n| `socketPath` | `string` | the socket.io endpoint path (defaults to `/socket.io/`) |\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-socket.io@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-4Y58dL8HaI0ciHkKtihNrh+rNUI74nBNdV2HTdeRbE+hB/E/SvSwSZM0W4hEzouzydBjWzuBnmlC+Dw509CWmQ==","shasum":"e34305f39ccf11ddf7baf2dd97c5bd4b14e5a404","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.0.0-2021-10-20--09-32.tgz","fileCount":16,"unpackedSize":76197,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDeTFSvlktj17O4YOFhcCv3I5Pf97dizNARkbogr9h9HQIgI5kB4YxnmnuaZVbR+74eHYy83rA3BHSMopjKbqHxu7c="}]},"_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-socket.io_0.0.0-2021-10-20--09-32_1634722389029_0.7334098000150333"},"_hasShrinkwrap":false},"0.26.0":{"name":"opentelemetry-instrumentation-socket.io","version":"0.26.0","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn run build","test:ci":"yarn test-all-versions","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","watch":"tsc -w","test-all-versions":"tav","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/instrumentation":"^0.26.0","@opentelemetry/semantic-conventions":"^1.0.0","is-promise":"^4.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.2","@opentelemetry/instrumentation-http":"^0.25.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","opentelemetry-instrumentation-testing-utils":"^0.26.0","socket.io":"^4.1.3","socket.io-client":"^4.1.3","test-all-versions":"^5.0.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"197677ba38ce47bdd7e57c9e74cc5a19fae7e8e2","_id":"opentelemetry-instrumentation-socket.io@0.26.0","_nodeVersion":"12.22.7","_npmVersion":"lerna/3.22.1/node@v12.22.7+x64 (linux)","dist":{"integrity":"sha512-mcTQvcHUeokOpZQlZCYAIr1qXh7v9NsTOwgVoC6wuc+wzBt6bjSPxPkufBhfZYdtqxqavFyIJ6UzIJl+ZUcJ3g==","shasum":"d72d93b2c0f11bb3fdd53c2d32c1071b6e9fea22","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.26.0.tgz","fileCount":16,"unpackedSize":76376,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLruyuaRqwN2E3kWJ2OYXHEnE9ptcDOLAygAlaNC1lOAIgK8m7QXUud2wh7q7pJfuDZ6lw6vAEA7fzrPNczAbGkkE="}]},"_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-socket.io_0.26.0_1635276587388_0.28355666996366957"},"_hasShrinkwrap":false},"0.26.1":{"name":"opentelemetry-instrumentation-socket.io","version":"0.26.1","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn run build","test:ci":"yarn test-all-versions","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","watch":"tsc -w","test-all-versions":"tav","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/instrumentation":"^0.26.0","@opentelemetry/semantic-conventions":"^1.0.0","is-promise":"^4.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.2","@opentelemetry/instrumentation-http":"^0.25.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","opentelemetry-instrumentation-testing-utils":"^0.26.0","socket.io":"^4.1.3","socket.io-client":"^4.1.3","test-all-versions":"^5.0.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"d98dabe288b1d95ce7e3d8b9b2ccc3ed02854392","_id":"opentelemetry-instrumentation-socket.io@0.26.1","_nodeVersion":"12.22.7","_npmVersion":"lerna/3.22.1/node@v12.22.7+x64 (linux)","dist":{"integrity":"sha512-wfxLpJtwas4mZoVbQcTSCAQL0LjTB2qVBJ3JGFWBVSgnMzHp3hFEwaldfwGqStQPtjdwQD2kPDPX6dQNz7XIcQ==","shasum":"7e9978f885e989a86c83c0ada508e9dc82b45be2","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.26.1.tgz","fileCount":16,"unpackedSize":76644,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhpLV+CRA9TVsSAnZWagAAseoP/ier7XbkcgNQiSQqYI6z\n3DjGxCaN/3AAsi/aAezU65+MgzdjcEFD3QBQtnAuiPgxEEOvXXW5pchfemoy\nP867pAfu/m1CRL5G5F3XYkuxNS1ZMEUWyQvffmMhTgEdjF06llY6vmcbr1mJ\nGd3tAQrvpgwlCW7x1OiUWKgP27Ylr/Yx6N5y0uh/XbGzEkmeO7OZQBs17knM\nZmjm9Hi3g5ijpZqxsIdUGUMO+0Vn+kj4va/QeJrPoy760SCnHELp1TCTskQl\nQ/agUWgNNpzwG/EpBVPJRMlq85eZ5oN6hRXyRFe27xSgbwrwWWOegLar38mX\n/Hwsnx2R1ZdcG1RSgNx1A0YtwPsKTnx08mLuW5e37A66Q0YfZKozcoFDK1lW\n2rdma2tVnWhNVQUVBDuXXmPAv0whLBTTLirWZGY/XMqx9D0y5Gr/3gJTBiRh\ng/6y2EiHH40bt5DY55wE8nG5wG0r5duDP9AvId5XNz/xzXJ87Ofg4o8aXmue\n+j8wP0tw38fhQaZZFnQxkvxUvi/g3l1OPxtua3zuWhPz9dZfn5EYhgO2HlGQ\ncIO6Q+urGWO6cak+7xPlZqexc/5alymUj4vK1LLnPLjJXdKm6GBmyLuIH7jN\nPzzp0+c2pA3aUfaHJQd1quZOcj7TKDZ2R2XGglakUny/Jle3QwPCGFEDt/7T\nqJgp\r\n=Tf3N\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3FKbx0p3W4N2vQDYvR8p/d2mJulgq8tB3If2E3+ei3wIhAIhtgmzYWU2nZDHXSnaDyTvoRfYxyEBd9A50LgYhyYJh"}]},"_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-socket.io_0.26.1_1638184318271_0.041635648029155314"},"_hasShrinkwrap":false},"0.0.0-2021-12-15--12-47":{"name":"opentelemetry-instrumentation-socket.io","version":"0.0.0-2021-12-15--12-47","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn run build","test:ci":"yarn test-all-versions","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","watch":"tsc -w","test-all-versions":"tav","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/instrumentation":"^0.27.0","@opentelemetry/semantic-conventions":"^1.0.0","is-promise":"^4.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.2","@opentelemetry/instrumentation-http":"^0.27.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","opentelemetry-instrumentation-testing-utils":"^0.0.0-2021-12-15--12-47","socket.io":"^4.1.3","socket.io-client":"^4.1.3","test-all-versions":"^5.0.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"d82d991f4f35f77cb8ac9071d7a43807667a17e2","readme":"# OpenTelemetry socket.io Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-socket.io.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-socket.io)\n\nThis module provides automatic instrumentation for [`socket.io`](https://github.com/socketio/socket.io).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-socket.io\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SocketIoInstrumentation } = require('opentelemetry-instrumentation-socket.io);\n\nregisterInstrumentations({\n  tracerProvider,\n  instrumentations: [\n    new SocketIoInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### socket.io Instrumentation Options\n\nsocket.io instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `emitHook` | `SocketIoHookFunction` | hook for adding custom attributes before socket.io emits the event |\n| `emitIgnoreEventList` | `string[]` | names of emitted events to ignore tracing for |\n| `onHook` | `SocketIoHookFunction` | hook for adding custom attributes before the event listener (callback) is invoked |\n| `onIgnoreEventList` | `string[]` | names of listened events to ignore tracing for |\n| `traceReserved` | `boolean` | set to true if you want to trace socket.io reserved events (see https://socket.io/docs/v4/emit-cheatsheet/#Reserved-events) |\n| `filterHttpTransport`| `HttpTransportInstrumentationConfig` | set if you want to filter out the HTTP traces when using HTTP polling as the transport (see below)\n\n#### HttpTransportInstrumentationConfig\nIf you use `opentelemetry-instrumentation-socket.io` alongside `instrumentation-http`, socket.io might use HTTP polling as the transport method. Therefore, you will see an HTTP span created as the parent of the socket.io span. \nTo filter out those spans; we use HttpTransportInstrumentationConfig.\n\n`HttpTransportInstrumentationConfig` has a few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `httpInstrumentation`| `HttpInstrumentation` | the instance of HttpInstrumentation you pass to `registerInstrumentations`|\n| `socketPath` | `string` | the socket.io endpoint path (defaults to `/socket.io/`) |\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-socket.io@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-FMADwEUGZybTyOXvzWWwdVqUKoQC7/qwO5VVuHeVlP2jxwYSfH016nTqF4YHTP/kqsAuI2c17715V9JcpTG0VQ==","shasum":"caceff6f935ffaf2c98c1139bee683752750d3db","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.0.0-2021-12-15--12-47.tgz","fileCount":16,"unpackedSize":76731,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhueQyCRA9TVsSAnZWagAAiLgP/0fAD5/t72kBj4EGoQV4\nhT74UQE2nkRkA8qC0VFVqj2rmus77zxOfUMO08DM96nRjEO7owgJe9831JHG\nY9vhncdbaLyTPt/u7jtf7+58n2z7/WHrTCyvKAbROmMIBkJunv74gPHjR7Wk\njBwNVctXpvYAO1t7/tRDSISSbXewMFVav2DArxllcmHDD9V3ekbaeogrrBk9\n7Toum5pLSstVoLzcuoILup/gIpIzOVDXzxZ9wlPC1V8n0InIlvNjXjqXoaco\nJUJ7/uiBAs5O9DEKtZb6ZtTNTy4TuNTAbNqYBckLi67w/42BBG5fP47OfS/3\njxTZex0A9ncqmULQX4GkAk6oENpQhw/TwArrK+/sMpQx+cZuPD1buyV1n5Lr\n+BpVXXagNG3F5lyG+8hnYczSslJV8Usl/aivkwuETFGlTwd7EvtOI8tamNLE\nvBc8BTmf+DvsZiD+riJIByc7wxOEejnNzamV0Un7Hw+kYT4/VF3mhmRrMd2C\nYh0s101Ng0jTgdCiTFNLxH+UCD0QA2XGbItEwaaWAdPbLyHsUUFbk21S2NYb\ncn61PWLaVoLI03r370zKIB4F2t4/zvke2RWo6i01M1l1N3ajb7/BUgLtpKES\n933cQcGno8keoDwp+PIyE9JWEquiBKJoE7QhnX4eg/z+j7Iy4gbRPauBM8J3\nk3gV\r\n=9oKQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHQjMGyVKm33yfvz/MYQvKnYMHmbdZiX93XR8OWi63HlAiBkOu4BTA/hZubjM0PnWja4AKPaABATV+u2NfZDmrk4LQ=="}]},"_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-socket.io_0.0.0-2021-12-15--12-47_1639572530366_0.9272115365944293"},"_hasShrinkwrap":false},"0.0.0-2021-12-15--13-05":{"name":"opentelemetry-instrumentation-socket.io","version":"0.0.0-2021-12-15--13-05","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn run build","test:ci":"yarn test-all-versions","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","watch":"tsc -w","test-all-versions":"tav","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/instrumentation":"^0.27.0","@opentelemetry/semantic-conventions":"^1.0.0","is-promise":"^4.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.2","@opentelemetry/instrumentation-http":"^0.27.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","opentelemetry-instrumentation-testing-utils":"^0.0.0-2021-12-15--13-05","socket.io":"^4.1.3","socket.io-client":"^4.1.3","test-all-versions":"^5.0.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"8500885ec40cd62c62efd9758ed4b005fc201674","readme":"# OpenTelemetry socket.io Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-socket.io.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-socket.io)\n\nThis module provides automatic instrumentation for [`socket.io`](https://github.com/socketio/socket.io).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-socket.io\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SocketIoInstrumentation } = require('opentelemetry-instrumentation-socket.io);\n\nregisterInstrumentations({\n  tracerProvider,\n  instrumentations: [\n    new SocketIoInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### socket.io Instrumentation Options\n\nsocket.io instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `emitHook` | `SocketIoHookFunction` | hook for adding custom attributes before socket.io emits the event |\n| `emitIgnoreEventList` | `string[]` | names of emitted events to ignore tracing for |\n| `onHook` | `SocketIoHookFunction` | hook for adding custom attributes before the event listener (callback) is invoked |\n| `onIgnoreEventList` | `string[]` | names of listened events to ignore tracing for |\n| `traceReserved` | `boolean` | set to true if you want to trace socket.io reserved events (see https://socket.io/docs/v4/emit-cheatsheet/#Reserved-events) |\n| `filterHttpTransport`| `HttpTransportInstrumentationConfig` | set if you want to filter out the HTTP traces when using HTTP polling as the transport (see below)\n\n#### HttpTransportInstrumentationConfig\nIf you use `opentelemetry-instrumentation-socket.io` alongside `instrumentation-http`, socket.io might use HTTP polling as the transport method. Therefore, you will see an HTTP span created as the parent of the socket.io span. \nTo filter out those spans; we use HttpTransportInstrumentationConfig.\n\n`HttpTransportInstrumentationConfig` has a few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `httpInstrumentation`| `HttpInstrumentation` | the instance of HttpInstrumentation you pass to `registerInstrumentations`|\n| `socketPath` | `string` | the socket.io endpoint path (defaults to `/socket.io/`) |\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-socket.io@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-2a0JoV7VFnrU4biz8vdjzEY7nzFEH4NLzMVqfwwR9U1iX6nn5i4VQcJtVqjPrxq1fMBBQnycHBeMkB0QyfRuUg==","shasum":"70bd509ca5a206db5036b21079e8e316f71fdcfd","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.0.0-2021-12-15--13-05.tgz","fileCount":16,"unpackedSize":76731,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhueh0CRA9TVsSAnZWagAA5OQP/iE4GlczOa9RtlXrGLsJ\n83dWuRf8z+k50SmFQdjrau7ZzFzshzq1G9hlYXv8doSFlQIomUbHXuz28mRw\nklkrVFDS/T1x/o1YfUQuG061MyCoMSiZdVfwTDhA9TgtOFUfjd0IgHE2npzQ\nEtcBnvvvabq37nsbP3M9DcXWRJuujnZ45/iJXDIhSBbcBFEfb1dpjvIocYIV\nizLqJslgfhXStfbg35Crh0OVRt74qE/hfvmxl3V+P+Pivu4qxQbYYO8y7uIO\nxIfx2ISbmbEr6y8k2JeNo1xwcdo68E/uuwmEJix5tt8zXA4k7Vgv5dorR3fS\niKdWjKwyIr3zHXlPG2a2ZiaT1f47Uoh0sZ9I6UyqcE4yEP8St2gkmfJ4EIzn\nOtvV9UDJQHopnJCvkOE63Eff71e0G78Fp9Wa3Obk9Mh7tYWm2nA0CKRuW54X\n9CDE2qfJJ3q5LpntrlLuWLmIlhJrINQHMPdymK3uMdCAZvBnMxtxYK9CoMQQ\nEaXdTTu0KV0OEVM4jEzetN1N5gfTGHBfs7rIw/8ZWmHDhFz/IwNUkuwfEdeD\nfrrMzJna7C2zcfmip2g08DJcp2j8xFvxRxslhVqwRYTdOeIHtnyIm8pK7F9A\nSeIi4lweEA9EE1r2/LbMmKtxivNHcrwNghAeIwAo0jjoM/kQlghy9w7XPHZT\nELbG\r\n=FJgt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF/hjp+aCOOSK1+34LXaDuFUd5HtmIx3ak4h9WbxRfrfAiEAluU+T1qf/H4wtdLjIFbWLPw32IVQm/InH1OXAjGb7tM="}]},"_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-socket.io_0.0.0-2021-12-15--13-05_1639573620509_0.40840286613410415"},"_hasShrinkwrap":false},"0.0.0-2021-12-15--13-29":{"name":"opentelemetry-instrumentation-socket.io","version":"0.0.0-2021-12-15--13-29","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn run build","test:ci":"yarn test-all-versions","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","watch":"tsc -w","test-all-versions":"tav","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/instrumentation":"^0.27.0","@opentelemetry/semantic-conventions":"^1.0.0","is-promise":"^4.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.2","@opentelemetry/instrumentation-http":"^0.27.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","opentelemetry-instrumentation-testing-utils":"^0.0.0-2021-12-15--13-29","socket.io":"^4.1.3","socket.io-client":"^4.1.3","test-all-versions":"^5.0.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"f57843bf0453b8bd2aa71246bd7cbd81e82539ef","readme":"# OpenTelemetry socket.io Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-socket.io.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-socket.io)\n\nThis module provides automatic instrumentation for [`socket.io`](https://github.com/socketio/socket.io).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-socket.io\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SocketIoInstrumentation } = require('opentelemetry-instrumentation-socket.io);\n\nregisterInstrumentations({\n  tracerProvider,\n  instrumentations: [\n    new SocketIoInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### socket.io Instrumentation Options\n\nsocket.io instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `emitHook` | `SocketIoHookFunction` | hook for adding custom attributes before socket.io emits the event |\n| `emitIgnoreEventList` | `string[]` | names of emitted events to ignore tracing for |\n| `onHook` | `SocketIoHookFunction` | hook for adding custom attributes before the event listener (callback) is invoked |\n| `onIgnoreEventList` | `string[]` | names of listened events to ignore tracing for |\n| `traceReserved` | `boolean` | set to true if you want to trace socket.io reserved events (see https://socket.io/docs/v4/emit-cheatsheet/#Reserved-events) |\n| `filterHttpTransport`| `HttpTransportInstrumentationConfig` | set if you want to filter out the HTTP traces when using HTTP polling as the transport (see below)\n\n#### HttpTransportInstrumentationConfig\nIf you use `opentelemetry-instrumentation-socket.io` alongside `instrumentation-http`, socket.io might use HTTP polling as the transport method. Therefore, you will see an HTTP span created as the parent of the socket.io span. \nTo filter out those spans; we use HttpTransportInstrumentationConfig.\n\n`HttpTransportInstrumentationConfig` has a few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `httpInstrumentation`| `HttpInstrumentation` | the instance of HttpInstrumentation you pass to `registerInstrumentations`|\n| `socketPath` | `string` | the socket.io endpoint path (defaults to `/socket.io/`) |\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-socket.io@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-JnBQqa9wExZQUykkHhKi61UrO8B32XGgXK9blmAfb660K1kMR4wvpsHG+McMg3sVyWL3HzqY6h7dlwJNF7lnaQ==","shasum":"9d2388d670aabb1e5902c784ff579cfc367b4d55","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.0.0-2021-12-15--13-29.tgz","fileCount":16,"unpackedSize":76731,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhue4gCRA9TVsSAnZWagAAOdwQAIbjBPro083LyIA9BkwU\nfyawpUcUk3XumS8lRAe7xggSNPKjPWDJRNoggLK3Oa1/kjT6Dl0LpN+Qe9sK\nlWXQi62PpBuXvUIBlnIl3Mxa+lXPFMRuWVJJsTpl+VEPv4pzvYAoNYgidGB2\n6va0O5st8qqSP8cGOElbYqfkKHxAfIf579ImCyHW7ScGSU8uYLH3UX9Plsrr\n+1Ou6rY9ft9bE7XjcLmeagDzhvpY5Wi7bxw3SaSOf1mYBp5ULUxH7UOqt8Vw\nsYN6xxo+4pSo1fkLDlTSKApi0lrsyDJhMI/T6gCc/d7PLLu8oWtqJnoRidav\n+lB1GgDozzircDrIXsySin9MtFE5jq8ZI86vOK7yMT4EGJ4/vfpQ2QdRllou\ncG2jughSfbJ8gl1RqSjevB9PFeXnG53yoAXoxBdY06HDLVvlm+d+0CqRUrZ8\nYQE1OWMcxm5JcijVX4V4E6uLZtS4dJ5e1XHgeZvY8rbpju3fCFZQimd0ayg/\npx+fRosZ7MREOV0ISKQzgFdE5IX1YouuRyf10UN1dCC7KcsFurvM8O4ZA3v2\nW80A79ImYG3eDHoDfQa+VfFs7XcjMS5ljB668JpTBjvJfUjBtsUSfmuo8gBC\novUlEv0cV3DzSulngDcre3V0mVaTPBQ1M3j7fQ4B99oIC0sd/CmSMrwyFKD/\nOoWe\r\n=82yn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCdkBy/l9oS19HFKPsnQrX0pKDURouGgy4B/EyYK7arRgIhAN3BFgl419rLRsCtyjppb/cCZ78syBIHHbUQg7Rlnujy"}]},"_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-socket.io_0.0.0-2021-12-15--13-29_1639575072366_0.3095699498419977"},"_hasShrinkwrap":false},"0.0.0-2021-12-15--16-17":{"name":"opentelemetry-instrumentation-socket.io","version":"0.0.0-2021-12-15--16-17","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn run build","test:ci":"yarn test-all-versions","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","watch":"tsc -w","test-all-versions":"tav","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/instrumentation":"^0.27.0","@opentelemetry/semantic-conventions":"^1.0.0","is-promise":"^4.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.2","@opentelemetry/instrumentation-http":"^0.27.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","opentelemetry-instrumentation-testing-utils":"^0.0.0-2021-12-15--16-17","socket.io":"^4.1.3","socket.io-client":"^4.1.3","test-all-versions":"^5.0.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"53721d6b1d7ef8fb79ab5167c34ee22da645bac0","readme":"# OpenTelemetry socket.io Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-socket.io.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-socket.io)\n\nThis module provides automatic instrumentation for [`socket.io`](https://github.com/socketio/socket.io).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-socket.io\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SocketIoInstrumentation } = require('opentelemetry-instrumentation-socket.io);\n\nregisterInstrumentations({\n  tracerProvider,\n  instrumentations: [\n    new SocketIoInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### socket.io Instrumentation Options\n\nsocket.io instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `emitHook` | `SocketIoHookFunction` | hook for adding custom attributes before socket.io emits the event |\n| `emitIgnoreEventList` | `string[]` | names of emitted events to ignore tracing for |\n| `onHook` | `SocketIoHookFunction` | hook for adding custom attributes before the event listener (callback) is invoked |\n| `onIgnoreEventList` | `string[]` | names of listened events to ignore tracing for |\n| `traceReserved` | `boolean` | set to true if you want to trace socket.io reserved events (see https://socket.io/docs/v4/emit-cheatsheet/#Reserved-events) |\n| `filterHttpTransport`| `HttpTransportInstrumentationConfig` | set if you want to filter out the HTTP traces when using HTTP polling as the transport (see below)\n\n#### HttpTransportInstrumentationConfig\nIf you use `opentelemetry-instrumentation-socket.io` alongside `instrumentation-http`, socket.io might use HTTP polling as the transport method. Therefore, you will see an HTTP span created as the parent of the socket.io span. \nTo filter out those spans; we use HttpTransportInstrumentationConfig.\n\n`HttpTransportInstrumentationConfig` has a few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `httpInstrumentation`| `HttpInstrumentation` | the instance of HttpInstrumentation you pass to `registerInstrumentations`|\n| `socketPath` | `string` | the socket.io endpoint path (defaults to `/socket.io/`) |\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-socket.io@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-jlrBaDlEdpYE+hFG5NP6PSXFrHx6dj0nbUOVyPap4f4y389JoQXtBKwjEkDmOhReX19uCF30nOdgA+QsgaUKeQ==","shasum":"3a8924f3e79341f4cfffd2e4e5febab938fce967","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.0.0-2021-12-15--16-17.tgz","fileCount":16,"unpackedSize":76731,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhuhVUCRA9TVsSAnZWagAAyu8P/0O70RcvLCr+uBafO5Qc\nyZPWoAxD6mDV1Hhpd6NMCfMrX+XDbpkfF7A0djKKJa3BREtJVV6tEUqefSwe\nZ03YhD4/5i8M9TNBFikmChYF4FO2nCLAgppNaYRfqBmHY8xwk+g0yQxjGNd8\nR27KmPrjl7SrXSfPeeDt16glvo9K+tW32DFoUumdmBE+2ZoaiNyqofMe884R\nQ7xE1/V034MD/H0m02wn8phwpgHiglj616Xhi5mEy7kY02fUII7yo3c4eFQZ\n1K2d7gSvnc/RReg4TyH+dIJpT1q7J1dnhdVgWVfaNOioFM06NtyNl3uQlNK+\nzcGH6Z9GVPzWp5XTEa3y68Jqbb87SmcxEbFfbrlSm58nTHmopttKuTjAlqpI\ne86ccSsyAB3nq562DCKfyMPvu8Jkrj2FAyYMw3EwjvC1yF5y2fEP7QfbUZNZ\nzojIJR93h/ejEHav80OVAjAifbPfyIlF+Ce2QlwrvosINirBNRigugDNu+fU\n6dpZ1JvWtW19WnbQxc1SCGWiL+CZc93uGVbO4zFXC91GuUDeAnt4iQ8D/0xS\nZ+cyCDG0SU2KYrH7IIF6V9ZvB/Q5h0YFITfgpvoW6B/E2NO9ItqVTStT8ch4\nLG/USBbbfoPfow3cI2bGyntliYZ/GgknHmGQ4UyR0/isn/Z+N9q7dBfKO2Xq\neews\r\n=wPTe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBmCbUJ2FLuO/w7N4nCexvl7VDI5JAZFykuS15ji5qT2AiAaISFYtQsvBYImS3Qirvv5zMh/JxxlB7XrgK/995BYgg=="}]},"_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-socket.io_0.0.0-2021-12-15--16-17_1639585108467_0.4062047347601969"},"_hasShrinkwrap":false},"0.0.0-2021-12-20--13-41":{"name":"opentelemetry-instrumentation-socket.io","version":"0.0.0-2021-12-20--13-41","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn run build","test:ci":"yarn test-all-versions","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","watch":"tsc -w","test-all-versions":"tav","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/instrumentation":"^0.27.0","@opentelemetry/semantic-conventions":"^1.0.0","is-promise":"^4.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.2","@opentelemetry/instrumentation-http":"^0.27.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","opentelemetry-instrumentation-testing-utils":"^0.0.0-2021-12-20--13-41","socket.io":"^4.1.3","socket.io-client":"^4.1.3","test-all-versions":"^5.0.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"5b751df473de22ae885ae8f740f8966736489a47","readme":"# OpenTelemetry socket.io Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-socket.io.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-socket.io)\n\nThis module provides automatic instrumentation for [`socket.io`](https://github.com/socketio/socket.io).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-socket.io\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SocketIoInstrumentation } = require('opentelemetry-instrumentation-socket.io);\n\nregisterInstrumentations({\n  tracerProvider,\n  instrumentations: [\n    new SocketIoInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### socket.io Instrumentation Options\n\nsocket.io instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `emitHook` | `SocketIoHookFunction` | hook for adding custom attributes before socket.io emits the event |\n| `emitIgnoreEventList` | `string[]` | names of emitted events to ignore tracing for |\n| `onHook` | `SocketIoHookFunction` | hook for adding custom attributes before the event listener (callback) is invoked |\n| `onIgnoreEventList` | `string[]` | names of listened events to ignore tracing for |\n| `traceReserved` | `boolean` | set to true if you want to trace socket.io reserved events (see https://socket.io/docs/v4/emit-cheatsheet/#Reserved-events) |\n| `filterHttpTransport`| `HttpTransportInstrumentationConfig` | set if you want to filter out the HTTP traces when using HTTP polling as the transport (see below)\n\n#### HttpTransportInstrumentationConfig\nIf you use `opentelemetry-instrumentation-socket.io` alongside `instrumentation-http`, socket.io might use HTTP polling as the transport method. Therefore, you will see an HTTP span created as the parent of the socket.io span. \nTo filter out those spans; we use HttpTransportInstrumentationConfig.\n\n`HttpTransportInstrumentationConfig` has a few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `httpInstrumentation`| `HttpInstrumentation` | the instance of HttpInstrumentation you pass to `registerInstrumentations`|\n| `socketPath` | `string` | the socket.io endpoint path (defaults to `/socket.io/`) |\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-socket.io@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-lzyCVnAa8Dg4uMhCK5XlN3+gyhUdP0Z4TM4KTCVXsiKnz9qaAIicORzjCoIczfgwdlxE/b3zyHPgCOvMA9peoQ==","shasum":"1be071214d69a9b475593c1b3b746f0bbef41aa9","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.0.0-2021-12-20--13-41.tgz","fileCount":16,"unpackedSize":76731,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhwIg7CRA9TVsSAnZWagAAzFEP/0t/qSfpVkWIauHkRH82\naNkWBmPUrMChjNuE9YpyUSObjGYSngh1gnfIAi9gmKBcSLnt75RNa9fPkItY\npmYCwUWbQRGw4kQ4HUEXT2tz6OeriJrOATudjNt3iqHMwFhpQEwb0z27b3Jb\nG5q95erjg0QQcGmsyyYIgRZBSOF0T60T/8GHqVJSuwZ8Wferz+cFA+pOYcOS\ns5F66tgceVKmUTXhOqWwj5AF+mPjKCa+PNCmP2vOsN5t9swQielupClr+6af\nQUzF1TkEOja0Udfjgo1o8BAwHXV1UHKENPjLjPuv7mI0Kx+1cZiTHbn2SepQ\nTx2d+LZj18HZR7JVUJtUMl81GwoxQ7b8VjjaX5FUJx68/23tzuOJDblpi+em\nQaFtXggHP3MnmLI7jozEDlfCdwJ4ptw4eFWtRowHwXvz48Ofh/ZgnCD9mj7T\nK7+7JQlRbzKSdWGbLFMGe/YBnrpF8UN/Rbgya1WhxoTNwdhdIrVHUvYn+2AO\nuxOdM7crPbEoUBPsMAZAPKwbZCLeaO2aYwi7zqpmBXnRvJWabUStlJyDzdwx\ndccqixKb3Xx9PGrzttSxJh1WekG+2DZ58AvSez6S8z1S8HxaeFBhXN7tuEp4\nv96xBM2pP07QyhVJdXUfeZ3gNiDFNYFtx4Na8829J/SJWhCDgNwB7oYYlXnu\nxTZq\r\n=O+yO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAMt3u1DmxR7QLhCUP9q/rDLyKZtWdBwnrwxZdLtFmKDAiAQdccQgR9I0Lea90pqTVChMJWmW2lRT9UN4Z4GPdDgcQ=="}]},"_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-socket.io_0.0.0-2021-12-20--13-41_1640007739681_0.2941478347445614"},"_hasShrinkwrap":false},"0.0.0-2021-12-21--15-57":{"name":"opentelemetry-instrumentation-socket.io","version":"0.0.0-2021-12-21--15-57","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn run build","test:ci":"yarn test-all-versions","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","watch":"tsc -w","test-all-versions":"tav","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/instrumentation":"^0.27.0","@opentelemetry/semantic-conventions":"^1.0.0","is-promise":"^4.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.2","@opentelemetry/instrumentation-http":"^0.27.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","opentelemetry-instrumentation-testing-utils":"^0.0.0-2021-12-21--15-57","socket.io":"^4.1.3","socket.io-client":"^4.1.3","test-all-versions":"^5.0.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"38372fee8eae66fb9be8d9e8093823c76ba1388a","readme":"# OpenTelemetry socket.io Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-socket.io.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-socket.io)\n\nThis module provides automatic instrumentation for [`socket.io`](https://github.com/socketio/socket.io).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-socket.io\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SocketIoInstrumentation } = require('opentelemetry-instrumentation-socket.io);\n\nregisterInstrumentations({\n  tracerProvider,\n  instrumentations: [\n    new SocketIoInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### socket.io Instrumentation Options\n\nsocket.io instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `emitHook` | `SocketIoHookFunction` | hook for adding custom attributes before socket.io emits the event |\n| `emitIgnoreEventList` | `string[]` | names of emitted events to ignore tracing for |\n| `onHook` | `SocketIoHookFunction` | hook for adding custom attributes before the event listener (callback) is invoked |\n| `onIgnoreEventList` | `string[]` | names of listened events to ignore tracing for |\n| `traceReserved` | `boolean` | set to true if you want to trace socket.io reserved events (see https://socket.io/docs/v4/emit-cheatsheet/#Reserved-events) |\n| `filterHttpTransport`| `HttpTransportInstrumentationConfig` | set if you want to filter out the HTTP traces when using HTTP polling as the transport (see below)\n\n#### HttpTransportInstrumentationConfig\nIf you use `opentelemetry-instrumentation-socket.io` alongside `instrumentation-http`, socket.io might use HTTP polling as the transport method. Therefore, you will see an HTTP span created as the parent of the socket.io span. \nTo filter out those spans; we use HttpTransportInstrumentationConfig.\n\n`HttpTransportInstrumentationConfig` has a few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `httpInstrumentation`| `HttpInstrumentation` | the instance of HttpInstrumentation you pass to `registerInstrumentations`|\n| `socketPath` | `string` | the socket.io endpoint path (defaults to `/socket.io/`) |\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-socket.io@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-Hs5RJ/WQBlblxvGUn3OvqsD5M6eXcRfILdFWWjdUQ24987Ao9Vj962rxQ7nwpRBbhnW4gT0y2qHglXjQcyZejg==","shasum":"a4488b9500a6e4639c707f76a4f92c51e86451b7","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.0.0-2021-12-21--15-57.tgz","fileCount":16,"unpackedSize":76731,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhwfmwCRA9TVsSAnZWagAAmGMQAJv+pyCH+QNyrVGjnped\nInWTfmzrtMapk1zuW+KNAv9K/qajT7uz/zkji+myoL210vViXPoAqfKh4r8r\ncanFOHd/P//WeN4G8bwKriaWW6ZLSXhij5xh235yu5XHqzCc0zq+XVtsmj2F\n6VCnODs10ND6LsjbpUNvcBhIr7BzUSZrxRyyDkbpfvdN8ubjXJsuI29HlMW3\n+//bxPmiiVQVBSC3S8H6ki7cZOXy4H1pCRpFn8wQdsb7u0mKXzJ0kxcGpOZm\nNpwxnBa1HWtjjeD99FR50y5ine82P9AIlQF0XX79RAYA+c9+Sds41YjT8Qcq\nRGuRBokSh0vdYsTwK56oN4hoo9zxI7HJ3Rg4tbPwqmFhqTqHtkEGMRdhv22G\nknPPRM2rVT1wXUmLKKlFgGJTcjOmFhb2BcMiOyZcBoa2tIS+nDrY7mnet0rJ\nKULxOl9rfsh3LWfzW2HNF46x1kd9YPKsD5mZRYKrw+BzUKTIHiFt2XaHZioF\njiVkDI8107CRCAHYqkwFV1kF1wJktzlbkv20Fduckpbkl71nDZWxdI4LOlUN\nLymqdAI7/CDTfuddCYPGTDnTOZ5z9L3hbZeDDmIDNoPvpKquAtupcaLmO0m/\nj9d1P4n3/nvzvyAtWXp6nUzQ2QilkiaI0cGIe+CYHZ5lqMc8Xs932qPcolS1\nOdqa\r\n=SM4Z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAPET2W9eA/2sCZvK4uLgLeOjdVroov/hOxwWaOwbLzDAiEAlxY82UHRoSDTR/R4FQ4LOa1iyMgwI5k3C8pGYkZWUQ4="}]},"_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-socket.io_0.0.0-2021-12-21--15-57_1640102320111_0.9220170952746558"},"_hasShrinkwrap":false},"0.0.0-2021-12-22--14-33":{"name":"opentelemetry-instrumentation-socket.io","version":"0.0.0-2021-12-22--14-33","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn run build","test:ci":"yarn test-all-versions","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","watch":"tsc -w","test-all-versions":"tav","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/instrumentation":"^0.26.0","@opentelemetry/semantic-conventions":"^1.0.0","is-promise":"^4.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.2","@opentelemetry/instrumentation-http":"^0.25.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","opentelemetry-instrumentation-testing-utils":"^0.0.0-2021-12-22--14-33","socket.io":"^4.1.3","socket.io-client":"^4.1.3","test-all-versions":"^5.0.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"7aa0240a479398d794813dc4088689d9d25bf6fc","readme":"# OpenTelemetry socket.io Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-socket.io.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-socket.io)\n\nThis module provides automatic instrumentation for [`socket.io`](https://github.com/socketio/socket.io).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-socket.io\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SocketIoInstrumentation } = require('opentelemetry-instrumentation-socket.io);\n\nregisterInstrumentations({\n  tracerProvider,\n  instrumentations: [\n    new SocketIoInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### socket.io Instrumentation Options\n\nsocket.io instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `emitHook` | `SocketIoHookFunction` | hook for adding custom attributes before socket.io emits the event |\n| `emitIgnoreEventList` | `string[]` | names of emitted events to ignore tracing for |\n| `onHook` | `SocketIoHookFunction` | hook for adding custom attributes before the event listener (callback) is invoked |\n| `onIgnoreEventList` | `string[]` | names of listened events to ignore tracing for |\n| `traceReserved` | `boolean` | set to true if you want to trace socket.io reserved events (see https://socket.io/docs/v4/emit-cheatsheet/#Reserved-events) |\n| `filterHttpTransport`| `HttpTransportInstrumentationConfig` | set if you want to filter out the HTTP traces when using HTTP polling as the transport (see below)\n\n#### HttpTransportInstrumentationConfig\nIf you use `opentelemetry-instrumentation-socket.io` alongside `instrumentation-http`, socket.io might use HTTP polling as the transport method. Therefore, you will see an HTTP span created as the parent of the socket.io span. \nTo filter out those spans; we use HttpTransportInstrumentationConfig.\n\n`HttpTransportInstrumentationConfig` has a few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `httpInstrumentation`| `HttpInstrumentation` | the instance of HttpInstrumentation you pass to `registerInstrumentations`|\n| `socketPath` | `string` | the socket.io endpoint path (defaults to `/socket.io/`) |\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-socket.io@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-PWdbxKQnRFhFih+6xhQOQlnMQYadOsr3IHy+8RseSuAgMQjdsOtjEWa0OghwwCfuj4zj0D307cGs8kiIWVDNmA==","shasum":"4922c9beef97f94d02656d659147e005cc873af9","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.0.0-2021-12-22--14-33.tgz","fileCount":16,"unpackedSize":76731,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhwzfrCRA9TVsSAnZWagAAOX8QAIreeozU2c63qxypZ8XY\n3Tifgr+4+32Zai2jyNxP37hI2Ae18ZlbtP3HVJSs6QvFOpJWx/AJeammQkiT\nOXFh6yanHMnpuISvHfLw1Kho1YOjXHpzgOW2DW70vwJdUCf1zV3O3Vk5KJVr\neQ+z9Y4ZSj6wiA0+m9SHq5PrNcRzAQnO4WKTRfOTx4+4eQZt0SpeT6RZvRVO\ncl+g9OymrQtd2o/i3d9PvZgHHa0Xzo/A0CCEC1hJfsaZLvcI/y03tz1R2jy0\nOcdCXL4otJWmLsU/BiGM4bjX79CHXiVEdSS3e8a1ncUqoNZl9kneX3ls2UP3\nXMzlIYuTbYgHSUEdu14rlKDR8aAsyvoIdJOr7c3Q0qF2YpDnspJRNxAashMP\n3/mw3+o4zeSNKUG/V9Gmn1AWHu5l7u9a68MWIEfXGV2fXXB2FXYeoa2EJG5r\no4minTCSRraSO0UtnmovfFThF25PmFW0xpbFpDqKmMDlR6RJxKwIc7eURITa\ndy+4jwv6hb96T0HWHOR6KWl66VBoLgc2fn3HRzJbCFbanL2qbxzqVf6h4o5E\nwhTZUQZvullPolxUsBjL5/+RXDQWQau8QlMTlC8Ke3NTNwNzGUTulsRs2nL1\nuFsQbnG5qGr6rfBQiAVjSbR4t5au3U6FOcq/276XFkg/FgxHQkugmm96NpEW\nl7qy\r\n=+giQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCPWC0SCnZq9gSueVhBkWuQ+6p+kYuHVvft9bA0O8CBdAIgRxpinNOFGXj/2e7e2HF8H22DJNhFqeWOPCrpxLRHVkM="}]},"_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-socket.io_0.0.0-2021-12-22--14-33_1640183787670_0.19462940388791905"},"_hasShrinkwrap":false},"0.0.0-2021-12-26--12-22":{"name":"opentelemetry-instrumentation-socket.io","version":"0.0.0-2021-12-26--12-22","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn run build","test:ci":"yarn test-all-versions","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","watch":"tsc -w","test-all-versions":"tav","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/instrumentation":"^0.26.0","@opentelemetry/semantic-conventions":"^1.0.0","is-promise":"^4.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.2","@opentelemetry/instrumentation-http":"^0.25.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","opentelemetry-instrumentation-testing-utils":"^0.0.0-2021-12-26--12-22","socket.io":"^4.1.3","socket.io-client":"^4.1.3","test-all-versions":"^5.0.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"faef7c8328a9ff8592347e079e5e86d0181d2d5e","readme":"# OpenTelemetry socket.io Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-socket.io.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-socket.io)\n\nThis module provides automatic instrumentation for [`socket.io`](https://github.com/socketio/socket.io).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-socket.io\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SocketIoInstrumentation } = require('opentelemetry-instrumentation-socket.io);\n\nregisterInstrumentations({\n  tracerProvider,\n  instrumentations: [\n    new SocketIoInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### socket.io Instrumentation Options\n\nsocket.io instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `emitHook` | `SocketIoHookFunction` | hook for adding custom attributes before socket.io emits the event |\n| `emitIgnoreEventList` | `string[]` | names of emitted events to ignore tracing for |\n| `onHook` | `SocketIoHookFunction` | hook for adding custom attributes before the event listener (callback) is invoked |\n| `onIgnoreEventList` | `string[]` | names of listened events to ignore tracing for |\n| `traceReserved` | `boolean` | set to true if you want to trace socket.io reserved events (see https://socket.io/docs/v4/emit-cheatsheet/#Reserved-events) |\n| `filterHttpTransport`| `HttpTransportInstrumentationConfig` | set if you want to filter out the HTTP traces when using HTTP polling as the transport (see below)\n\n#### HttpTransportInstrumentationConfig\nIf you use `opentelemetry-instrumentation-socket.io` alongside `instrumentation-http`, socket.io might use HTTP polling as the transport method. Therefore, you will see an HTTP span created as the parent of the socket.io span. \nTo filter out those spans; we use HttpTransportInstrumentationConfig.\n\n`HttpTransportInstrumentationConfig` has a few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `httpInstrumentation`| `HttpInstrumentation` | the instance of HttpInstrumentation you pass to `registerInstrumentations`|\n| `socketPath` | `string` | the socket.io endpoint path (defaults to `/socket.io/`) |\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-socket.io@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-o0GWfuC/p3Wu5zoZSULlbV7ZP/ByiyyMIGE39faC4HErvZNXuQg30KfGTDIT4SsFa0h1nNKY79T8ozuH6Xo0GA==","shasum":"6a65f78d7cf58a95681f246217665e2b8a1239a5","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.0.0-2021-12-26--12-22.tgz","fileCount":16,"unpackedSize":76731,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhyF6sCRA9TVsSAnZWagAAVlcP/2aLmWkLJPWUVCDNUCo/\n6Id6SjG5OaLNmoMOpRvByBPmWc62wXkGaOof3KcwrEOkENSY/SZynq0xorKy\nyvhmOCzbRrQpgmk93fTWhhDUdiNXOeq+Vsrkwm1ppouimn2gcY7VS5oDH2U1\ny5ldWiqWjVv05lXXjQCPqquNQXbInG9dxIbp3KhGq8Q8qVgGWJWLjQ/v7bqd\n0OsxYFXO8KMSO8nrLgKCkk1t3sa+G/gll75Kv0D/uq+pSr7A5MHczMt0T6mC\niQBjw3lXXxkziOBX6OGkE9QbajgKOGEW5RauxjvnoJu4Wdj0CPTV5OXhcCWH\nNxZHAWTc5Co/Yp4w6u28hPUerYp6XsBUrl9+NULZs4oEN5G5I8SbY13auDsf\nQEZCuxYak4uWi1szM6Jeu5RjV5eXXoX4oSxrr92MmAyjfZ4lUiPy7gzMUmMP\niNtdu8OVlDYnGITPccCzIMP8MnviFHdYdkqxR2GEd+nN2jxQY932FnwKZX1J\nirGN/uyIRxaBDIv+i/vxIgOpu31dkejm+/lYkiPsZcXeUaCYHHOrX/XC1KjI\n8LfZZZsr/lDz2xGFkfHCsu0gaWnUZuyPNXj5J8aOD6jUJBiRb1NOsq7lA5GZ\nJMKN4A88353IcpQ0nJAMSThSVbgApveVqe6EynU6AqNyZHN/ltE4KREdjgSE\nXeHN\r\n=mTK4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIENzzXVXO0tqFXUdIYs9qxqfL8oYpHcxX3HwTBSJvspMAiA9PNeAbrWPQVDrRc23BQ0Or0AE/1QAv9Kwyg4ylmZnbw=="}]},"_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-socket.io_0.0.0-2021-12-26--12-22_1640521387916_0.8118001578057648"},"_hasShrinkwrap":false},"0.0.0-2021-12-26--12-31":{"name":"opentelemetry-instrumentation-socket.io","version":"0.0.0-2021-12-26--12-31","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn run build","test:ci":"yarn test-all-versions","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","watch":"tsc -w","test-all-versions":"tav","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/instrumentation":"^0.26.0","@opentelemetry/semantic-conventions":"^1.0.0","is-promise":"^4.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.2","@opentelemetry/instrumentation-http":"^0.25.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","opentelemetry-instrumentation-testing-utils":"^0.0.0-2021-12-26--12-31","socket.io":"^4.1.3","socket.io-client":"^4.1.3","test-all-versions":"^5.0.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"591785317c33cddbfec450849d945af05520a0f4","readme":"# OpenTelemetry socket.io Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-socket.io.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-socket.io)\n\nThis module provides automatic instrumentation for [`socket.io`](https://github.com/socketio/socket.io).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-socket.io\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SocketIoInstrumentation } = require('opentelemetry-instrumentation-socket.io);\n\nregisterInstrumentations({\n  tracerProvider,\n  instrumentations: [\n    new SocketIoInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### socket.io Instrumentation Options\n\nsocket.io instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `emitHook` | `SocketIoHookFunction` | hook for adding custom attributes before socket.io emits the event |\n| `emitIgnoreEventList` | `string[]` | names of emitted events to ignore tracing for |\n| `onHook` | `SocketIoHookFunction` | hook for adding custom attributes before the event listener (callback) is invoked |\n| `onIgnoreEventList` | `string[]` | names of listened events to ignore tracing for |\n| `traceReserved` | `boolean` | set to true if you want to trace socket.io reserved events (see https://socket.io/docs/v4/emit-cheatsheet/#Reserved-events) |\n| `filterHttpTransport`| `HttpTransportInstrumentationConfig` | set if you want to filter out the HTTP traces when using HTTP polling as the transport (see below)\n\n#### HttpTransportInstrumentationConfig\nIf you use `opentelemetry-instrumentation-socket.io` alongside `instrumentation-http`, socket.io might use HTTP polling as the transport method. Therefore, you will see an HTTP span created as the parent of the socket.io span. \nTo filter out those spans; we use HttpTransportInstrumentationConfig.\n\n`HttpTransportInstrumentationConfig` has a few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `httpInstrumentation`| `HttpInstrumentation` | the instance of HttpInstrumentation you pass to `registerInstrumentations`|\n| `socketPath` | `string` | the socket.io endpoint path (defaults to `/socket.io/`) |\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-socket.io@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-f+hbtNsVqiLynG0MBI5oLJ5anHmqDriOzmG/irV7sslsuUCssJTpZOBtNr0WiYiVMdTuO6Roy0qHi8zx0DVhGw==","shasum":"28e0c4c6e0d4ce234dc901c8c1a53c07b11193c8","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.0.0-2021-12-26--12-31.tgz","fileCount":16,"unpackedSize":76731,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhyGD4CRA9TVsSAnZWagAADnIP/R65oUCMIc+4cb+3Hor1\nbY9nOhRhvTzdLJrM7TI9CNP0/YBU10MU7L6VOx4JfaZbJmZDYPe9EZbp2tNC\n8Bnxx4YyORHn3M3DmSjAvxv6cowMmIAepyLOmiMOADPKWEDDD59og8wXo9Pg\nMte6kttP5UGUfe5rlFXfX0EGIEOoLpuu2AsfwmbjThTJtOjiyFG0y4u+KmBC\nGV1fw22hO30HRIeJa4CQKO9Vu1cQ1XK4P3/ue8Zpd/m0mGerwPLyyTuYNof9\na5QczsdQuaZ+v2HgOhW964OGKYwKLm8Bo066u3DBvnaawzvtnT7b9MNWC5Fg\nMe69Q3Bf7+Th5NBHXV8XUznTGLRMA7ZC3+qtw9qs3LHFIZIWLx+Aj7tfEU2g\nWJNplSPJBF9SBWnwlr+VloAebWxfjS6DzowG/dyATTdykAyEUO7LLWKNbZZQ\neyqABxIgX1GJ2Yb/W9oza3XD40j0lkett8JO2GVaYoGuFlUQT3HYqFp7kS8W\nWvVsasUzXIosMoEkfHmj0cEaGErE7F8JmCb3ONYrp0LLWNEMW4xvEaRqlj5M\nQCrB4qJw+P7nFDAbzDUqf3ULwfJdEnhrnBljYkHWmpg5xBOMFiClfnAI4KTK\nBwdoBNRuJiM1x13ehkvsf/Ak1l4d6s85wyZV3a9e92TfGipylvv9al7bcJQg\nBpvk\r\n=CCzW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCkMjZxoA3/xwkMNgrkQXK7mSuotIEDsSEsUrjfFCsy4QIhAK8gZh4p8t35PKiKMNmAlgaepyzfzG7/bvFmM/gHk94X"}]},"_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-socket.io_0.0.0-2021-12-26--12-31_1640521976819_0.997943266383666"},"_hasShrinkwrap":false},"0.27.0":{"name":"opentelemetry-instrumentation-socket.io","version":"0.27.0","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn run build","test:ci":"yarn test-all-versions","test":"mocha --require opentelemetry-instrumentation-testing-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require opentelemetry-instrumentation-testing-utils","watch":"tsc -w","test-all-versions":"tav","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/instrumentation":"^0.27.0","@opentelemetry/semantic-conventions":"^1.0.0","is-promise":"^4.0.0"},"devDependencies":{"@opentelemetry/api":"^1.0.2","@opentelemetry/instrumentation-http":"^0.27.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","opentelemetry-instrumentation-testing-utils":"^0.27.0","socket.io":"^4.1.3","socket.io-client":"^4.1.3","test-all-versions":"^5.0.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"687393213037496a1105e522b1bc3110b11bd9c1","_id":"opentelemetry-instrumentation-socket.io@0.27.0","_nodeVersion":"12.22.8","_npmVersion":"lerna/3.22.1/node@v12.22.8+x64 (linux)","dist":{"integrity":"sha512-tE0Q6MdnFqNriomCHZq7zoUHhaEdyIUz48zCn4cd+5VxVNFYw89E/Uj3uOf17fCZ2lgCHBjbAynYGuY59p8GNQ==","shasum":"3351a37727cb02d5368160d7026e9fc6118ca4af","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.27.0.tgz","fileCount":16,"unpackedSize":76910,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhyYyHCRA9TVsSAnZWagAAXJ0QAIGTgFTcxWNtrX3Pa7B5\npdgmOLOlgPzY+zA5u1hWYJYbO0ksHRlL8tpt6gQAMoxHhAkm/82YSnsNs7hU\nd3EgEGACIomFqWzs6my+4+PPkvLW4ezwDilOugTddc3Gr9miaIFY5fTNKUjz\nr3kspWxhk9K7zZR3ReeVpBrlEkYxCQNKnVFRZVwC4cp+SfsVhh/LecjM4gqT\n+jwMcDv2efM+ynfIElRLzgH6vTM9mEbMiXeldC8fGvbQOXy5OedfzIc2agz0\ngFSLzFun9foYFPGH7UBxz1QeUCgF2Zjr/VNOisG1A+fiiWL4u5Zb8zpGXnAs\ntwoZkTZ1aHUwB2doRKrHSSw3MRg/vX505C98u3Thd92zAD2TURlkg6v18Oxt\niGCIQNWHe47PPeYFXYazp7zyIAdGkZnaE6ZIqfRbtRNiu65hFxoiChucE1te\nGGWdzAjBNQx4w7bLngythiE5MD64vqd1ttsp4M50W9isA2rItiswFja0f8Yi\nRES/mlF2hy3BN3u3j2ype5IgciL1WIe+SjloO4VkESjf8o7Xs2KXd99IXEf8\n92eehpikVUdAT92FfncDeaP9jmG6TSxcgR2HECZr5zZhyxknjdaE2UqrGl4V\ncJQbHoNaQs+Loma08EsuacuUSwwEgu+oGuAyfykUHhMC7Xwx59zzRbhWYphX\nLSV3\r\n=d0oq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBeNKToPjNatmiKZYJ2DTM077C9tb9fI4coWFjzOE5AyAiEAtLMNSzAB7DnjhaB+H2j6z08ECNbAEyZ9slv2CoHLh1w="}]},"_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-socket.io_0.27.0_1640598662937_0.8395294571503551"},"_hasShrinkwrap":false},"0.0.0-2022-04-13--14-32":{"name":"opentelemetry-instrumentation-socket.io","version":"0.0.0-2022-04-13--14-32","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn run build","test:ci":"yarn test-all-versions","test":"mocha --require @opentelemetry/contrib-test-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require @opentelemetry/contrib-test-utils","watch":"tsc -w","test-all-versions":"tav","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/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/instrumentation-http":"^0.27.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","socket.io":"^4.1.3","socket.io-client":"^4.1.3","test-all-versions":"^5.0.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"2e8247578b4b9efe980868177abdd2e793ea18ee","readme":"# OpenTelemetry socket.io Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-socket.io.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-socket.io)\n\nThis module provides automatic instrumentation for [`socket.io`](https://github.com/socketio/socket.io).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-socket.io\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SocketIoInstrumentation } = require('opentelemetry-instrumentation-socket.io);\n\nregisterInstrumentations({\n  tracerProvider,\n  instrumentations: [\n    new SocketIoInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### socket.io Instrumentation Options\n\nsocket.io instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `emitHook` | `SocketIoHookFunction` | hook for adding custom attributes before socket.io emits the event |\n| `emitIgnoreEventList` | `string[]` | names of emitted events to ignore tracing for |\n| `onHook` | `SocketIoHookFunction` | hook for adding custom attributes before the event listener (callback) is invoked |\n| `onIgnoreEventList` | `string[]` | names of listened events to ignore tracing for |\n| `traceReserved` | `boolean` | set to true if you want to trace socket.io reserved events (see https://socket.io/docs/v4/emit-cheatsheet/#Reserved-events) |\n| `filterHttpTransport`| `HttpTransportInstrumentationConfig` | set if you want to filter out the HTTP traces when using HTTP polling as the transport (see below)\n\n#### HttpTransportInstrumentationConfig\nIf you use `opentelemetry-instrumentation-socket.io` alongside `instrumentation-http`, socket.io might use HTTP polling as the transport method. Therefore, you will see an HTTP span created as the parent of the socket.io span. \nTo filter out those spans; we use HttpTransportInstrumentationConfig.\n\n`HttpTransportInstrumentationConfig` has a few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `httpInstrumentation`| `HttpInstrumentation` | the instance of HttpInstrumentation you pass to `registerInstrumentations`|\n| `socketPath` | `string` | the socket.io endpoint path (defaults to `/socket.io/`) |\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-socket.io@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-vmmW88fEExsTrDgC767MX/cKG2AZOGslTfwOjkYJPe0F4vQg0N4pvnmgChoNfkLtEkzC25Run/HV7VYWTViZRA==","shasum":"7a3a8015c3bc71968f5a6e8937ac0256a26c411c","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.0.0-2022-04-13--14-32.tgz","fileCount":16,"unpackedSize":76949,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE/8EPmkrQJ9LJ/odqTWcC3DRQIUiss166Gw/rEhBBBAAiEA2HMs8gVON+sm8OgQkUvE1GSbcuS1aOsQfy3bIsH15Gc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiVt8WACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrzvg//VcHACTM7Oug5kaJN4rP3DTri43Knh89iG4k1YuhU3jUSkYXl\r\nTyEuR6Jkr5Bhnr4PtmDrG5D+Lapfyp7iJCcGmPRA9RSQq20+sd/8/HsmDUXl\r\nEtABgQ8VmxN9c9rkNBxhcc8/+hYOM2/U/miw7h5cWUxntm7hTB+jM73xF9Pf\r\nMVbtkJNqeFVVrSg5qDiEFMAssz1buzNQHKtNsseas2yKBU0JIM3FzjIUzdNN\r\nM2+FevQx+fJVAvQxR5R4J/6EOaF21IEL4j4z1ml2gNaM6/xyHAfxDF3O0w8O\r\nAuuXkpQzP8QcIFy7IZ8+Gy+ilvUtYtsqyNGt0TwFqz0uZoWN3hTew7kKGmlf\r\nXJW7Fo+WwCQelKnkOrNOvKG8Okd1ubo/O09ukVKwJHPhyY2u4vomIxFBQKei\r\nQp1d8TyN5xQDYATY8Xh8CB7o76K8HiGkkpe8QHmCLt41gT99WiNevdurcuWD\r\nxqRIJDKOeceM4urLzU6ebJ9oY2LT77w52lQToTS0nOOOfpzYlmmArPs51LU6\r\nXlCh+rcJIlLdgZzVOjVl2dpSjJt85fr2NCMZsD77yGbdZq8dHBTACijG45VD\r\nlgs5bY1f+TlyDWomQjEM5ndNbl98Y2LYAFXtXN3ZpbGVgX7WhaaL6rT1vJdf\r\n2bYkI3FIdTERPByxQQ68TL6pSaorY1O1nBo=\r\n=W7oh\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-socket.io_0.0.0-2022-04-13--14-32_1649860374585_0.4783687094495921"},"_hasShrinkwrap":false},"0.27.1":{"name":"opentelemetry-instrumentation-socket.io","version":"0.27.1","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn run build","test:ci":"yarn test-all-versions","test":"mocha --require @opentelemetry/contrib-test-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require @opentelemetry/contrib-test-utils","watch":"tsc -w","test-all-versions":"tav","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/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/instrumentation-http":"^0.27.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","socket.io":"^4.1.3","socket.io-client":"^4.1.3","test-all-versions":"^5.0.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"e473527226dc901fc0006df49f729b9137b7323b","_id":"opentelemetry-instrumentation-socket.io@0.27.1","_nodeVersion":"12.22.11","_npmVersion":"lerna/3.22.1/node@v12.22.11+x64 (linux)","dist":{"integrity":"sha512-bNx6DSrOUnM2A6AzZymoWf3jlFFmS2OZpsPjIl5c9wQipeIixOuSCLZPyYl3AN+JFI3xaBeKz/cnTKks3yNwIQ==","shasum":"4facfdb9ecd1b809eaa9b330513b803370dbc0cf","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.27.1.tgz","fileCount":16,"unpackedSize":77287,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC5s+ielC2EeYE1BD90zCPgQM+lEiWhVmywu/K7hFzVzAiBlzDqzzx22jd/D363MkkUSoXdxv6cqmrmoSUT8hqPp+A=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiVu8JACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr+yg//Xyz8zt85rLvQD6OFXxdgYzNQZXdlMVlA4I0RUfnGmfUseYpb\r\nZNOmzlrtXVie7W1B8I3BPXL78OuFhtATiWbQS9Bbc9O8SlMbHyf6xiQUOeBS\r\nkF8Xm9oWD/b1g03rFzOtQh6GbqRIqvv3frgBI0Loimi4ojrzygIvw1azHqkQ\r\nmuYe3SLpH3JhA3vZoJ9v9xrDt2VnRM73BOEVueEfEpJ4ksiBzsnkap7HJazx\r\n4BIlsmIh/bUINkA3xkw+cJthstxniOHo9umMdzm+sZvwa9bCWecoIVfqylhd\r\nA4LiHBVRI9V/XBRfe8cKlRjk7iMiuw9zwCXQNQJnTYa+Y2nRY5/NnkDSEEyX\r\nM6MOVlPNGso5QrZTjEMKDkD6zoS5zFmrgv8NmiSP7yhyO/8R6MybUW6jotiB\r\nzRGpKpYicYmlZNvu6Y7x/85emylJia1as+vEPyLQy80PNrAWIXPr/J+VjcNl\r\njc5REpQ9yARPcACPY8Ek/H9Rsq3GBr4s00m5zvO5ElQCJnnUCbX+liqkbqbx\r\nq03kEgwRbSKxmMvY8AYR8HfLQekW4xRxvCB4VietCrEgJtitJq1DZ0w+HVoU\r\nn5f0bnuDuC0jeAr6uZuPJHrmHg7eRfeA84MYoD3LbtDyLTzlV2e1Yshm0+yt\r\nIgo5MIZjOYKowZ8rjUMmqhAwaoOOQsuEtBU=\r\n=Recz\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-socket.io_0.27.1_1649864457250_0.682537255083318"},"_hasShrinkwrap":false},"0.28.0":{"name":"opentelemetry-instrumentation-socket.io","version":"0.28.0","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn build","test:ci":"yarn test-all-versions","test":"mocha --require @opentelemetry/contrib-test-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require @opentelemetry/contrib-test-utils","watch":"tsc -w","test-all-versions":"tav","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/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/instrumentation-http":"^0.28.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","socket.io":"^4.1.3","socket.io-client":"^4.1.3","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"4b2ef8358671e75cda095ea22c9a73527f146395","_id":"opentelemetry-instrumentation-socket.io@0.28.0","_nodeVersion":"12.22.12","_npmVersion":"lerna/3.22.1/node@v12.22.12+x64 (linux)","dist":{"integrity":"sha512-cc4eG58OV/8yPN0AtTuAS+Fs6lFBeRvoJKUeq7hiF2/iA9mRkJP2jzke0iLdIlXVk1JnL3RCz+JPqThLde3YpA==","shasum":"a136c2409f51f9408b8f4ba4418c0d916fa3f802","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.28.0.tgz","fileCount":16,"unpackedSize":77743,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDCm+EyJ2ApfIQE9S+VLVZX+tkckuMfic/WnYK2fzrNLAiBvPWit1T43o/CR4Zo3Vo2sD2mB/F1uPEAPvo4wdlOvSg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJimMtVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrIeQ//RaEYPpEHzL/RKU+mlq6wet9xJfF3GyfY2JPbmopWMlE3GBiv\r\nfHwTDxaVq/XL+vrwHw0KuE51YSO9GbVlgZS60NDG5lx/C1GxcnBvs2Jl/xPv\r\nF1yzFi1U2xPDO5JIP+Es8N4EnTSXcarKUtE8VS0r/Wc1I8CMBxYZRmb9NYOo\r\ndTimadE7dCUvbq1uKqtICIQVWHPXfTNijZBV6/TWokpO2cANqUMFwVdzuJvU\r\neDn0bh+yF/qSZ1fUYIML/83vDciRxT/7GDqAMDhswYo/8OqDR8InpJVtamTP\r\nqfUP3o2crj62dKPC17B0oVqBxNuGY5kqmIK4rVei8xvI/L0/ldhgwslRWtPA\r\nE1lghP8IX2ggsV+6Qh6nQFtTuaxhuAJjwlprAbvVutgJFDACDYuXin8lLMhX\r\nfM/TbpADkbli9Gloys1j6+NrZvx0CXnDzHAbM83mngrIzdP1hFQjzuI7swPv\r\nktZTVch/zjyUNb831+OPVhCnkTAn9bvnb8z6hJyThnpjXxbcP3+1rvPNKQoL\r\nt4Wh2AvQToKfBA09DfnHNXCF9fKGJDj+MQAbF8gg3l1HWZFp4U3K4fw13o+o\r\nQMar4xk1njsW+fLRwdb2+T1GrLbq6vnodco6cQzr06YBREI8AWiw2Jx2WokA\r\nMEsdfPDzzXYLjlT93gJtIKyVzV6T5prIjds=\r\n=vOyi\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-socket.io_0.28.0_1654180692958_0.746815387761417"},"_hasShrinkwrap":false},"0.29.0":{"name":"opentelemetry-instrumentation-socket.io","version":"0.29.0","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn build","test:ci":"yarn test-all-versions","test":"mocha --require @opentelemetry/contrib-test-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require @opentelemetry/contrib-test-utils","watch":"tsc -w","test-all-versions":"tav","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/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/instrumentation-http":"^0.29.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","socket.io":"^4.1.3","socket.io-client":"^4.1.3","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"55606fc29b3e835f0b06892462c9832471dbbb3b","_id":"opentelemetry-instrumentation-socket.io@0.29.0","_nodeVersion":"12.22.12","_npmVersion":"lerna/3.22.1/node@v12.22.12+x64 (linux)","dist":{"integrity":"sha512-Zocoe8zhtiSme5WMJffTVrt04qGNMNOI3J4ctf0gdhtiBP3OFxNiO2yrbDf9vdp6WyJ7LLBObkD/WKjQy4pF5w==","shasum":"8b478c8590140d29214e7ef1c7a318e5a2f26b35","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.29.0.tgz","fileCount":16,"unpackedSize":78171,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXtINX8HJH8bvxBCgcF+HdNJWFjoOJhbDVVL1RQeXUdQIhAKJ3qN9EjwNgzisOvUFkebKtKCBYsGnxE4DuRclyRxEr"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiuswBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo8mBAAg5Nn5zI6cJVKGnbTXqF8bxDDKfLQsvbaCDLe2S9/WtUDD3Fi\r\n/YCljTb55E/vEUlIAVkt5zb4hhqxVf+2lt4lB3kmTCMclX7NwCmbGmYd5mba\r\nw38jMNVJ9X/1Qbm4zPpdMI7SQFNCZxaZiTMG9F64zWveLflujXXkcETwUZ7M\r\nJeB0iv0GcDw1hOrlrn9lCoUmT62nh3nJ5YgI82VeQw4g4uIL9iMmYKC6yTkU\r\ngPcsisVHMM5xFZqRgMqQgr+eTqRSSjEsSKeDnJ2wCWeCQroO5KfmEp1TySsL\r\nCh5nFg03xOrWhLytpbu6hLXUn4XVh8hf0sRPqOhjqRm3EPHloBn+ZFxmEQE3\r\nXGnT+GRFUwFJ+ctpw074nMoTk0JVixAPySl9somTGjRRYTKINt/SF/Lj4T55\r\nYaqQbdFfOSoS6NGrvSvGFWuDs24SdDtK9I/RcK9uqD/jHkWzBFtIJvZyYh2F\r\n31/jfSx4KzcIFgd0q4H0jFLSgjYWmXz7fycGcULI+DmhkdEfDFTbR8GYj9mr\r\n9Ep8scaTzWMrCD4HPV/Jo6V4LF/vsvzVJO1G7Xs8SugphzbHc3KlxE6GslMT\r\ndlhB83/JS9A12q6RxEE5O8xwdDXIMCK/cKg1BY9i4ZGty7GzDIitVNCIsVcE\r\n32hTV3hnfQzibM+nlSQ4OlO4YJORmrv+bXE=\r\n=P7sd\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-socket.io_0.29.0_1656409088910_0.9813942351891343"},"_hasShrinkwrap":false},"0.0.0-2022-07-11--08-09":{"name":"opentelemetry-instrumentation-socket.io","version":"0.0.0-2022-07-11--08-09","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn build","test:ci":"yarn test-all-versions","test":"mocha --require @opentelemetry/contrib-test-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require @opentelemetry/contrib-test-utils","watch":"tsc -w","test-all-versions":"tav","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/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/instrumentation-http":"^0.29.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","socket.io":"^4.1.3","socket.io-client":"^4.1.3","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"d4b1388181deeeaa3ad626524493f9e85222d13a","readme":"# OpenTelemetry socket.io Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-socket.io.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-socket.io)\n\nThis module provides automatic instrumentation for [`socket.io`](https://github.com/socketio/socket.io).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-socket.io\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SocketIoInstrumentation } = require('opentelemetry-instrumentation-socket.io);\n\nregisterInstrumentations({\n  tracerProvider,\n  instrumentations: [\n    new SocketIoInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### socket.io Instrumentation Options\n\nsocket.io instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `emitHook` | `SocketIoHookFunction` | hook for adding custom attributes before socket.io emits the event |\n| `emitIgnoreEventList` | `string[]` | names of emitted events to ignore tracing for |\n| `onHook` | `SocketIoHookFunction` | hook for adding custom attributes before the event listener (callback) is invoked |\n| `onIgnoreEventList` | `string[]` | names of listened events to ignore tracing for |\n| `traceReserved` | `boolean` | set to true if you want to trace socket.io reserved events (see https://socket.io/docs/v4/emit-cheatsheet/#Reserved-events) |\n| `filterHttpTransport`| `HttpTransportInstrumentationConfig` | set if you want to filter out the HTTP traces when using HTTP polling as the transport (see below)\n\n#### HttpTransportInstrumentationConfig\nIf you use `opentelemetry-instrumentation-socket.io` alongside `instrumentation-http`, socket.io might use HTTP polling as the transport method. Therefore, you will see an HTTP span created as the parent of the socket.io span. \nTo filter out those spans; we use HttpTransportInstrumentationConfig.\n\n`HttpTransportInstrumentationConfig` has a few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `httpInstrumentation`| `HttpInstrumentation` | the instance of HttpInstrumentation you pass to `registerInstrumentations`|\n| `socketPath` | `string` | the socket.io endpoint path (defaults to `/socket.io/`) |\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md","_id":"opentelemetry-instrumentation-socket.io@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-6voAnK+aTT400ZiHE/o6gHsqg6t303ueeQ65m3yD5UHaKBtkSTY97TIfGh9qMzOOi/bL3W7wgbxB5x4ze5IGdw==","shasum":"8d9e1d7fa4991b9d14c24ec89c3dfe455ad2f8fa","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.0.0-2022-07-11--08-09.tgz","fileCount":16,"unpackedSize":78241,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEcwsdU5DSfwNYzJ73ICgIrRvwqghgj6L6NaeE0HPRSuAiBCQn+oBHhFylSAnbFAga8J0fhEiyxHKF21lKFcIM1MEw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiy9rcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoDfhAAipdoGGBbnf8x9yvfihJc66cEvFFrXY0S8QE3ewyNtpUg+9vD\r\nvXbzq5A1hDBF7cQ6gvJY/ixrGGt6XNUbZoN8k0eWMTkVrR9x7xIOjqhv/Pbn\r\n3VVPM8oRf87n0gZrX2pCp07JnDvd0DECugwcBRT/7iqhwaN1FsYFMay/Kjqm\r\nJ4OmnEqWXWkv1YNkJkt2PZQ83sMUXwDhEvL8peBgA30+M9YKNsZHBMwyy7aP\r\nyrMuUXZcCidrkO2XhRoIaluamOulhkw9JlCZhVpmMvUZknkgvsBEo4RKsTd6\r\ny3AGJqOmKrnCKz0xo43DGpJHfCprreBcqlFMTX/MoNlylFBXaLZp6BzEp+Sa\r\nK2zMAOEjsJNGDu80P6VGPM6gPzU3rV5G/ouGuvGEVsovAjLPnyIbmQ0EBqsh\r\neWlU7F3UnxTemAYG3zKanp0t334NiuAfpb/afK/am/N//Wu1Jk1NUO8QhXG4\r\namzBSQVT6CVmXfLmANEPvRK7C2N7QagOSqFh/eul1xzPzRRsEHHtQwwwIHmn\r\nKWjoEbWAMEVez655SxYC5CbbmTdjqVzT0eKJpT0eI1rQyDGyh41qpfYa46nX\r\nsJuCMi9u+G8BXJw7H282XdJzApv7gouQe0Ogn3XS7Y7cI56/iS+b4zChpBK5\r\n49GbwZ49xHtMr/H+Azj7B8ayJC38zKMBR0E=\r\n=npOJ\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-socket.io_0.0.0-2022-07-11--08-09_1657527004726_0.6098357472760614"},"_hasShrinkwrap":false},"0.32.0":{"name":"opentelemetry-instrumentation-socket.io","version":"0.32.0","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn build","test:ci":"yarn test-all-versions","test":"mocha --require @opentelemetry/contrib-test-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require @opentelemetry/contrib-test-utils","watch":"tsc -w","test-all-versions":"tav","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/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/instrumentation-http":"^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","socket.io":"^4.1.3","socket.io-client":"^4.1.3","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"55e1b892a2d6ec6c9097e6e39ff69d15562b549b","_id":"opentelemetry-instrumentation-socket.io@0.32.0","_nodeVersion":"14.20.1","_npmVersion":"lerna/3.22.1/node@v14.20.1+x64 (linux)","dist":{"integrity":"sha512-tQYuu9HwLi+yWF1/5hfO2Ca4GQJYR+TWmhgdjB6OkpH1NZa4xbIJW4I0uC+heKB3NvHSA6Z4H+QaNHFlF79+Kg==","shasum":"988da51076f94487ec228fb2694701a73ca0dd33","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.32.0.tgz","fileCount":16,"unpackedSize":78600,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCNj+u/z/dO78BFf32UYfSFHeu2heE3Vh9T9XT6p6PumwIgf38R8QRvjWhSPE2HCqYhLkhJRV7kHoSmgWZ0OPfn55Y="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjTnyPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqVxQ/8CNX0qnHrtfYx9LXoQSaDKJhjLMXtYm8teXi9QWaVWqTVrhCO\r\nhJwXiLSYTfMM/U5tmBxkdd+/cfbbjQkpRtmtEeli2WIsydIpnbgpgtfLdVdz\r\nlBe8H2TocGhcVH4kAe9gWxoXoeF0nofzZcK6FfUyGO1lN13VNk0Oxks8x/2x\r\nwyzR3NK3HDdGnNHLK/zyxTJkbkl+WwU82tGTPjlcGMyMZnI9knRKw7EvlZRG\r\nv8OeIM00YC2QFkpd9VX2qCkFqdt6fK1S8MvMA/cyk42pVlu9Qtm2CaENBvDM\r\n/0Ha0Ex3B5OpiTGEz4ERfxUtrBDhhDDSUr2HO6dTPFzaBRjMdnlAzU1FUBd4\r\npoqc62ATxLcPxBlmkD735oK7vs/a6QB0ZvX59H93t2HYGxmXY65h4GWgj5Bb\r\nJcVN028lKXMY+Rgl/Koke4Lpi93xQVJNjQYLHnNHi5jNXiikJ/o2/o5ezT4Y\r\n8wpK8h1Rgu8JGUf7qo26Pg8W2/EXN9RdNhWOsphS0hSYjuu4nHP0liYIsTYW\r\nWRo4FK1TlI2whK8ceJAx0ppJtj/kX3zraGshMuA+9Kq4HEI7QOkB97w4G3pw\r\nE7MEPLtwJzNeMideBnblDhK5S92gRUJ35UWsJVfFyQBzo8hrl/5YxRtsMQIe\r\nS0EPkRo+qrafX7ApvQh181FbaTWj2bZbfKE=\r\n=dDTW\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-socket.io_0.32.0_1666088079746_0.358425874204755"},"_hasShrinkwrap":false},"0.34.0":{"name":"opentelemetry-instrumentation-socket.io","version":"0.34.0","description":"open telemetry instrumentation for the `socket.io` package","keywords":["socket.io","opentelemetry","websocket"],"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"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"scripts":{"build":"tsc","prepare":"yarn build","test:ci":"yarn test-all-versions","test":"mocha --require @opentelemetry/contrib-test-utils","test:jaeger":"OTEL_EXPORTER_JAEGER_AGENT_HOST=localhost mocha --require @opentelemetry/contrib-test-utils","watch":"tsc -w","test-all-versions":"tav","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/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/instrumentation-http":"^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","socket.io":"^4.1.3","socket.io-client":"^4.1.3","test-all-versions":"^5.0.1","ts-node":"^9.1.1","typescript":"4.3.4"},"mocha":{"extension":["ts"],"spec":"test/**/*.spec.ts","require":["ts-node/register","opentelemetry-instrumentation-mocha"]},"gitHead":"ccc45183d4f5386a4f675f2c02acd8c41a4293d9","_id":"opentelemetry-instrumentation-socket.io@0.34.0","_nodeVersion":"14.20.1","_npmVersion":"lerna/3.22.1/node@v14.20.1+x64 (linux)","dist":{"integrity":"sha512-uBKb87SQViOgkzxcRRbHVboHMFc2IFsHXStD+uB7sLTr5iepHzvgHJEU7dyJhY1mv8JEmT/nm21OvLexlTNYpQ==","shasum":"65bcce7f55cbe7587b831a2f204f4f9a6da9eab0","tarball":"https://registry.npmjs.org/opentelemetry-instrumentation-socket.io/-/opentelemetry-instrumentation-socket.io-0.34.0.tgz","fileCount":16,"unpackedSize":79027,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD/kb0xl0XbLlaKCboaEijrQzhgYL6H6yo3crSi6HyOMQIgXOnY/Vo3HtcOUE4VxtesJQwLM595aMJ10mCFk9jlcLo="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJje2D8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqHURAAiYCY17BojDMOmMmVkS8KuruoXYJhyRNvyxmHavnZuZh7NRA/\r\n4Y5TEwvM2nZXL8ANQdmqLJpmYfL4UjFfXjr9JK5t1cbLdZStVIjJP+KkTMU6\r\nesy6Tw3ufHhj3pQQ70r7mJilEvY1v9KwxpIZ/OD/dF62CJmavtGTcwxogy3i\r\ns3YtldNYIO9ZGlpOorUawleqagCOfbwgj9t9X40OoxioV5H5+7AlCnM8GJPV\r\nO5PjfHzZ2ChP30Hc3gO8pqc6e02tUq4EHbVmNaXZo9044ndpZ/iA/aXfan3Y\r\nJPXBfvrXEq3SzuLQqOzhREnKeEcXPoZ1bxG5zhX7wmirbkAY1YXsYRKzKk3a\r\njPkjcAi9ugSnWhD5Dfn45vZg8neDIjZdVkUcKvrU1UlkzxZKb/c7zf98oi4r\r\nHXhbFoYIs/wNknn//sCES0kBNuUQOY26vlapX+qBhxPagXOUs4kPacaGyUOU\r\n0TprU6wJtmeBVmFOWhhC+GX70kKnNIv7R4uGSI/3RjcJibWmoFOHHTrNmn9G\r\nN+APOB4Pw0xHFWKzCVBn7X8E7o8GxSzCtWlY7x7KS/uOIlZpTPe5fKuHneXt\r\nULJHBYwDQU5h1jc4UegfIAF9UaTWd2B+dZc9OmYZu6CCz9RdLUWE1o5SOuXi\r\npM7tX0OXqQDvY8cItwTdRL91+nIk9L9JKeI=\r\n=X11t\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-socket.io_0.34.0_1669030139961_0.7432083321674356"},"_hasShrinkwrap":false}},"time":{"created":"2021-05-25T13:04:37.188Z","0.0.0-2021-05-25--13-03":"2021-05-25T13:04:37.326Z","modified":"2022-11-21T11:29:00.208Z","0.0.0-2021-05-26--07-22":"2021-05-26T07:23:14.398Z","0.0.0-2021-05-26--15-12":"2021-05-26T15:13:39.310Z","0.4.1":"2021-06-02T11:41:29.256Z","0.0.0-2021-06-07--07-42":"2021-06-07T07:43:43.756Z","0.0.0-2021-06-09--06-50":"2021-06-09T06:51:09.231Z","0.5.0":"2021-06-09T09:12:33.537Z","0.0.0-2021-06-14--13-06":"2021-06-14T13:07:10.261Z","0.5.1":"2021-06-16T09:20:07.001Z","0.0.0-2021-06-17--13-11":"2021-06-17T13:12:17.815Z","0.21.0":"2021-06-20T10:06:23.266Z","0.0.0-2021-06-23--07-47":"2021-06-23T07:48:55.603Z","0.0.0-2021-06-23--08-12":"2021-06-23T08:13:10.492Z","0.0.0-2021-06-23--15-11":"2021-06-23T15:12:39.541Z","0.22.0":"2021-06-28T08:28:49.442Z","0.22.1":"2021-07-04T14:25:00.601Z","0.23.0":"2021-07-05T09:55:02.426Z","0.23.1":"2021-07-14T15:55:04.409Z","0.0.0-2021-08-01--12-54":"2021-08-01T12:55:23.981Z","0.24.0":"2021-08-01T14:16:40.966Z","0.24.1":"2021-09-01T12:38:24.154Z","0.0.0-2021-09-19--10-26":"2021-09-19T10:27:42.007Z","0.25.0":"2021-09-19T12:44:39.691Z","0.0.0-2021-10-20--09-32":"2021-10-20T09:33:09.145Z","0.26.0":"2021-10-26T19:29:47.586Z","0.26.1":"2021-11-29T11:11:58.393Z","0.0.0-2021-12-15--12-47":"2021-12-15T12:48:50.521Z","0.0.0-2021-12-15--13-05":"2021-12-15T13:07:00.668Z","0.0.0-2021-12-15--13-29":"2021-12-15T13:31:12.497Z","0.0.0-2021-12-15--16-17":"2021-12-15T16:18:28.612Z","0.0.0-2021-12-20--13-41":"2021-12-20T13:42:19.819Z","0.0.0-2021-12-21--15-57":"2021-12-21T15:58:40.274Z","0.0.0-2021-12-22--14-33":"2021-12-22T14:36:27.796Z","0.0.0-2021-12-26--12-22":"2021-12-26T12:23:08.077Z","0.0.0-2021-12-26--12-31":"2021-12-26T12:32:56.974Z","0.27.0":"2021-12-27T09:51:03.314Z","0.0.0-2022-04-13--14-32":"2022-04-13T14:32:54.735Z","0.27.1":"2022-04-13T15:40:57.418Z","0.28.0":"2022-06-02T14:38:13.262Z","0.29.0":"2022-06-28T09:38:09.042Z","0.0.0-2022-07-11--08-09":"2022-07-11T08:10:04.895Z","0.32.0":"2022-10-18T10:14:39.921Z","0.34.0":"2022-11-21T11:29:00.139Z"},"maintainers":[{"name":"aspecto-release-bot","email":"dev@aspecto.io"}],"description":"open telemetry instrumentation for the `socket.io` package","homepage":"https://github.com/aspecto-io/opentelemetry-ext-js","keywords":["socket.io","opentelemetry","websocket"],"repository":{"type":"git","url":"git+https://github.com/aspecto-io/opentelemetry-ext-js.git"},"author":{"name":"Aspecto","email":"support@aspecto.io","url":"https://aspecto.io"},"bugs":{"url":"https://github.com/aspecto-io/opentelemetry-ext-js/issues"},"license":"Apache-2.0","readme":"# OpenTelemetry socket.io Instrumentation for Node.js\n[![NPM version](https://img.shields.io/npm/v/opentelemetry-instrumentation-socket.io.svg)](https://www.npmjs.com/package/opentelemetry-instrumentation-socket.io)\n\nThis module provides automatic instrumentation for [`socket.io`](https://github.com/socketio/socket.io).\n\n## Installation\n\n```\nnpm install --save opentelemetry-instrumentation-socket.io\n```\n\n## Usage\nFor further automatic instrumentation instruction see the [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-instrumentation) package.\n\n```js\nconst { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { SocketIoInstrumentation } = require('opentelemetry-instrumentation-socket.io');\n\nregisterInstrumentations({\n  tracerProvider,\n  instrumentations: [\n    new SocketIoInstrumentation({\n      // see under for available configuration\n    })\n  ]\n});\n```\n\n### socket.io Instrumentation Options\n\nsocket.io instrumentation has few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `emitHook` | `SocketIoHookFunction` | hook for adding custom attributes before socket.io emits the event |\n| `emitIgnoreEventList` | `string[]` | names of emitted events to ignore tracing for |\n| `onHook` | `SocketIoHookFunction` | hook for adding custom attributes before the event listener (callback) is invoked |\n| `onIgnoreEventList` | `string[]` | names of listened events to ignore tracing for |\n| `traceReserved` | `boolean` | set to true if you want to trace socket.io reserved events (see https://socket.io/docs/v4/emit-cheatsheet/#Reserved-events) |\n| `filterHttpTransport`| `HttpTransportInstrumentationConfig` | set if you want to filter out the HTTP traces when using HTTP polling as the transport (see below)\n\n#### HttpTransportInstrumentationConfig\nIf you use `opentelemetry-instrumentation-socket.io` alongside `instrumentation-http`, socket.io might use HTTP polling as the transport method. Therefore, you will see an HTTP span created as the parent of the socket.io span. \nTo filter out those spans; we use HttpTransportInstrumentationConfig.\n\n`HttpTransportInstrumentationConfig` has a few options available to choose from. You can set the following:\n\n| Options        | Type                                   | Description                                                                                     |\n| -------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------- |\n| `httpInstrumentation`| `HttpInstrumentation` | the instance of HttpInstrumentation you pass to `registerInstrumentations`|\n| `socketPath` | `string` | the socket.io endpoint path (defaults to `/socket.io/`) |\n---\n\nThis extension (and many others) was developed by [Aspecto](https://www.aspecto.io/) with ❤️\n","readmeFilename":"README.md"}