Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@hypertrace/nodejsagent
Advanced tools
Readme
nodejsagent
provides a set of complementary instrumentation features for collecting relevant data to be processed by Hypertrace.
agent-config
submodule.
git submodule update --init --recursive
./src/instrumentation/config/generated.js
and ./src/instrumentation/config.generated.d.ts
.
npm run generate_pb
npm run build
You can then install the generated .tgz as a normal dependency.
Note: Using npm link doesnt solve the local testing problem as it will use the hypertrace package dev-dependencies during instrumentation instead of the targetted node app
Run the example application
cd ./examples/correlation
config.yaml
if needed.npm install
npm start
Unit tests
cd ./test/externalServices
docker-compose up -d
cd -
npm run test
cd ./test/externalServices
docker-compose down
cd -
Tests should be added to the test
directory, in a structure that matches that of the file you are attempting to test.
Ideally all functionality is testable in locally runnable unit-tests(as opposed to in a docker container), primarily for ease of debugging.
To build the layer & upload it to an AWS account:
./build_layer.sh <REGION>
where region is the region you want the layer to be available inAWS_LAMBDA_EXEC_WRAPPER=/opt/hypertrace-instrument
HT_REPORTING_ENDPOINT
to a valid OTLP collector address. - If using with a collector layer, no need to specify an OTLP address as it will export to localhost:4317FAQs
Hypertrace Node.js Agent
The npm package @hypertrace/nodejsagent receives a total of 260 weekly downloads. As such, @hypertrace/nodejsagent popularity was classified as not popular.
We found that @hypertrace/nodejsagent 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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.