Package Exports
- @baselime/node-opentelemetry
Readme
BaselimeSDK for OpenTelemetry and Node.js
Ship your OpenTelemetry traces to Baselime. It makes getting started with a custom trace configuration and Baselime simpler and works with any Node.js application.

Getting Started
To find out how to configure the BaselimeSDK for container runtimes checkout the baselime docs
Example
import { BaselimeSDK } from '@baselime/node-opentelemetry';
import { getNodeAutoInstrumentations } from '@opentelemetry/auto-instrumentations-node';
const sdk = new BaselimeSDK({
instrumentations: [
getNodeAutoInstrumentations(),
],
});
sdk.start();Configuration
The BaselimeSDK class takes the following configuration options
| Field | Type | Description |
|---|---|---|
| instrumentations | InstrumentationOption[] | An array of instrumentation options. |
| baselimeKey | string (optional) | The Baselime key. |
| collectorUrl | string (optional) | The URL of the collector. |
| service | string (optional) | The service name. |
| namespace | string (optional) | The namespace. |