Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
@useparagon/opentelemetry-instrumentation-bull
Advanced tools
Auto-instrumentation for the BullJs framework
This module provides automatic tracing instrumentation for [Bull][https://github.com/OptimalBits/bull].
npm install --save @useparagon/opentelemetry-instrumentation-bull
OpenTelemetry Bullmq Instrumentation allows the user to automatically collect trace data from Bullmq jobs and workers and export them to the backend of choice.
To load the instrumentation, specify it in the instrumentations list to registerInstrumentations
. There is currently no configuration option.
const { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node');
const { registerInstrumentations } = require('@opentelemetry/instrumentation');
const { BullInstrumentation } = require('@useparagon/opentelemetry-instrumentation-bull');
const provider = new NodeTracerProvider();
provider.register();
registerInstrumentations({
instrumentations: [
new BullInstrumentation(),
],
});
Name | BullMQ method | Description |
---|---|---|
{QueueName.JobName} Queue.add | Queue.add | A new job is added to the queue |
{QueueName} Queue.addBulk | Queue.addBulk | New jobs are added to the queue in bulk |
{QueueName} Queue.getNextJob | Queue.getNextJob | getting next job from queue |
{QueueName} Queue.clean | Queue.clean | Cleaning jobs from queue |
{QueueName} Queue.processJob | Queue.processJob | Job processing |
FAQs
Auto-instrumentation for the BullJs framework
The npm package @useparagon/opentelemetry-instrumentation-bull receives a total of 5,691 weekly downloads. As such, @useparagon/opentelemetry-instrumentation-bull popularity was classified as popular.
We found that @useparagon/opentelemetry-instrumentation-bull demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.