Skip to content

node-opentelemetry 0.5.7

Install from the command line:
Learn more about npm packages
$ npm install @baselime/node-opentelemetry@0.5.7
Install via package.json:
"@baselime/node-opentelemetry": "0.5.7"

About this version

Node.js Baselime OpenTelemetry SDK

Documentation Latest Release License

Instrument your Node.js applications with OpenTelemetry and send the traces to Baselime.

A baselime trace diagram

Getting Started

Check out the documentation.

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.

License

© Baselime Limited, 2023

Distributed under Apache 2 License (Apache-2.0).

See LICENSE for more information.

Details


Assets

  • node-opentelemetry-0.5.7.tgz

Download activity

  • Total downloads 2
  • Last 30 days 0
  • Last week 0
  • Today 0