New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@baselime/node-opentelemetry

Package Overview
Dependencies
Maintainers
2
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@baselime/node-opentelemetry

Instrument node.js applications with open telemetry

latest
Source
npmnpm
Version
0.5.8
Version published
Weekly downloads
9.2K
-9.92%
Maintainers
2
Weekly downloads
 
Created
Source

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

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.

Keywords

baselime

FAQs

Package last updated on 04 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts