@saidsef/tracing-node

1.10.3 • Public • Published

Opentelemetry Wrapper for Tracing Node Applications

CI Release GitHub issues npm npm

Get telemetry for your app in less than 3 minutes!

A wrapper around opentelemetry and set of instrumentation applications. This is to make instrumentation (more) idempotent.

Prerequisites

  • NodeJS
  • ...
  • Profit!

Instalation

npm install @saidsef/tracing-node --save

Usage

const { setupTracing } = require('@saidsef/tracing-node');
setupTracing('hostname', 'application_name', 'endpoint');
import { setupTracing } from '@saidsef/tracing-node';
setupTracing('hostname', 'application_name', 'endpoint');

Required Parameters are

Name Type Description
hostname string container / pod hostname
application_name string service / application name
endpoint string tracing endpoint i.e. <schema>://<host>:<port>

Source

Our latest and greatest source of tracing-node can be found on GitHub. Fork us!

Contributing

We would ❤️ you to contribute by making a pull request.

Please read the official Contribution Guide for more information on how you can contribute.

Package Sidebar

Install

npm i @saidsef/tracing-node

Weekly Downloads

81

Version

1.10.3

License

Apache-2.0

Unpacked Size

25.8 kB

Total Files

10

Last publish

Collaborators

  • saidsef