🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@hyperdx/instrumentation-sentry-node

Package Overview
Dependencies
Maintainers
0
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hyperdx/instrumentation-sentry-node

[![NPM Published Version][npm-img]][npm-url] [![Apache License][license-image]][license-image]

0.1.0
latest
Source
npm
Version published
Maintainers
0
Created
Source

OpenTelemetry Sentry Instrumentation for Node.js

NPM Published Version Apache License

This module provides automatic instrumentation for the @sentry/nodemodule.

Compatible with OpenTelemetry JS API and SDK 1.0+.

Installation

npm install --save @hyperdx/instrumentation-sentry-node

Supported Versions

  • >=7.30.0 <9

Usage

const {
  SentryNodeInstrumentation,
} = require('@hyperdx/instrumentation-sentry-node');
const { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node');
const { registerInstrumentations } = require('@opentelemetry/instrumentation');

const provider = new NodeTracerProvider();
provider.register();

registerInstrumentations({
  instrumentations: [new SentryNodeInstrumentation()],
});

License

Apache 2.0 - See LICENSE for more information.

Keywords

sentry

FAQs

Package last updated on 28 Jun 2024

Did you know?

Socket

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.

Install

Related posts