1.7.4 • Published 2 years ago

sohaotel-js-k v1.7.4

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

How to install?

npm run build

How to use?

import SohaOtel from 'sohaotel-js';

const otelInstance = new SohaOtel(yourServiceName,YourTracerName,Version); yourServiceName is your serviceName can not be empty TracerName can be the name of your sdk can not be empty Version can be the version of your sdk can be empty

otelInstance includes: { tracer, SemanticAttributes, SpanKind, SpanStatusCode, trace, context, propagation, serializeString, exact }