@jrosadob/ms-trace
TypeScript icon, indicating that this package has built-in type declarations

0.0.18 • Public • Published

@jrosadob/ms-trace

[![npm version](https://badge.fury.io/js/@jrosadob%2Fms-trace.svg)](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-config

How use

Install

$ npm i @jrosadob/ms-trace

Sample .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/traces

Use in main.ts

This sample show how use ConfigServer in main.ts

Package Sidebar

Install

npm i @jrosadob/ms-trace

Weekly Downloads

1

Version

0.0.18

License

MIT

Unpacked Size

183 kB

Total Files

14

Last publish

Collaborators

  • jrosadob