Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@aws/aws-distro-opentelemetry-node-autoinstrumentation
Advanced tools
This package provides Amazon Web Services distribution of the OpenTelemetry Node Instrumentation, which allows for auto-instrumentation of NodeJS applications.
Install this package into your NodeJS project with:
npm install --save @aws/aws-distro-opentelemetry-node-autoinstrumentation
Run your application with ADOT NodeJS with:
node --require '@aws/aws-distro-opentelemetry-node-autoinstrumentation/register' your-application.js
export OTEL_RESOURCE_ATTRIBUTES=service.name=example-application-service-name
export OTEL_AWS_APPLICATION_SIGNALS_ENABLED=true
export OTEL_AWS_APPLICATION_SIGNALS_EXPORTER_ENDPOINT=http://localhost:4316/v1/metrics
export OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf
export OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=http://localhost:4316/v1/traces
export OTEL_TRACES_EXPORTER=console,otlp
export OTEL_TRACES_SAMPLER=xray
export OTEL_TRACES_SAMPLER_ARG=endpoint=http://localhost:2000,polling_interval=300
Environment Variable | Description | Example |
---|---|---|
OTEL_EXPORTER_OTLP_PROTOCOL | Leave unset so that ADOT JS will use a recommended OTLP protocol | http/protobuf |
OTEL_PROPAGATORS | Leave unset so that ADOT JS will use a recommended list of propagators | xray,tracecontext,b3,b3multi |
OTEL_NODE_DISABLED_INSTRUMENTATIONS | Leave unset so that ADOT JS will disable a recommended list of instrumentations | fs,dns |
OTEL_NODE_RESOURCE_DETECTORS | Leave unset so that ADOT JS will use a recommended list of Resource Detectors. If set, env should be at the end of the list | aws,env |
FAQs
This package provides Amazon Web Services distribution of the OpenTelemetry Node Instrumentation, which allows for auto-instrumentation of NodeJS applications.
The npm package @aws/aws-distro-opentelemetry-node-autoinstrumentation receives a total of 13,230 weekly downloads. As such, @aws/aws-distro-opentelemetry-node-autoinstrumentation popularity was classified as popular.
We found that @aws/aws-distro-opentelemetry-node-autoinstrumentation demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.