
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.
@qrvey/telemetry
Advanced tools
This package provides telemetry instrumentation and logging for Qrvey services.
This package provides telemetry instrumentation and logging for Qrvey services.
Set the following environment variables to configure telemetry:
ENABLE_OTLP_LOG=true # Enable OpenTelemetry logging
ENABLE_OTLP_TRACE=true # Enable OpenTelemetry tracing
ENABLE_OTLP_METRIC=true # Enable OpenTelemetry metrics
QRVEY_SERVICE_NAME=Qrvey-Service # Name of the service for telemetry identification
QRVEY_SERVICE_VERSION=1.0.0 # Version of the service
OTLP_TRACE_URL=http://localhost:4320/v1/traces # Endpoint for sending trace data
OTLP_LOG_URL=http://localhost:4320/v1/logs # Endpoint for sending log data
OTLP_METRIC_URL=http://otel-collector:4318/v1/metrics # Endpoint for sending metric data
ENABLE_CONSOLE_LOGS=false # Enable or disable console logging
NODE_ENV=development # Node.js environment (development, production, etc.)
LOG_LEVEL=debug # Minimum log level (debug, info, warn, error)
At the beginning of each service, start the InstrumentationService
and use the LoggerService
for logging purposes:
const { InstrumentationService, LoggerService } = require("@qrvey/telemetry");
// Initialize instrumentation
new InstrumentationService();
// Initialize logger (optional name for context)
const logger = new LoggerService('your_context_name');
logger.info("this is info message");
logger.debug("this is a debug message");
logger.warn("this is a warning message");
logger.error("this is an error message");
FAQs
This package provides telemetry instrumentation and logging for Qrvey services.
We found that @qrvey/telemetry demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 14 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.