
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@aspecto/opentelemetry-plugin-kafka-node
Advanced tools
open telemetry instrumentation for the `kafka-node` kafka client
This module provides automatic instrumentation for kafka-node
.
npm install --save @aspecto/opentelemetry-plugin-kafka-node
To load a specific plugin (kafka-node in this case), specify it in the Node Tracer's configuration
const { NodeTracerProvider } = require('@opentelemetry/node');
const provider = new NodeTracerProvider({
plugins: {
'kafka-node': {
enabled: true,
// You may use a package name or absolute path to the file.
path: '@aspecto/opentelemetry-plugin-kafka-node',
}
}
});
kafka-node plugin has few options available to choose from. You can set the following:
Options | Type | Description |
---|---|---|
producerHook | KafkaProducerCustomAttributeFunction | Hook called before producer message is sent, which allow to add custom attributes to span. |
consumerHook | KafkaConsumerCustomAttributeFunction | Hook called before consumer message is processed, which allow to add custom attributes to span. |
Producer
and Consumer
.FAQs
open telemetry instrumentation for the `kafka-node` kafka client
We found that @aspecto/opentelemetry-plugin-kafka-node demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.