Skip to content

This OpenTelemetry wrapper delivers seamless, lightning-fast observability, empowering developers to monitor, debug, and optimise microservices with ease. It auto-configures common instrumentations (HTTP, Express, AWS SDK, etc.) and provides a single entry point for integrating tracing.

License

Notifications You must be signed in to change notification settings

saidsef/tracing-node

Opentelemetry Wrapper for Tracing Node Applications

CI Release GitHub issues npm npm GitHub release(latest by date) Commits

Get telemetry for your app in less than 3 minutes!

Effortlessly supercharge your applications with world-class distributed tracing! This OpenTelemetry wrapper delivers seamless, lightning-fast observability, empowering developers to monitor, debug, and optimise microservices with ease. Designed for modern cloud-native environments, it’s the smart choice for engineers who demand reliability, scalability, and actionable insights. Get started in minutes and unlock the full potential of your service architecture—no fuss, just results. This is to make instrumentation (more) idempotent.

Prerequisites

  • NodeJS
  • ...
  • Profit?

Instalation

npm install @saidsef/tracing-node --save

Usage

You can set required params via env variables or function:

Env vars:

Environment Variable Description Required
CONTAINER_NAME/HOSTNAME Container or pod hostname No
ENDPOINT Tracing collector endpoint Yes
SERVICE_NAME Service/application name Yes

Function args

import { setupTracing } from '@saidsef/tracing-node';
setupTracing({hostname: 'hostname', serviceName: 'service_name', url: 'endpoint'});

Required Parameters are

Name Type Description Required Default
hostname string container / pod hostname No hostname
serviceName string service / application name Yes n/a
url string tracing endpoint i.e. <schema>://<host>:<port> Yes n/a
enableFsInstrumentation boolean enable FS instrumentation No false
enableDnsInstrumentation boolean enable DNS instrumentation No false

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.

About

This OpenTelemetry wrapper delivers seamless, lightning-fast observability, empowering developers to monitor, debug, and optimise microservices with ease. It auto-configures common instrumentations (HTTP, Express, AWS SDK, etc.) and provides a single entry point for integrating tracing.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •