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.
- NodeJS
- ...
- Profit!
npm install @saidsef/tracing-node --save
You can set required params via env variables or function:
Env vars:
CONTAINER_NAME
NODE_ENV
HOSTNAME
SERVICE_NAME
NAME_SPACE
SERVICE_VERSION
ENDPOINT
Function args
const { setupTracing } = require('@saidsef/tracing-node');
setupTracing({hostname: 'hostname', serviceName: 'service_name', endpoint: 'endpoint'});
import { setupTracing } from '@saidsef/tracing-node';
setupTracing({hostname: 'hostname', serviceName: 'service_name', endpoint: 'endpoint'});
Name | Type | Description |
---|---|---|
hostname | string | container / pod hostname |
service_name | string | service / application name |
endpoint | string | tracing endpoint i.e. <schema>://<host>:<port> |
Our latest and greatest source of tracing-node
can be found on GitHub. Fork us!
We would ❤️ you to contribute by making a pull request.
Please read the official Contribution Guide for more information on how you can contribute.