@jrosadob/ms-trace
v0.0.18
Published
ms-trace
Maintainers
Readme
@jrosadob/ms-trace
[](https://badge.fury.io/js/@jrosadob%2Fms-trace)Package dependencies
This package use:
$ npm i --save @opentelemetry/sdk-node
$ npm i --save @opentelemetry/auto-instrumentations-node
$ npm i --save @opentelemetry/exporter-trace-otlp-http
$ npm i --save @jrosadob/ms-configHow use
Install
$ npm i @jrosadob/ms-traceSample .env file
The rest of the configuration should be on the configuration server in yml format.
app:
name: AppName
tracer:
exporter:
url: http://localhost:4318/v1/tracesUse in main.ts
This sample show how use ConfigServer in main.ts
