opentelemetry-tracing

1.0.2 • Public • Published

Opentelemetry Tracing

Description

Support add tracing in NodeJS project

Installation

$ npm install opentelemetry-tracing
or 
$ yarn add opentelemetry-tracing

Inject plugin

// import lib
import * as tracer from 'opentelemetry-tracing';

// Inject current project
await tracer.start({
	serviceName: "<service_name>",
	otlpEndpoint: "<domain_otlp | domain_jagger | .... >",
	version: "<version_tracing>",
	exporter: "<exporter>",
});

Note:

You can view list exporter has supported https://opentelemetry.io/docs/instrumentation/js/exporters

License

Nest is MIT licensed.

Package Sidebar

Install

npm i opentelemetry-tracing

Weekly Downloads

4

Version

1.0.2

License

ISC

Unpacked Size

9.67 kB

Total Files

6

Last publish

Collaborators

  • vophitruonganh