opentelemetry-tracing
v1.0.2
Published
Support add tracing in NodeJS project
Downloads
77
Maintainers
Readme
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.