Skip to content

Repository files navigation

Node.js Baselime OpenTelemetry SDK

DocumentationLatest ReleaseLicense

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';constsdk=newBaselimeSDK({instrumentations: [getNodeAutoInstrumentations(),],});sdk.start();

Configuration

The BaselimeSDK class takes the following configuration options

FieldTypeDescription
instrumentationsInstrumentationOption[]An array of instrumentation options.
baselimeKeystring (optional)The Baselime key.
collectorUrlstring (optional)The URL of the collector.
servicestring (optional)The service name.
namespacestring (optional)The namespace.

License

© Baselime Limited, 2023

Distributed under Apache 2 License (Apache-2.0).

See LICENSE for more information.

About

Instrument node.js applications with open telemetry

Resources

Stars

39 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages