{"_id":"@useparagon/opentelemetry-instrumentation-bull","_rev":"38-3ff5274c26357fd0db0cea5f69deea19","name":"@useparagon/opentelemetry-instrumentation-bull","dist-tags":{"latest":"0.0.9"},"versions":{"0.0.7":{"name":"@useparagon/opentelemetry-instrumentation-bull","version":"0.0.7","keywords":["bull","instrumentation","opentelemetry","tracing"],"author":{"name":"\"Anand Chaudhary\"","email":"anand@useparagon.com"},"license":"Apache-2.0","_id":"@useparagon/opentelemetry-instrumentation-bull@0.0.7","maintainers":[{"name":"ethan-paragon","email":"ethan@useparagon.com"},{"name":"pawas-saxena","email":"pawas.saxena@gmail.com"},{"name":"ishmaelparagon","email":"ishmael@useparagon.com"}],"dist":{"shasum":"9e394d8a317caea5adb5149691c0b5cc3cae181f","tarball":"https://registry.npmjs.org/@useparagon/opentelemetry-instrumentation-bull/-/opentelemetry-instrumentation-bull-0.0.7.tgz","fileCount":20,"integrity":"sha512-HtcuV6yu+gjw9ujjoIyTZRirLGjFrTNDvXekkcnLAyBKNtdW+Hz1D1WL/d2U1FgPlHdhZjUqjYPAYLbvuZYwRw==","signatures":[{"sig":"MEUCIHLyruva+IsZoJ7RCUxS6s6uxIiVjDkVkmRBqf85JK5tAiEAvdWNS44Kx+YKbJq7Dt+DHgif7Uz4mgszHnpKUeC8aWg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32918},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"lint":"eslint src/ test/ --ext .ts","test":"mocha --require ts-node/register --exit --timeout 10000 test/**/*.test.ts","compile":"tsc -p .","prepare":"npm run compile","lint:fix":"eslint src/ test/ --ext .ts --fix","compile:watch":"tsc -w"},"_npmUser":{"name":"ishmaelparagon","email":"ishmael@useparagon.com"},"description":"Auto-instrumentation for the BullJs framework","directories":{},"licenseText":"Copyright 2022 Jennifer Moore\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.","dependencies":{"flat":"^5.0.2","@opentelemetry/api":"^1.3.0","@opentelemetry/instrumentation":"^0.34.0","@opentelemetry/semantic-conventions":"^1.8.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","bull":"^4.10.1","mocha":"^10.0.0","sinon":"^14.0.0","eslint":"^8.23.0","shimmer":"^1.2.1","ts-node":"^10.9.1","rewiremock":"^3.14.3","typescript":"^4.8.2","@types/bull":"^4.10.0","@types/flat":"^5.0.2","@types/node":"^18.7.13","@types/mocha":"^9.1.1","@types/sinon":"^10.0.13","ioredis-mock":"^8.2.2","@types/ioredis":"^4.28.10","@types/shimmer":"^1.0.2","@typescript-eslint/parser":"^5.35.1","@opentelemetry/sdk-trace-base":"^1.8.0","@opentelemetry/sdk-trace-node":"^1.8.0","@typescript-eslint/eslint-plugin":"^5.35.1","@opentelemetry/context-async-hooks":"^1.8.0"},"peerDependencies":{"bull":"^4.10.1"},"_npmOperationalInternal":{"tmp":"tmp/opentelemetry-instrumentation-bull_0.0.7_1692647518678_0.4464951861819295","host":"s3://npm-registry-packages"}},"0.0.8":{"name":"@useparagon/opentelemetry-instrumentation-bull","version":"0.0.8","keywords":["bull","instrumentation","opentelemetry","tracing"],"author":{"name":"\"Anand Chaudhary\"","email":"anand@useparagon.com"},"license":"Apache-2.0","_id":"@useparagon/opentelemetry-instrumentation-bull@0.0.8","maintainers":[{"name":"luis-ramirez","email":"luis.ramirez@useparagon.com"},{"name":"adriantucci-paragon","email":"adrian.tucci@useparagon.com"},{"name":"tai-paragon","email":"tai@useparagon.com"},{"name":"artavia-paragon","email":"andres.artavia@useparagon.com"},{"name":"raul-paragon","email":"raul.gomez@useparagon.com"},{"name":"carlos.garcia506","email":"carlos.garcia@useparagon.com"},{"name":"francisco.rossi","email":"francisco.rossi@useparagon.com"},{"name":"abhisheksharma201","email":"abhishek.sharma@useparagon.com"},{"name":"shivam_kumar027","email":"shivam.kumar@useparagon.com"},{"name":"anuragbhati","email":"anurag.bhati@useparagon.com"},{"name":"richard-paragon","email":"richard.watson@useparagon.com"},{"name":"sunny9899","email":"suryansh.pajiala@useparagon.com"},{"name":"rahulgoyal","email":"rahul.goyal@useparagon.com"},{"name":"nautidpk","email":"deepak@useparagon.com"},{"name":"deepanshu-pg","email":"deepanshu@useparagon.com"},{"name":"vikash_paragon","email":"vikash.kumar@useparagon.com"},{"name":"nipun.dawar","email":"nipun.dawar@useparagon.com"},{"name":"juanpa-a","email":"juan.ascencio@useparagon.com"},{"name":"ahasseyp","email":"albert.hassey@useparagon.com"},{"name":"loren.sanz","email":"loren.sanz@useparagon.com"},{"name":"ayushparagon","email":"ayush.mishra@useparagon.com"},{"name":"paragonbot","email":"services@useparagon.com"},{"name":"anakshiant-p","email":"anand@useparagon.com"},{"name":"ted-paragon","email":"ted.oconnor@useparagon.com"},{"name":"ethan-paragon","email":"ethan@useparagon.com"},{"name":"ishmaelparagon","email":"ishmael@useparagon.com"}],"dist":{"shasum":"b81081bba1a313a3bd95e9418c7779dca634cfe3","tarball":"https://registry.npmjs.org/@useparagon/opentelemetry-instrumentation-bull/-/opentelemetry-instrumentation-bull-0.0.8.tgz","fileCount":20,"integrity":"sha512-c4661rM66TIZHBRzi2QUg15GD3e/bXLBwKkxJz1BGDXjEJtEK5DK+0jX2yr10s+v1vl47bnXh3PRPen6APTwRQ==","signatures":[{"sig":"MEQCIELBRNBqvYMp75RJmBiG6eQGYVpY4ej5m8W7AR4MUyS5AiAOklI4m2mG89RWwBzCCwcejbGqw491FKEfz3d4kOeN7Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32999},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"lint":"eslint src/ --ext .ts","test":"mocha --require ts-node/register --exit --timeout 10000 test/**/*.test.ts","compile":"tsc -p .","prepare":"npm run compile","lint:fix":"eslint src/ --ext .ts --fix","compile:watch":"tsc -w"},"_npmUser":{"name":"ishmaelparagon","email":"ishmael@useparagon.com"},"description":"Auto-instrumentation for the BullJs framework","directories":{},"licenseText":"Copyright 2022 Jennifer Moore\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.","dependencies":{"flat":"^5.0.2","@opentelemetry/api":"^1.9.0","@opentelemetry/instrumentation":"^0.54.0","@opentelemetry/semantic-conventions":"^1.27.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","bull":"^4.10.1","mocha":"^10.0.0","sinon":"^14.0.0","eslint":"^8.23.0","shimmer":"^1.2.1","ts-node":"^10.9.1","rewiremock":"^3.14.3","typescript":"^4.8.2","@types/bull":"^4.10.0","@types/flat":"^5.0.2","@types/node":"^18.7.13","@types/mocha":"^9.1.1","@types/sinon":"^10.0.13","ioredis-mock":"^8.2.2","@types/ioredis":"^4.28.10","@types/shimmer":"^1.0.2","@typescript-eslint/parser":"^5.35.1","@opentelemetry/sdk-trace-base":"^1.8.0","@opentelemetry/sdk-trace-node":"^1.8.0","@typescript-eslint/eslint-plugin":"^5.35.1","@opentelemetry/context-async-hooks":"^1.8.0"},"peerDependencies":{"bull":"^4.10.1"},"_npmOperationalInternal":{"tmp":"tmp/opentelemetry-instrumentation-bull_0.0.8_1730505176197_0.17460731538072793","host":"s3://npm-registry-packages"}},"0.0.9":{"name":"@useparagon/opentelemetry-instrumentation-bull","version":"0.0.9","keywords":["bull","instrumentation","opentelemetry","tracing"],"author":{"name":"\"Anand Chaudhary\"","email":"anand@useparagon.com"},"license":"Apache-2.0","_id":"@useparagon/opentelemetry-instrumentation-bull@0.0.9","maintainers":[{"name":"luis-ramirez","email":"luis.ramirez@useparagon.com"},{"name":"adriantucci-paragon","email":"adrian.tucci@useparagon.com"},{"name":"tai-paragon","email":"tai@useparagon.com"},{"name":"artavia-paragon","email":"andres.artavia@useparagon.com"},{"name":"raul-paragon","email":"raul.gomez@useparagon.com"},{"name":"carlos.garcia506","email":"carlos.garcia@useparagon.com"},{"name":"francisco.rossi","email":"francisco.rossi@useparagon.com"},{"name":"abhisheksharma201","email":"abhishek.sharma@useparagon.com"},{"name":"shivam_kumar027","email":"shivam.kumar@useparagon.com"},{"name":"anuragbhati","email":"anurag.bhati@useparagon.com"},{"name":"richard-paragon","email":"richard.watson@useparagon.com"},{"name":"sunny9899","email":"suryansh.pajiala@useparagon.com"},{"name":"rahulgoyal","email":"rahul.goyal@useparagon.com"},{"name":"nautidpk","email":"deepak@useparagon.com"},{"name":"deepanshu-pg","email":"deepanshu@useparagon.com"},{"name":"vikash_paragon","email":"vikash.kumar@useparagon.com"},{"name":"nipun.dawar","email":"nipun.dawar@useparagon.com"},{"name":"juanpa-a","email":"juan.ascencio@useparagon.com"},{"name":"ahasseyp","email":"albert.hassey@useparagon.com"},{"name":"loren.sanz","email":"loren.sanz@useparagon.com"},{"name":"ayushparagon","email":"ayush.mishra@useparagon.com"},{"name":"paragonbot","email":"services@useparagon.com"},{"name":"anakshiant-p","email":"anand@useparagon.com"},{"name":"ted-paragon","email":"ted.oconnor@useparagon.com"},{"name":"ethan-paragon","email":"ethan@useparagon.com"},{"name":"ishmaelparagon","email":"ishmael@useparagon.com"}],"dist":{"shasum":"1f7f2284cbc5fee5cbbe16abfebe08fbd72890ff","tarball":"https://registry.npmjs.org/@useparagon/opentelemetry-instrumentation-bull/-/opentelemetry-instrumentation-bull-0.0.9.tgz","fileCount":20,"integrity":"sha512-Q9kXAB8OwuvXoj9e1QCoAnzLjH6HR8i2UI0d5s7lzKLZADuth7c+lnDxbbxcRbwsE1wrYfWqJMYKzFh35i2q/Q==","signatures":[{"sig":"MEUCIQCd23mNekamrkpJ8N3u/FKFdEZyc0UUD22BLV6BJipIjwIgVxeo0VPNDRty2TWQEkVec8wgZJen+XXqlgiURBNDv/8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32999},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"lint":"eslint src/ --ext .ts","test":"mocha --require ts-node/register --exit --timeout 10000 test/**/*.test.ts","compile":"tsc -p .","prepare":"npm run compile","lint:fix":"eslint src/ --ext .ts --fix","compile:watch":"tsc -w"},"_npmUser":{"name":"ishmaelparagon","email":"ishmael@useparagon.com"},"description":"Auto-instrumentation for the BullJs framework","directories":{},"licenseText":"Copyright 2022 Jennifer Moore\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.","dependencies":{"flat":"^5.0.2","@opentelemetry/api":"^1.9.0","@opentelemetry/instrumentation":"^0.54.0","@opentelemetry/semantic-conventions":"^1.27.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","bull":"^4.10.1","mocha":"^10.0.0","sinon":"^14.0.0","eslint":"^8.23.0","shimmer":"^1.2.1","ts-node":"^10.9.1","rewiremock":"^3.14.3","typescript":"^4.8.2","@types/bull":"^4.10.0","@types/flat":"^5.0.2","@types/node":"^18.7.13","@types/mocha":"^9.1.1","@types/sinon":"^10.0.13","ioredis-mock":"^8.2.2","@types/ioredis":"^4.28.10","@types/shimmer":"^1.0.2","@typescript-eslint/parser":"^5.35.1","@opentelemetry/sdk-trace-base":"^1.8.0","@opentelemetry/sdk-trace-node":"^1.8.0","@typescript-eslint/eslint-plugin":"^5.35.1","@opentelemetry/context-async-hooks":"^1.8.0"},"peerDependencies":{"bull":"^4.10.1"},"_npmOperationalInternal":{"tmp":"tmp/opentelemetry-instrumentation-bull_0.0.9_1730505199053_0.8095660670855818","host":"s3://npm-registry-packages"}}},"time":{"created":"2023-08-21T19:51:58.563Z","modified":"2026-06-19T12:21:35.461Z","0.0.7":"2023-08-21T19:51:58.853Z","0.0.8":"2024-11-01T23:52:56.442Z","0.0.9":"2024-11-01T23:53:19.298Z"},"author":{"name":"\"Anand Chaudhary\"","email":"anand@useparagon.com"},"license":"Apache-2.0","keywords":["bull","instrumentation","opentelemetry","tracing"],"description":"Auto-instrumentation for the BullJs framework","maintainers":[{"email":"anand@useparagon.com","name":"anakshiant-p"},{"email":"services@useparagon.com","name":"paragonbot"},{"email":"ted.oconnor@useparagon.com","name":"ted-paragon"},{"email":"ishmael@useparagon.com","name":"ishmaelparagon"}],"readme":"# OpenTelemetry Bull Instrumentation\n\n\n\nThis module provides automatic tracing instrumentation for [Bull][https://github.com/OptimalBits/bull].\n\n\n\n## Installation\n\n```bash\nnpm install --save @useparagon/opentelemetry-instrumentation-bull\n```\n\n## Usage\n\nOpenTelemetry Bullmq Instrumentation allows the user to automatically collect trace data from Bullmq jobs and workers and export them to the backend of choice.\n\nTo load the instrumentation, specify it in the instrumentations list to `registerInstrumentations`. There is currently no configuration option.\n\n```javascript\nconst { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node');\nconst { registerInstrumentations } = require('@opentelemetry/instrumentation');\nconst { BullInstrumentation } = require('@useparagon/opentelemetry-instrumentation-bull');\n\nconst provider = new NodeTracerProvider();\nprovider.register();\n\nregisterInstrumentations({\n  instrumentations: [\n    new BullInstrumentation(),\n  ],\n});\n```\n\n## Emitted Spans\n\n| Name                                                   | BullMQ method           | Description                                         |\n|--------------------------------------------------------|-------------------------|-----------------------------------------------------|\n| `{QueueName.JobName} Queue.add`                        | `Queue.add            ` | A new job is added to the queue                     |\n| `{QueueName} Queue.addBulk`                            | `Queue.addBulk        ` | New jobs are added to the queue in bulk             |\n| `{QueueName} Queue.getNextJob`                         | `Queue.getNextJob     ` | getting next job from queue                         |\n| `{QueueName} Queue.clean`                              | `Queue.clean          ` | Cleaning jobs from queue                            |\n| `{QueueName} Queue.processJob`                         | `Queue.processJob     ` | Job processing                                      |\n\n\n","readmeFilename":"README.md"}