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 }