Skip to content

Repository files navigation

Node.js Baselime OpenTelemetry SDK

Documentation Latest Release License

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

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 MIT License (The MIT License).

See LICENSE for more information.

About

No description, website, or topics provided.

Resources

Code of conduct

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages